[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230719153518.13073-1-henning.schild@siemens.com>
Date: Wed, 19 Jul 2023 17:35:15 +0200
From: Henning Schild <henning.schild@...mens.com>
To: Lee Jones <lee@...nel.org>, Hans de Goede <hdegoede@...hat.com>,
"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>
CC: Pavel Machek <pavel@....cz>, Mark Gross <markgross@...nel.org>,
"Andy Shevchenko" <andriy.shevchenko@...ux.intel.com>,
Tobias Schaffner <tobias.schaffner@...mens.com>,
Henning Schild <henning.schild@...mens.com>
Subject: [PATCH v2 0/3] platform/x86: move simatic drivers into subdir
change since v1:
- switch LED/wdt Kconfig to "default y"
- remove guard which could hide whole siemens submenu, and default m
This series does two things. It builds up a Kconfig inheritance chain
for all platform device drivers, namely Watchdog and LED. And then it
puts all Siemens Simatic IPC drivers in the platform/x86/ directory in
a subdirectory called "siemens".
That is so that users have to flip less config switches, and to ease
maintenance.
Henning Schild (3):
watchdog: make Siemens Simatic watchdog driver default on platform
leds: simatic-ipc-leds: default config switch to platform switch
platform/x86: Move all simatic ipc drivers to the subdirectory siemens
drivers/leds/simple/Kconfig | 1 +
drivers/platform/x86/Kconfig | 59 +----------------
drivers/platform/x86/Makefile | 6 +-
drivers/platform/x86/siemens/Kconfig | 63 +++++++++++++++++++
drivers/platform/x86/siemens/Makefile | 11 ++++
.../simatic-ipc-batt-apollolake.c | 0
.../simatic-ipc-batt-elkhartlake.c | 0
.../{ => siemens}/simatic-ipc-batt-f7188x.c | 0
.../x86/{ => siemens}/simatic-ipc-batt.c | 0
.../x86/{ => siemens}/simatic-ipc-batt.h | 0
.../platform/x86/{ => siemens}/simatic-ipc.c | 0
drivers/watchdog/Kconfig | 1 +
12 files changed, 78 insertions(+), 63 deletions(-)
create mode 100644 drivers/platform/x86/siemens/Kconfig
create mode 100644 drivers/platform/x86/siemens/Makefile
rename drivers/platform/x86/{ => siemens}/simatic-ipc-batt-apollolake.c (100%)
rename drivers/platform/x86/{ => siemens}/simatic-ipc-batt-elkhartlake.c (100%)
rename drivers/platform/x86/{ => siemens}/simatic-ipc-batt-f7188x.c (100%)
rename drivers/platform/x86/{ => siemens}/simatic-ipc-batt.c (100%)
rename drivers/platform/x86/{ => siemens}/simatic-ipc-batt.h (100%)
rename drivers/platform/x86/{ => siemens}/simatic-ipc.c (100%)
--
2.41.0
Powered by blists - more mailing lists