Henning Schild
7e6d86e99a
leds: simatic-ipc-leds-gpio: Add Elkhart Lake version
...
This is used for the Siemens Simatic IPC BX-21A, which has its LEDs
connected to GPIOs provided by the Intel Elkhart Lake pinctrl driver.
Signed-off-by: Henning Schild <henning.schild@siemens.com >
Link: https://lore.kernel.org/r/20230713115639.16419-3-henning.schild@siemens.com
Signed-off-by: Lee Jones <lee@kernel.org >
2023-07-28 09:57:53 +01:00
Henning Schild
b29ac0a518
leds: simatic-ipc-leds-gpio: Introduce more Kconfig switches
...
To describe the dependency chain better and allow for potential
fine-grained config tuning, introduce Kconfig switch for the individual
GPIO based drivers.
Signed-off-by: Henning Schild <henning.schild@siemens.com >
Acked-by: Hans de Goede <hdegoede@redhat.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20230524124628.32295-5-henning.schild@siemens.com
2023-06-08 18:29:47 +01:00
Henning Schild
2f5d6fe37b
leds: simatic-ipc-leds-gpio: Split up into multiple drivers
...
In order to clearly describe the dependencies between the GPIO
controller drivers and the users the driver is split up into a core,
two drivers and a common header.
Signed-off-by: Henning Schild <henning.schild@siemens.com >
Acked-by: Hans de Goede <hdegoede@redhat.com >
Signed-off-by: Lee Jones <lee@kernel.org >
Link: https://lore.kernel.org/r/20230524124628.32295-4-henning.schild@siemens.com
2023-06-08 18:29:44 +01:00
Henning Schild
a6c80bec3c
leds: simatic-ipc-leds-gpio: Add GPIO version of Siemens driver
...
On Apollo Lake the pinctrl drivers will now come up without ACPI. Use
that instead of open coding it.
Create a new driver for that which can later be filled with more GPIO
based models, and which has different dependencies.
Signed-off-by: Henning Schild <henning.schild@siemens.com >
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Signed-off-by: Lee Jones <lee@kernel.org >
2022-07-14 10:50:43 +01:00
Henning Schild
8c78e0614e
leds: simatic-ipc-leds: add new driver for Siemens Industial PCs
...
This driver adds initial support for several devices from Siemens. It is
based on a platform driver introduced in an earlier commit.
One of the supported machines has GPIO connected LEDs, here we poke GPIO
memory directly because pinctrl does not come up.
Signed-off-by: Henning Schild <henning.schild@siemens.com >
Acked-by: Pavel Machek <pavel@ucw.cz >
Link: https://lore.kernel.org/r/20211213120502.20661-3-henning.schild@siemens.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com >
2021-12-23 18:09:13 +01:00