diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2016-08-12 12:17:01 +0530 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2016-09-23 22:04:09 +0200 |
commit | 9d6b4efc16b3e8e7414fcd6aab8fec42756ba920 (patch) | |
tree | 4bcc9c44e60d9802fd8c21ba831cf09c4e0e9530 /Documentation/devicetree | |
parent | d2a0015174213cc518b2b83d234c09f548f8ac32 (diff) | |
download | linux-stable-9d6b4efc16b3e8e7414fcd6aab8fec42756ba920.tar.gz linux-stable-9d6b4efc16b3e8e7414fcd6aab8fec42756ba920.tar.bz2 linux-stable-9d6b4efc16b3e8e7414fcd6aab8fec42756ba920.zip |
watchdog: xilinx: Add clock support
Add support for the clock. Currently we enable
at probe and relinquish at remove.
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt b/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt index 6d63782a7378..c6ae9c9d5e3e 100644 --- a/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt +++ b/Documentation/devicetree/bindings/watchdog/of-xilinx-wdt.txt @@ -7,6 +7,8 @@ Required properties: - reg : Physical base address and size Optional properties: +- clocks : Input clock specifier. Refer to common clock + bindings. - clock-frequency : Frequency of clock in Hz - xlnx,wdt-enable-once : 0 - Watchdog can be restarted 1 - Watchdog can be enabled just once @@ -17,6 +19,7 @@ Example: axi-timebase-wdt@40100000 { clock-frequency = <50000000>; compatible = "xlnx,xps-timebase-wdt-1.00.a"; + clocks = <&clkc 15>; reg = <0x40100000 0x10000>; xlnx,wdt-enable-once = <0x0>; xlnx,wdt-interval = <0x1b>; |