Signed-off-by: Icenowy Zheng <redacted>
---
Documentation/devicetree/bindings/pwm/pwm-sun6i.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-sun6i.txt
diff --git a/Documentation/devicetree/bindings/pwm/pwm-sun6i.txt b/Documentation/devicetree/bindings/pwm/pwm-sun6i.txt
new file mode 100644
index 0000000..829e0fb
--- /dev/null
+++ b/Documentation/devicetree/bindings/pwm/pwm-sun6i.txt
@@ -0,0 +1,19 @@
+Allwinner sun6i SoC PWM controller
+
+Required properties:
+ - compatible: should be one of:
+ - "allwinner,sun6i-a31-pwm"
+ - reg: physical base address and length of the controller's registers
+ - #pwm-cells: should be 3. See pwm.txt in this directory for a description of
+ the cells format.
+ - clocks: From common clock binding, handle to the parent clock.
+
+Example:
+
+ pwm0: pwm@01c21400 {
+ compatible = "allwinner,sun6i-a31-pwm";
+ reg = <0x01c21400 0x8>;
+ clocks = <&osc24M>;
+ #pwm-cells = <3>;
+ status = "disabled";
+ };--
2.10.1