Merge branch 'torvalds/master'
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / pwm / cirrus,clps711x-pwm.txt
diff --git a/Documentation/devicetree/bindings/pwm/cirrus,clps711x-pwm.txt b/Documentation/devicetree/bindings/pwm/cirrus,clps711x-pwm.txt
new file mode 100644 (file)
index 0000000..a183db4
--- /dev/null
@@ -0,0 +1,16 @@
+* Cirris Logic CLPS711X PWM controller
+
+Required properties:
+- compatible: Shall contain "cirrus,clps711x-pwm".
+- reg: Physical base address and length of the controller's registers.
+- clocks: phandle + clock specifier pair of the PWM reference clock.
+- #pwm-cells: Should be 1. The cell specifies the index of the channel.
+
+Example:
+       pwm: pwm@80000400 {
+               compatible = "cirrus,ep7312-pwm",
+                            "cirrus,clps711x-pwm";
+               reg = <0x80000400 0x4>;
+               clocks = <&clks 8>;
+               #pwm-cells = <1>;
+       };