013-ARM-msm-add-watchdog-entries-to-DT-timer-binding-doc.patch 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. From e535f01dffb6dd9e09934fa219be52af3437a8f6 Mon Sep 17 00:00:00 2001
  2. From: Mathieu Olivari <mathieu@codeaurora.org>
  3. Date: Thu, 19 Feb 2015 20:36:27 -0800
  4. Subject: [PATCH 3/3] ARM: msm: add watchdog entries to DT timer binding doc
  5. The watchdog has been reworked to use the same DT node as the timer.
  6. This change is updating the device tree doc accordingly.
  7. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
  8. ---
  9. Documentation/devicetree/bindings/arm/msm/timer.txt | 16 +++++++++++++---
  10. 1 file changed, 13 insertions(+), 3 deletions(-)
  11. --- a/Documentation/devicetree/bindings/arm/msm/timer.txt
  12. +++ b/Documentation/devicetree/bindings/arm/msm/timer.txt
  13. @@ -9,11 +9,17 @@ Properties:
  14. "qcom,scss-timer" - scorpion subsystem
  15. - interrupts : Interrupts for the the debug timer, the first general purpose
  16. - timer, and optionally a second general purpose timer in that
  17. - order.
  18. + timer, and optionally a second general purpose timer, and
  19. + optionally as well, 2 watchdog interrupts, in that order.
  20. - reg : Specifies the base address of the timer registers.
  21. +- clocks: Reference to the parent clocks, one per output clock. The parents
  22. + must appear in the same order as the clock names.
  23. +
  24. +- clock-names: The name of the clocks as free-form strings. They should be in
  25. + the same order as the clocks.
  26. +
  27. - clock-frequency : The frequency of the debug timer and the general purpose
  28. timer(s) in Hz in that order.
  29. @@ -29,9 +35,13 @@ Example:
  30. compatible = "qcom,scss-timer", "qcom,msm-timer";
  31. interrupts = <1 1 0x301>,
  32. <1 2 0x301>,
  33. - <1 3 0x301>;
  34. + <1 3 0x301>,
  35. + <1 4 0x301>,
  36. + <1 5 0x301>;
  37. reg = <0x0200a000 0x100>;
  38. clock-frequency = <19200000>,
  39. <32768>;
  40. + clocks = <&sleep_clk>;
  41. + clock-names = "sleep";
  42. cpu-offset = <0x40000>;
  43. };