1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Siemens X86 Platform Specific Drivers
4#
5
6config SIEMENS_SIMATIC_IPC
7	tristate "Siemens Simatic IPC Class driver"
8	help
9	  This Simatic IPC class driver is the central of several drivers. It
10	  is mainly used for system identification, after which drivers in other
11	  classes will take care of driving specifics of those machines.
12	  i.e. LEDs and watchdog.
13
14	  To compile this driver as a module, choose M here: the module
15	  will be called simatic-ipc.
16
17config SIEMENS_SIMATIC_IPC_BATT
18	tristate "CMOS battery driver for Siemens Simatic IPCs"
19	default SIEMENS_SIMATIC_IPC
20	depends on HWMON
21	depends on SIEMENS_SIMATIC_IPC
22	help
23	  This option enables support for monitoring the voltage of the CMOS
24	  batteries of several Industrial PCs from Siemens.
25
26	  To compile this driver as a module, choose M here: the module
27	  will be called simatic-ipc-batt.
28
29config SIEMENS_SIMATIC_IPC_BATT_APOLLOLAKE
30	tristate "CMOS Battery monitoring for Simatic IPCs based on Apollo Lake GPIO"
31	default SIEMENS_SIMATIC_IPC_BATT
32	depends on PINCTRL_BROXTON
33	depends on SIEMENS_SIMATIC_IPC_BATT
34	help
35	  This option enables CMOS battery monitoring for Simatic Industrial PCs
36	  from Siemens based on Apollo Lake GPIO.
37
38	  To compile this driver as a module, choose M here: the module
39	  will be called simatic-ipc-batt-apollolake.
40
41config SIEMENS_SIMATIC_IPC_BATT_ELKHARTLAKE
42	tristate "CMOS Battery monitoring for Simatic IPCs based on Elkhart Lake GPIO"
43	default SIEMENS_SIMATIC_IPC_BATT
44	depends on PINCTRL_ELKHARTLAKE
45	depends on SIEMENS_SIMATIC_IPC_BATT
46	help
47	  This option enables CMOS battery monitoring for Simatic Industrial PCs
48	  from Siemens based on Elkhart Lake GPIO.
49
50	  To compile this driver as a module, choose M here: the module
51	  will be called simatic-ipc-batt-elkhartlake.
52
53config SIEMENS_SIMATIC_IPC_BATT_F7188X
54	tristate "CMOS Battery monitoring for Simatic IPCs based on Nuvoton GPIO"
55	default SIEMENS_SIMATIC_IPC_BATT
56	depends on GPIO_F7188X
57	depends on PINCTRL_ALDERLAKE
58	depends on SIEMENS_SIMATIC_IPC_BATT
59	help
60	  This option enables CMOS battery monitoring for Simatic Industrial PCs
61	  from Siemens based on Nuvoton GPIO.
62
63	  To compile this driver as a module, choose M here: the module
64	  will be called simatic-ipc-batt-f7188x.
65