pwm: Add Berlin PWM controller DT binding
authorAntoine Ténart <antoine.tenart@free-electrons.com>
Fri, 2 Oct 2015 14:59:46 +0000 (16:59 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 5 Oct 2015 13:07:31 +0000 (15:07 +0200)
Add DT binding documentation for the Berlin PWM controller.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Documentation/devicetree/bindings/pwm/pwm-berlin.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/pwm/pwm-berlin.txt b/Documentation/devicetree/bindings/pwm/pwm-berlin.txt
new file mode 100644 (file)
index 0000000..82cbe16
--- /dev/null
@@ -0,0 +1,17 @@
+Berlin PWM controller
+
+Required properties:
+- compatible: should be "marvell,berlin-pwm"
+- reg: physical base address and length of the controller's registers
+- clocks: phandle to the input clock
+- #pwm-cells: should be 3. See pwm.txt in this directory for a description of
+  the cells format.
+
+Example:
+
+pwm: pwm@f7f20000 {
+       compatible = "marvell,berlin-pwm";
+       reg = <0xf7f20000 0x40>;
+       clocks = <&chip_clk CLKID_CFG>;
+       #pwm-cells = <3>;
+}