diff mbox

[3/3] powerpc/fsl: Document Pulse Width Modulator controller device tree binding

Message ID 1326191203-11207-3-git-send-email-Chunhe.Lan@freescale.com (mailing list archive)
State Not Applicable
Delegated to: Kumar Gala
Headers show

Commit Message

Chunhe Lan Jan. 10, 2012, 10:26 a.m. UTC
This document is created for freescale PWM node in dts file. In addition,
it explicates the properties and gives example about PWM node.

Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
---
 .../devicetree/bindings/powerpc/fsl/pwm.txt        |   27 ++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/powerpc/fsl/pwm.txt
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/powerpc/fsl/pwm.txt b/Documentation/devicetree/bindings/powerpc/fsl/pwm.txt
new file mode 100644
index 0000000..92d68e9
--- /dev/null
+++ b/Documentation/devicetree/bindings/powerpc/fsl/pwm.txt
@@ -0,0 +1,27 @@ 
+=====================================================================
+Freescale Pulse Width Modulator Controller Node
+Copyright (C) 2012 Freescale Semiconductor Inc.
+=====================================================================
+
+Properties:
+
+- name : Should be pwm.
+- compatible : Should contain "fsl,psc9131-pwm".
+- cell-index : The cell index is the pwm controller serial number,
+	       <0> = PWM1, <1> = PWM2, and so on.
+- #address-cells : Should be one.
+- #size-cells : Should be zero.
+- reg : Offset and length of the register set for the device.
+- interrupts : <interrupt mapping for PWM IRQ>
+
+Example:
+
+		pwm@13000 {
+			cell-index = <1>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "fsl,psc9131-pwm";
+			reg = <0x13000 0x1000>;
+			interrupts = <44 2 0 0>;
+			interrupt-parent = <&mpic>;
+		};