diff mbox series

[2/3] dt-bindings: pwm: pwm-at91: Add PWM bindings for A5D2

Message ID 20210920232846.25954-3-dan.sneddon@microchip.com
State Accepted
Commit 2d2273fa1effea235669a36efbd7beddb8017f67
Delegated to: Eugen Hristev
Headers show
Series Add SAMA5D2 PWM Support | expand

Commit Message

Dan Sneddon Sept. 20, 2021, 11:28 p.m. UTC
Document the bindings needed for the PWM device on the SAMA5D2.

Signed-off-by: Dan Sneddon <dan.sneddon@microchip.com>
---
 doc/device-tree-bindings/pwm/pwm-at91.txt | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 doc/device-tree-bindings/pwm/pwm-at91.txt
diff mbox series

Patch

diff --git a/doc/device-tree-bindings/pwm/pwm-at91.txt b/doc/device-tree-bindings/pwm/pwm-at91.txt
new file mode 100644
index 0000000000..a03da404f5
--- /dev/null
+++ b/doc/device-tree-bindings/pwm/pwm-at91.txt
@@ -0,0 +1,16 @@ 
+Microchip AT91 PWM controller for SAMA5D2
+
+Required properties:
+  - compatible: Should be "atmel,sama5d2-pwm"
+  - reg: Physical base address and length of the controller's registers.
+  - clocks: Should contain a clock identifier for the PWM's parent clock.
+  - #pwm-cells: Should be 3.
+
+Example:
+
+pwm0: pwm@f802c000 {
+	compatible = "atmel,sama5d2-pwm";
+	reg = <0xf802c000 0x4000>;
+	clocks = <&pwm_clk>;
+	#pwm-cells = <3>;
+};