summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Ténart <antoine.tenart@free-electrons.com>2015-10-02 17:59:46 +0300
committerThierry Reding <thierry.reding@gmail.com>2015-10-05 16:07:31 +0300
commit67673dce9a9c765f38ba103b11e948488342f230 (patch)
tree2edf771d3c32f61d40792feccbd99cdca243a69b
parenta83a6a82250fe900be85c8e142f5cb504d9482bd (diff)
downloadlinux-67673dce9a9c765f38ba103b11e948488342f230.tar.xz
pwm: Add Berlin PWM controller DT binding
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>
-rw-r--r--Documentation/devicetree/bindings/pwm/pwm-berlin.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/pwm-berlin.txt b/Documentation/devicetree/bindings/pwm/pwm-berlin.txt
new file mode 100644
index 000000000000..82cbe16fcbbc
--- /dev/null
+++ b/Documentation/devicetree/bindings/pwm/pwm-berlin.txt
@@ -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>;
+}