On Fri, Oct 11, 2019 at 06:27:52PM +0200, Ahmad Fatoum wrote:
> This is an adaptation of the Linux v5.3 f71808e_wdt driver for the watchdog
> component of the Fintek Super I/O chips.
> 
> Signed-off-by: Ahmad Fatoum <[email protected]>
> ---
>  drivers/watchdog/Kconfig       |  10 +
>  drivers/watchdog/Makefile      |   1 +
>  drivers/watchdog/f71808e_wdt.c | 379 +++++++++++++++++++++++++++++++++
>  3 files changed, 390 insertions(+)
>  create mode 100644 drivers/watchdog/f71808e_wdt.c
> 
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index fbaab896d460..b1c2a39b6629 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -90,10 +90,20 @@ config STM32_IWDG_WATCHDOG
>         Enable to support configuration of the STM32's on-SoC IWDG watchdog.
>         Once started by the user, the IWDG can't be disabled.
>  
> +

Please drop this hunk.

>  config STPMIC1_WATCHDOG
>       bool "STPMIC1 Watchdog"
>       depends on MFD_STPMIC1
>       help
>         Enable to support configuration of the stpmic1's built-in watchdog.
>  
> +config F71808E_WDT
> +     bool "Fintek F718xx, F818xx Super I/O Watchdog"
> +     depends on X86
> +     select FINTEK_SUPERIO

I prefer a "depends on" here.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to