Message ID | 20230719153518.13073-1-henning.schild@siemens.com |
---|---|
Headers | show |
Series | platform/x86: move simatic drivers into subdir | expand |
On Wed, Jul 19, 2023 at 05:35:15PM +0200, Henning Schild wrote: > 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. All three good enough, although I prefer the ordering that 'tristate' followed by 'default' without interleaved 'depends on'. I leave it to Hans. Other that that, Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
On 7/19/23 08:35, Henning Schild wrote: > If a user did choose to enable Siemens Simatic platform support they > likely want that driver to be enabled without having to flip more config > switches. So we make the watchdog driver config switch default to the > platform driver switches value. > > Signed-off-by: Henning Schild <henning.schild@siemens.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> > --- > drivers/watchdog/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig > index ee97d89dfc11..04e9b40cf7d5 100644 > --- a/drivers/watchdog/Kconfig > +++ b/drivers/watchdog/Kconfig > @@ -1681,6 +1681,7 @@ config NIC7018_WDT > config SIEMENS_SIMATIC_IPC_WDT > tristate "Siemens Simatic IPC Watchdog" > depends on SIEMENS_SIMATIC_IPC > + default y > select WATCHDOG_CORE > select P2SB > help
Hi, On 7/19/23 18:06, Andy Shevchenko wrote: > On Wed, Jul 19, 2023 at 05:35:15PM +0200, Henning Schild wrote: >> 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. > > All three good enough, although I prefer the ordering that 'tristate' > followed by 'default' without interleaved 'depends on'. I leave it > to Hans. Other that that, > Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Thank you. Lee, Guenter do you want me to take the entire series on top of: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=platform-drivers-x86-simatic-ipc (aka ib-pdx86-simatic-v6.6) And send an updated pull-req ? Or shall I take just 3/3 and will you take the Kconfig changes from 1/3 resp 2/3 directly ? Regards, Hans
On Tue, 25 Jul 2023, Hans de Goede wrote: > Hi, > > On 7/19/23 18:06, Andy Shevchenko wrote: > > On Wed, Jul 19, 2023 at 05:35:15PM +0200, Henning Schild wrote: > >> 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. > > > > All three good enough, although I prefer the ordering that 'tristate' > > followed by 'default' without interleaved 'depends on'. I leave it > > to Hans. Other that that, > > Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > > Thank you. > > Lee, Guenter do you want me to take the entire series on top of: > > https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=platform-drivers-x86-simatic-ipc (aka ib-pdx86-simatic-v6.6) > > And send an updated pull-req ? Please apply - no PR required for me. > Or shall I take just 3/3 and will you take the Kconfig > changes from 1/3 resp 2/3 directly ?