devicetree: watchdog: add binding for Sigma Designs SMP8642 watchdog
Subsystems (2)
PATCH 1/2 devicetree: watchdog: add binding for Sigma Designs SMP8642 watchdog
This adds a binding for the watchdog in Sigma Designs SMP8642 and similar devices.
Signed-off-by Mans Rullgard <[email protected]>
--- .../devicetree/bindings/watchdog/sigma,8642-wdt.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/sigma,8642-wdt.txt
Documentation/devicetree/bindings/watchdog/sigma,8642-wdt.txt new file +14 -0
@@ -0,0 +1,14 @@ +Sigma Designs SMP86xx watchdog + +Required properties: +- compatible: Should be "sigma,smp8642-wdt" +- reg: Specifies the physical address region +- clocks: Should be a phandle to the clock + +Example: + +watchdog@1fd00 { + compatible = "sigma,smp8642-wdt"; + reg = <0x1fd00 8>; + clocks = <&xtal_in_clk>; +};
Signature · 6 lines
2.6.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 2/2 watchdog: add support for Sigma Designs SMP86xx
This adds support for the Sigma Designs SMP86xx family built-in watchdog.
Signed-off-by Mans Rullgard <[email protected]>
--- drivers/watchdog/Kconfig | 7 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/tangox_wdt.c | 185 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 193 insertions(+) create mode 100644 drivers/watchdog/tangox_wdt.c
drivers/watchdog/Kconfig +7 -0
@@ -1337,6 +1337,13 @@ config RALINK_WDT help Hardware driver for the Ralink SoC Watchdog Timer. +config TANGOX_WDT + tristate "SMP86xx watchdog" + select WATCHDOG_CORE + depends on ARCH_TANGOX + help + Watchdog driver for Sigma Designs SMP86xx. + # PARISC Architecture # POWERPC Architecture
drivers/watchdog/Makefile +1 -0
@@ -148,6 +148,7 @@ octeon-wdt-y := octeon-wdt-main.o octeon-wdt-nmi.o obj-$(CONFIG_LANTIQ_WDT) += lantiq_wdt.o obj-$(CONFIG_RALINK_WDT) += rt2880_wdt.o obj-$(CONFIG_IMGPDC_WDT) += imgpdc_wdt.o +obj-$(CONFIG_TANGOX_WDT) += tangox_wdt.o # PARISC Architecture
drivers/watchdog/tangox_wdt.c new file +185 -0
185 lines not on this page · raw message
Signature · 1 line
2.6.2
Quoted 4 lines · Mans Rullgard
This adds a binding for the watchdog in Sigma Designs SMP8642 and similar devices.
Signed-off-by Mans Rullgard <[email protected]>
Acked-by Rob Herring <[email protected]>
Quoted 26 lines
--- .../devicetree/bindings/watchdog/sigma,8642-wdt.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/sigma,8642-wdt.txtDocumentation/devicetree/bindings/watchdog/sigma,8642-wdt.txt new file +14
-1@@ -0,0 +1,14 @@ +Sigma Designs SMP86xx watchdog + +Required properties: +- compatible: Should be "sigma,smp8642-wdt" +- reg: Specifies the physical address region +- clocks: Should be a phandle to the clock + +Example: + +watchdog@1fd00 { + compatible = "sigma,smp8642-wdt"; + reg = <0x1fd00 8>; + clocks = <&xtal_in_clk>; +}; --
Quoted 2 lines
2.6.2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html