From: naidu.tellapati@gmail.com
To: thierry.reding@gmail.com, abrestic@chromium.org,
gregkh@linuxfoundation.org, arnd@arndb.de,
James.Hartley@imgtec.com, Ezequiel.Garcia@imgtec.com
Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org,
Arul.Ramasamy@imgtec.com, Sai.Masarapu@imgtec.com,
Naidu Tellapati <Naidu.Tellapati@imgtec.com>
Subject: [PATCH RESEND v4 2/4] DT: pwm: Add binding document for IMG PWM DAC
Date: Sat, 22 Nov 2014 07:23:30 +0530 [thread overview]
Message-ID: <1416621212-11701-3-git-send-email-Naidu.Tellapati@gmail.com> (raw)
In-Reply-To: <1416621212-11701-1-git-send-email-Naidu.Tellapati@gmail.com>
From: Naidu Tellapati <Naidu.Tellapati@imgtec.com>
Add binding document for IMG Pulse Width Modulator (PWM) DAC present on the
Pistachio SOC. The PWM DAC has four channels.
Signed-off-by: Naidu Tellapati <Naidu.Tellapati@imgtec.com>
Signed-off-by: Sai Masarapu <Sai.Masarapu@imgtec.com>
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
---
No changes from v3.
---
Documentation/devicetree/bindings/pwm/img-pwm.txt | 23 +++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pwm/img-pwm.txt
diff --git a/Documentation/devicetree/bindings/pwm/img-pwm.txt b/Documentation/devicetree/bindings/pwm/img-pwm.txt
new file mode 100644
index 0000000..d3828dd
--- /dev/null
+++ b/Documentation/devicetree/bindings/pwm/img-pwm.txt
@@ -0,0 +1,23 @@
+*Imagination Technologies PWM DAC driver
+
+Required properties:
+ - compatible: Should be "img,pistachio-pwm"
+ - reg: Should contain physical base address and length of pwm registers.
+ - clocks: Must contain an entry for each entry in clock-names.
+ See ../clock/clock-bindings.txt for details.
+ - clock-names: input clock names.
+ Required elements: "pwm" and "sys".
+ - #pwm-cells: Should be 2. See pwm.txt in this directory for the
+ description of the cells format.
+ - img,cr-periph: Must contain a phandle to the peripheral control
+ syscon node which contains PWM control registers.
+
+Example:
+ pwm: pwm@18101300 {
+ compatible = "img,pistachio-pwm";
+ reg = <0x18101300 0x100>;
+ clocks = <&pwm_clk>, <&system_clk>;
+ clock-names = "pwm", "sys";
+ #pwm-cells = <2>;
+ img,cr-periph = <&cr_periph>;
+ };
--
1.7.0.4
next prev parent reply other threads:[~2014-11-22 1:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-22 1:53 [PATCH RESEND v4 0/4] Initial support for ImgTec PWM DAC and PDM DAC naidu.tellapati
2014-11-22 1:53 ` [PATCH RESEND v4 1/4] pwm: Imagination Technologies PWM DAC driver naidu.tellapati
2014-11-24 10:13 ` Thierry Reding
2014-11-24 11:22 ` Naidu Tellapati
2014-11-24 12:28 ` Thierry Reding
2014-11-24 14:19 ` Naidu Tellapati
2014-11-24 18:19 ` Andrew Bresticker
2014-11-24 19:09 ` James Hartley
2014-11-27 16:03 ` Naidu Tellapati
2014-11-24 17:47 ` Andrew Bresticker
2014-11-22 1:53 ` naidu.tellapati [this message]
2014-11-24 10:14 ` [PATCH RESEND v4 2/4] DT: pwm: Add binding document for IMG PWM DAC Thierry Reding
2014-11-24 11:26 ` Naidu Tellapati
2014-11-22 1:53 ` [PATCH RESEND v4 3/4] pdm: Imagination Technologies PDM DAC driver naidu.tellapati
2014-11-22 1:53 ` [PATCH RESEND v4 4/4] DT: pdm: Add binding document for IMG PDM DAC naidu.tellapati
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=1416621212-11701-3-git-send-email-Naidu.Tellapati@gmail.com \
--to=naidu.tellapati@gmail.com \
--cc=Arul.Ramasamy@imgtec.com \
--cc=Ezequiel.Garcia@imgtec.com \
--cc=James.Hartley@imgtec.com \
--cc=Naidu.Tellapati@imgtec.com \
--cc=Sai.Masarapu@imgtec.com \
--cc=abrestic@chromium.org \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-pwm@vger.kernel.org \
--cc=thierry.reding@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).