mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 05:26:07 +00:00
platform/x86: Move all simatic ipc drivers to the subdirectory siemens
With more files around move everything to a subdirectory. Users will only see the several options once they enable the main one. Suggested-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Henning Schild <henning.schild@siemens.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230719153518.13073-4-henning.schild@siemens.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
3ad3ab31ae
commit
9bc289b812
@ -1074,64 +1074,7 @@ config INTEL_SCU_IPC_UTIL
|
||||
low level access for debug work and updating the firmware. Say
|
||||
N unless you will be doing this on an Intel MID platform.
|
||||
|
||||
config SIEMENS_SIMATIC_IPC
|
||||
tristate "Siemens Simatic IPC Class driver"
|
||||
help
|
||||
This Simatic IPC class driver is the central of several drivers. It
|
||||
is mainly used for system identification, after which drivers in other
|
||||
classes will take care of driving specifics of those machines.
|
||||
i.e. LEDs and watchdog.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called simatic-ipc.
|
||||
|
||||
config SIEMENS_SIMATIC_IPC_BATT
|
||||
tristate "CMOS battery driver for Siemens Simatic IPCs"
|
||||
depends on HWMON
|
||||
depends on SIEMENS_SIMATIC_IPC
|
||||
default SIEMENS_SIMATIC_IPC
|
||||
help
|
||||
This option enables support for monitoring the voltage of the CMOS
|
||||
batteries of several Industrial PCs from Siemens.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called simatic-ipc-batt.
|
||||
|
||||
config SIEMENS_SIMATIC_IPC_BATT_APOLLOLAKE
|
||||
tristate "CMOS Battery monitoring for Simatic IPCs based on Apollo Lake GPIO"
|
||||
depends on PINCTRL_BROXTON
|
||||
depends on SIEMENS_SIMATIC_IPC_BATT
|
||||
default SIEMENS_SIMATIC_IPC_BATT
|
||||
help
|
||||
This option enables CMOS battery monitoring for Simatic Industrial PCs
|
||||
from Siemens based on Apollo Lake GPIO.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called simatic-ipc-batt-apollolake.
|
||||
|
||||
config SIEMENS_SIMATIC_IPC_BATT_ELKHARTLAKE
|
||||
tristate "CMOS Battery monitoring for Simatic IPCs based on Elkhart Lake GPIO"
|
||||
depends on PINCTRL_ELKHARTLAKE
|
||||
depends on SIEMENS_SIMATIC_IPC_BATT
|
||||
default SIEMENS_SIMATIC_IPC_BATT
|
||||
help
|
||||
This option enables CMOS battery monitoring for Simatic Industrial PCs
|
||||
from Siemens based on Elkhart Lake GPIO.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called simatic-ipc-batt-elkhartlake.
|
||||
|
||||
config SIEMENS_SIMATIC_IPC_BATT_F7188X
|
||||
tristate "CMOS Battery monitoring for Simatic IPCs based on Nuvoton GPIO"
|
||||
depends on GPIO_F7188X
|
||||
depends on SIEMENS_SIMATIC_IPC_BATT
|
||||
default SIEMENS_SIMATIC_IPC_BATT
|
||||
help
|
||||
This option enables CMOS battery monitoring for Simatic Industrial PCs
|
||||
from Siemens based on Nuvoton GPIO.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called simatic-ipc-batt-elkhartlake.
|
||||
source "drivers/platform/x86/siemens/Kconfig"
|
||||
|
||||
config WINMATE_FM07_KEYS
|
||||
tristate "Winmate FM07/FM07P front-panel keys driver"
|
||||
|
@ -131,11 +131,7 @@ obj-$(CONFIG_INTEL_SCU_IPC_UTIL) += intel_scu_ipcutil.o
|
||||
obj-$(CONFIG_X86_INTEL_LPSS) += pmc_atom.o
|
||||
|
||||
# Siemens Simatic Industrial PCs
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC) += simatic-ipc.o
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT) += simatic-ipc-batt.o
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_APOLLOLAKE) += simatic-ipc-batt-apollolake.o
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_ELKHARTLAKE) += simatic-ipc-batt-elkhartlake.o
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_F7188X) += simatic-ipc-batt-f7188x.o
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC) += siemens/
|
||||
|
||||
# Winmate
|
||||
obj-$(CONFIG_WINMATE_FM07_KEYS) += winmate-fm07-keys.o
|
||||
|
63
drivers/platform/x86/siemens/Kconfig
Normal file
63
drivers/platform/x86/siemens/Kconfig
Normal file
@ -0,0 +1,63 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#
|
||||
# Siemens X86 Platform Specific Drivers
|
||||
#
|
||||
|
||||
config SIEMENS_SIMATIC_IPC
|
||||
tristate "Siemens Simatic IPC Class driver"
|
||||
help
|
||||
This Simatic IPC class driver is the central of several drivers. It
|
||||
is mainly used for system identification, after which drivers in other
|
||||
classes will take care of driving specifics of those machines.
|
||||
i.e. LEDs and watchdog.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called simatic-ipc.
|
||||
|
||||
config SIEMENS_SIMATIC_IPC_BATT
|
||||
tristate "CMOS battery driver for Siemens Simatic IPCs"
|
||||
default SIEMENS_SIMATIC_IPC
|
||||
depends on HWMON
|
||||
depends on SIEMENS_SIMATIC_IPC
|
||||
help
|
||||
This option enables support for monitoring the voltage of the CMOS
|
||||
batteries of several Industrial PCs from Siemens.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called simatic-ipc-batt.
|
||||
|
||||
config SIEMENS_SIMATIC_IPC_BATT_APOLLOLAKE
|
||||
tristate "CMOS Battery monitoring for Simatic IPCs based on Apollo Lake GPIO"
|
||||
default SIEMENS_SIMATIC_IPC_BATT
|
||||
depends on PINCTRL_BROXTON
|
||||
depends on SIEMENS_SIMATIC_IPC_BATT
|
||||
help
|
||||
This option enables CMOS battery monitoring for Simatic Industrial PCs
|
||||
from Siemens based on Apollo Lake GPIO.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called simatic-ipc-batt-apollolake.
|
||||
|
||||
config SIEMENS_SIMATIC_IPC_BATT_ELKHARTLAKE
|
||||
tristate "CMOS Battery monitoring for Simatic IPCs based on Elkhart Lake GPIO"
|
||||
default SIEMENS_SIMATIC_IPC_BATT
|
||||
depends on PINCTRL_ELKHARTLAKE
|
||||
depends on SIEMENS_SIMATIC_IPC_BATT
|
||||
help
|
||||
This option enables CMOS battery monitoring for Simatic Industrial PCs
|
||||
from Siemens based on Elkhart Lake GPIO.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called simatic-ipc-batt-elkhartlake.
|
||||
|
||||
config SIEMENS_SIMATIC_IPC_BATT_F7188X
|
||||
tristate "CMOS Battery monitoring for Simatic IPCs based on Nuvoton GPIO"
|
||||
default SIEMENS_SIMATIC_IPC_BATT
|
||||
depends on GPIO_F7188X
|
||||
depends on SIEMENS_SIMATIC_IPC_BATT
|
||||
help
|
||||
This option enables CMOS battery monitoring for Simatic Industrial PCs
|
||||
from Siemens based on Nuvoton GPIO.
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called simatic-ipc-batt-elkhartlake.
|
11
drivers/platform/x86/siemens/Makefile
Normal file
11
drivers/platform/x86/siemens/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
#
|
||||
# Makefile for linux/drivers/platform/x86/siemens
|
||||
# Siemens x86 Platform-Specific Drivers
|
||||
#
|
||||
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC) += simatic-ipc.o
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT) += simatic-ipc-batt.o
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_APOLLOLAKE) += simatic-ipc-batt-apollolake.o
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_ELKHARTLAKE) += simatic-ipc-batt-elkhartlake.o
|
||||
obj-$(CONFIG_SIEMENS_SIMATIC_IPC_BATT_F7188X) += simatic-ipc-batt-f7188x.o
|
Loading…
x
Reference in New Issue
Block a user