112-dt-bindings-clock-Add-BCM63268-timer-binding.patch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. From c17702bad18a085ae913752b45bcc20c2cea879e Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <[email protected]>
  3. Date: Thu, 25 Feb 2021 19:53:08 +0100
  4. Subject: [PATCH 3/4] dt-bindings: clock: Add BCM63268 timer binding
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Document the Broadcom BCM63268 Clock and Reset controller.
  9. Signed-off-by: Álvaro Fernández Rojas <[email protected]>
  10. ---
  11. .../clock/brcm,bcm63268-timer-clocks.yaml | 40 +++++++++++++++++++
  12. 1 file changed, 40 insertions(+)
  13. create mode 100644 Documentation/devicetree/bindings/clock/brcm,bcm63268-timer-clocks.yaml
  14. --- /dev/null
  15. +++ b/Documentation/devicetree/bindings/clock/brcm,bcm63268-timer-clocks.yaml
  16. @@ -0,0 +1,40 @@
  17. +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  18. +%YAML 1.2
  19. +---
  20. +$id: http://devicetree.org/schemas/clock/brcm,bcm63268-timer-clocks.yaml#
  21. +$schema: http://devicetree.org/meta-schemas/core.yaml#
  22. +
  23. +title: Broadcom BCM63268 Timer Clock and Reset Device Tree Bindings
  24. +
  25. +maintainers:
  26. + - Álvaro Fernández Rojas <[email protected]>
  27. +
  28. +properties:
  29. + compatible:
  30. + const: brcm,bcm63268-timer-clocks
  31. +
  32. + reg:
  33. + maxItems: 1
  34. +
  35. + "#clock-cells":
  36. + const: 1
  37. +
  38. + "#reset-cells":
  39. + const: 1
  40. +
  41. +required:
  42. + - compatible
  43. + - reg
  44. + - "#clock-cells"
  45. + - "#reset-cells"
  46. +
  47. +additionalProperties: false
  48. +
  49. +examples:
  50. + - |
  51. + timer_clk: clock-controller@100000ac {
  52. + compatible = "brcm,bcm63268-timer-clocks";
  53. + reg = <0x100000ac 0x4>;
  54. + #clock-cells = <1>;
  55. + #reset-cells = <1>;
  56. + };