From: Chunhe Lan <Chunhe.Lan@freescale.com>
To: <linuxppc-dev@lists.ozlabs.org>
Cc: kumar.gala@freescale.com, Chunhe Lan <Chunhe.Lan@freescale.com>
Subject: [PATCH 3/3] powerpc/fsl: Document Pulse Width Modulator controller device tree binding
Date: Tue, 10 Jan 2012 18:26:43 +0800 [thread overview]
Message-ID: <1326191203-11207-3-git-send-email-Chunhe.Lan@freescale.com> (raw)
In-Reply-To: <1326191203-11207-1-git-send-email-Chunhe.Lan@freescale.com>
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 --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>;
+ };
--
1.5.6.5
prev parent reply other threads:[~2012-01-10 10:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 10:26 [PATCH 1/3] powerpc/85xx: Add clock driver for PWM Chunhe Lan
2012-01-10 10:26 ` [PATCH 2/3] driver/misc: Add Pulse Width Modulator (PWM) driver for freescale Chunhe Lan
2012-01-10 10:26 ` Chunhe Lan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1326191203-11207-3-git-send-email-Chunhe.Lan@freescale.com \
--to=chunhe.lan@freescale.com \
--cc=kumar.gala@freescale.com \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox