mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
drivers: watchdog: Add StarFive Watchdog driver
Add watchdog driver for the StarFive JH7100 and JH7110 SoC. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20230314132437.121534-3-xingyu.wu@starfivetech.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
committed by
Wim Van Sebroeck
parent
b24e265d6f
commit
db728ea9c7
@@ -19951,6 +19951,13 @@ S: Supported
|
|||||||
F: Documentation/devicetree/bindings/rng/starfive*
|
F: Documentation/devicetree/bindings/rng/starfive*
|
||||||
F: drivers/char/hw_random/jh7110-trng.c
|
F: drivers/char/hw_random/jh7110-trng.c
|
||||||
|
|
||||||
|
STARFIVE WATCHDOG DRIVER
|
||||||
|
M: Xingyu Wu <xingyu.wu@starfivetech.com>
|
||||||
|
M: Samin Guo <samin.guo@starfivetech.com>
|
||||||
|
S: Supported
|
||||||
|
F: Documentation/devicetree/bindings/watchdog/starfive*
|
||||||
|
F: drivers/watchdog/starfive-wdt.c
|
||||||
|
|
||||||
STATIC BRANCH/CALL
|
STATIC BRANCH/CALL
|
||||||
M: Peter Zijlstra <peterz@infradead.org>
|
M: Peter Zijlstra <peterz@infradead.org>
|
||||||
M: Josh Poimboeuf <jpoimboe@kernel.org>
|
M: Josh Poimboeuf <jpoimboe@kernel.org>
|
||||||
|
|||||||
@@ -1999,6 +1999,17 @@ config WATCHDOG_RTAS
|
|||||||
To compile this driver as a module, choose M here. The module
|
To compile this driver as a module, choose M here. The module
|
||||||
will be called wdrtas.
|
will be called wdrtas.
|
||||||
|
|
||||||
|
# RISC-V Architecture
|
||||||
|
|
||||||
|
config STARFIVE_WATCHDOG
|
||||||
|
tristate "StarFive Watchdog support"
|
||||||
|
depends on ARCH_STARFIVE || COMPILE_TEST
|
||||||
|
select WATCHDOG_CORE
|
||||||
|
default ARCH_STARFIVE
|
||||||
|
help
|
||||||
|
Say Y here to support the watchdog of StarFive JH7100 and JH7110
|
||||||
|
SoC. This driver can also be built as a module if choose M.
|
||||||
|
|
||||||
# S390 Architecture
|
# S390 Architecture
|
||||||
|
|
||||||
config DIAG288_WATCHDOG
|
config DIAG288_WATCHDOG
|
||||||
|
|||||||
@@ -192,6 +192,9 @@ obj-$(CONFIG_MEN_A21_WDT) += mena21_wdt.o
|
|||||||
obj-$(CONFIG_PSERIES_WDT) += pseries-wdt.o
|
obj-$(CONFIG_PSERIES_WDT) += pseries-wdt.o
|
||||||
obj-$(CONFIG_WATCHDOG_RTAS) += wdrtas.o
|
obj-$(CONFIG_WATCHDOG_RTAS) += wdrtas.o
|
||||||
|
|
||||||
|
# RISC-V Architecture
|
||||||
|
obj-$(CONFIG_STARFIVE_WATCHDOG) += starfive-wdt.o
|
||||||
|
|
||||||
# S390 Architecture
|
# S390 Architecture
|
||||||
obj-$(CONFIG_DIAG288_WATCHDOG) += diag288_wdt.o
|
obj-$(CONFIG_DIAG288_WATCHDOG) += diag288_wdt.o
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user