MLK-14238-02 Doc: bingding: pwm: Add binging doc for tpm-pwm module
authorBai Ping <ping.bai@nxp.com>
Tue, 21 Mar 2017 03:16:18 +0000 (11:16 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:48 +0000 (15:21 -0500)
Add binding doc for tpm pwm module.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
Documentation/devicetree/bindings/pwm/nxp,tpm-pwm.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/pwm/nxp,tpm-pwm.txt b/Documentation/devicetree/bindings/pwm/nxp,tpm-pwm.txt
new file mode 100644 (file)
index 0000000..ac445a7
--- /dev/null
@@ -0,0 +1,18 @@
+NXP TPM PWM controller
+
+Required properties:
+- compatible: should be "nxp,tpm-pwm"
+- reg: physical base address and length of the controller's registers
+- #pwm-cells: should be 2. See pwm.txt in this directory for a description of
+  the cells format.
+- nxp,pwm-number: the number of PWM devices
+
+Example:
+
+pwm0: tpm@40250000 {
+       compatible = "nxp,tpm-pwm";
+       reg = <0x40250000 0x1000>;
+       nxp,pwm-number = <6>;
+       #pwm-cells = <2>;
+};
+