[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220513083652.974-1-henning.schild@siemens.com>
Date: Fri, 13 May 2022 10:36:48 +0200
From: Henning Schild <henning.schild@...mens.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
CC: Mark Gross <markgross@...nel.org>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
<linux-kernel@...r.kernel.org>, <linux-leds@...r.kernel.org>,
<platform-driver-x86@...r.kernel.org>,
<linux-watchdog@...r.kernel.org>, Enrico Weigelt <lkml@...ux.net>,
Gerd Haeussler <gerd.haeussler.ext@...mens.com>,
Henning Schild <henning.schild@...mens.com>
Subject: [PATCH v3 0/4] simatic-ipc additions to p2sb apl lake gpio
changed since v2:
- put GPIO led module under same config switch
- some style changes from review
- init gpios with gpiod_get_index and drop gpiod_set_value
- drop bogus "if" from watchdog Kconfig
changed since v1:
- rebased
- split p1 into p1-3
This switches the simatic-ipc modules to using the upcoming p2sb
interface introduced by Andy with
"platform/x86: introduce p2sb_bar() helper".
The series relies on these p2sb changes already applied and Andy will
likely take them into his series at some point.
It also switches to one apollo lake device to using gpio leds.
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 | 6 +-
drivers/leds/simple/Makefile | 1 +
drivers/leds/simple/simatic-ipc-leds-gpio.c | 105 ++++++++++++++++++
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, 126 insertions(+), 127 deletions(-)
create mode 100644 drivers/leds/simple/simatic-ipc-leds-gpio.c
--
2.35.1
Powered by blists - more mailing lists