1# SPDX-License-Identifier: GPL-2.0-only
2config HMS_ANYBUSS_BUS
3	tristate "HMS Anybus-S Bus Support"
4	select REGMAP
5	depends on OF && FIELDBUS_DEV
6	help
7	  Driver for the HMS Industrial Networks Anybus-S bus.
8	  You can attach a single Anybus-S compatible card to it, which
9	  typically provides fieldbus and industrial ethernet
10	  functionality.
11
12if HMS_ANYBUSS_BUS
13
14config ARCX_ANYBUS_CONTROLLER
15	tristate "Arcx Anybus-S Controller"
16	depends on OF && GPIOLIB && HAS_IOMEM && REGULATOR
17	select REGMAP_MMIO
18	help
19	  Select this to get support for the Arcx Anybus controller.
20	  It connects to the SoC via a parallel memory bus, and
21	  embeds up to two Anybus-S buses (slots).
22	  There is also a CAN power readout, unrelated to the Anybus,
23	  modelled as a regulator.
24
25config HMS_PROFINET
26	tristate "HMS Profinet IRT Controller (Anybus-S)"
27	depends on FIELDBUS_DEV && HMS_ANYBUSS_BUS
28	help
29	  If you say yes here you get support for the HMS Industrial
30	  Networks Profinet IRT Controller.
31
32	  It will be registered with the kernel as a fieldbus_dev,
33	  so userspace can interact with it via the fieldbus_dev userspace
34	  interface(s).
35
36	  This driver can also be built as a module. If so, the module
37	  will be called hms-profinet.
38
39	  If unsure, say N.
40
41endif
42