diff mbox series

watchdog: s3c2410: describe driver in KConfig

Message ID 20210924132930.111443-1-krzysztof.kozlowski@canonical.com (mailing list archive)
State Not Applicable
Headers show
Series watchdog: s3c2410: describe driver in KConfig | expand

Commit Message

Krzysztof Kozlowski Sept. 24, 2021, 1:29 p.m. UTC
Describe better which driver applies to which SoC, to make configuring
kernel for Samsung SoC easier.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 drivers/watchdog/Kconfig | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Comments

Guenter Roeck Sept. 26, 2021, 12:13 p.m. UTC | #1
On Fri, Sep 24, 2021 at 03:29:30PM +0200, Krzysztof Kozlowski wrote:
> Describe better which driver applies to which SoC, to make configuring
> kernel for Samsung SoC easier.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>  drivers/watchdog/Kconfig | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index b81fe4f7d434..75591ba261e2 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -496,16 +496,18 @@ config S3C2410_WATCHDOG
>  	select WATCHDOG_CORE
>  	select MFD_SYSCON if ARCH_EXYNOS
>  	help
> -	  Watchdog timer block in the Samsung SoCs. This will reboot
> -	  the system when the timer expires with the watchdog enabled.
> +	  Watchdog timer block in the Samsung S3C24xx, S3C64xx, S5Pv210 and
> +	  Exynos SoCs. This will reboot the system when the timer expires with
> +	  the watchdog enabled.
>  
>  	  The driver is limited by the speed of the system's PCLK
>  	  signal, so with reasonably fast systems (PCLK around 50-66MHz)
>  	  then watchdog intervals of over approximately 20seconds are
>  	  unavailable.
>  
> +	  Choose Y/M here only if you build for such Samsung SoC.
>  	  The driver can be built as a module by choosing M, and will
> -	  be called s3c2410_wdt
> +	  be called s3c2410_wdt.
>  
>  config SA1100_WATCHDOG
>  	tristate "SA1100/PXA2xx watchdog"
> -- 
> 2.30.2
>
diff mbox series

Patch

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index b81fe4f7d434..75591ba261e2 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -496,16 +496,18 @@  config S3C2410_WATCHDOG
 	select WATCHDOG_CORE
 	select MFD_SYSCON if ARCH_EXYNOS
 	help
-	  Watchdog timer block in the Samsung SoCs. This will reboot
-	  the system when the timer expires with the watchdog enabled.
+	  Watchdog timer block in the Samsung S3C24xx, S3C64xx, S5Pv210 and
+	  Exynos SoCs. This will reboot the system when the timer expires with
+	  the watchdog enabled.
 
 	  The driver is limited by the speed of the system's PCLK
 	  signal, so with reasonably fast systems (PCLK around 50-66MHz)
 	  then watchdog intervals of over approximately 20seconds are
 	  unavailable.
 
+	  Choose Y/M here only if you build for such Samsung SoC.
 	  The driver can be built as a module by choosing M, and will
-	  be called s3c2410_wdt
+	  be called s3c2410_wdt.
 
 config SA1100_WATCHDOG
 	tristate "SA1100/PXA2xx watchdog"