mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
watchdog: s3c2410: Add support for device tree based probe
This patch adds the of_match_table to enable s3c2410-wdt driver to be probed when watchdog device node is found in the device tree. Signed-off-by: Thomas Abraham <[email protected]> Acked-by: Grant Likely <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
641e4f4495
commit
9487a9cc71
2 changed files with 21 additions and 0 deletions
11
Documentation/devicetree/bindings/watchdog/samsung-wdt.txt
Normal file
11
Documentation/devicetree/bindings/watchdog/samsung-wdt.txt
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
* Samsung's Watchdog Timer Controller
|
||||
|
||||
The Samsung's Watchdog controller is used for resuming system operation
|
||||
after a preset amount of time during which the WDT reset event has not
|
||||
occured.
|
||||
|
||||
Required properties:
|
||||
- compatible : should be "samsung,s3c2410-wdt"
|
||||
- reg : base physical address of the controller and length of memory mapped
|
||||
region.
|
||||
- interrupts : interrupt number to the cpu.
|
||||
Loading…
Reference in a new issue