[PATCH v2 0/4] simatic-ipc additions to p2sb apl lake gpio

Henning Schild
2022-05-11T15:39:26Z

changed since v1:
- rebased
- split p1 into p1-3

This switches the simatic-ipc modules to using the p2sb interface
introduced by Andy with "platform/x86: introduce p2sb_bar() helper".

It also switches to one apollo lake device to using gpio leds.

I am kind of hoping Andy will take this on top and propose it in his
series.

Henning Schild (4):
leds: simatic-ipc-leds: convert to use P2SB accessor
watchdog: simatic-ipc-wdt: convert to use P2SB accessor
platform/x86: simatic-ipc: drop custom P2SB bar code
leds: simatic-ipc-leds-gpio: add GPIO version of Siemens driver

drivers/leds/simple/Kconfig | 11 ++
drivers/leds/simple/Makefile | 3 +-
drivers/leds/simple/simatic-ipc-leds-gpio.c | 108 ++++++++++++++++++
drivers/leds/simple/simatic-ipc-leds.c | 80 +------------
drivers/platform/x86/simatic-ipc.c | 43 +------
drivers/watchdog/Kconfig | 1 +
drivers/watchdog/simatic-ipc-wdt.c | 15 +--
.../platform_data/x86/simatic-ipc-base.h | 2 -
8 files changed, 138 insertions(+), 125 deletions(-)
create mode 100644 drivers/leds/simple/simatic-ipc-leds-gpio.c

--
2.35.1