[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230221122414.24874-1-henning.schild@siemens.com>
Date: Tue, 21 Feb 2023 13:24:11 +0100
From: Henning Schild <henning.schild@...mens.com>
To: Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>,
Hans de Goede <hdegoede@...hat.com>,
Mark Gross <markgross@...nel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
<linux-kernel@...r.kernel.org>, <linux-leds@...r.kernel.org>,
<platform-driver-x86@...r.kernel.org>
CC: Henning Schild <henning.schild@...mens.com>
Subject: [PATCH 0/3] leds: simatic-ipc-leds-gpio: split up
This series mainly splits the one GPIO driver into two. The split allows
to clearly model runtime and compile time dependencies on the GPIO chip
drivers.
p1 is kind of not too related to that split but also prepares for more
GPIO based drivers to come.
p2 takes the driver we had and puts most of its content into a header,
to be included by two drivers.
p3 deals with more fine-grained configuration posibilities and compile
time dependencies.
It is based on
[PATCH v4] leds: simatic-ipc-leds-gpio: make sure we have the GPIO providing driver
Henning Schild (3):
leds: simatic-ipc-leds-gpio: move two extra gpio pins into another
table
leds: simatic-ipc-leds-gpio: split up into multiple drivers
leds: simatic-ipc-leds-gpio: introduce more Kconfig switches
drivers/leds/simple/Kconfig | 31 ++++++++-
drivers/leds/simple/Makefile | 5 +-
.../simple/simatic-ipc-leds-gpio-apollolake.c | 34 ++++++++++
.../simple/simatic-ipc-leds-gpio-f7188x.c | 34 ++++++++++
...pc-leds-gpio.c => simatic-ipc-leds-gpio.h} | 67 ++++++-------------
drivers/platform/x86/simatic-ipc.c | 7 +-
6 files changed, 123 insertions(+), 55 deletions(-)
create mode 100644 drivers/leds/simple/simatic-ipc-leds-gpio-apollolake.c
create mode 100644 drivers/leds/simple/simatic-ipc-leds-gpio-f7188x.c
rename drivers/leds/simple/{simatic-ipc-leds-gpio.c => simatic-ipc-leds-gpio.h} (51%)
--
2.39.2
Powered by blists - more mailing lists