Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1402749
| From | Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH INTERNAL v2 1/3] Documentation: dt: Add Broadcom iproc pwm controller binding |
| Date | 2016-05-18 09:00 +0200 |
| Message-ID | <rA3Cx-6WR-15@gated-at.bofh.it> (permalink) |
| References | <rA3Cx-6WR-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Add a binding for Broadcom iproc pwm controller
Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com>
---
.../devicetree/bindings/pwm/brcm,iproc-pwm.txt | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.txt
diff --git a/Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.txt b/Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.txt
new file mode 100644
index 0000000..21f75bb
--- /dev/null
+++ b/Documentation/devicetree/bindings/pwm/brcm,iproc-pwm.txt
@@ -0,0 +1,21 @@
+Broadcom iProc PWM controller device tree bindings
+
+This controller has 4 channels.
+
+Required Properties :
+- compatible: must be "brcm,iproc-pwm"
+- reg: physical base address and length of the controller's registers
+- clocks: phandle + clock specifier pair for the external clock
+- #pwm-cells: Should be 3. See pwm.txt in this directory for a
+ description of the cells format.
+
+Refer to clocks/clock-bindings.txt for generic clock consumer properties.
+
+Example:
+
+pwm: pwm@18031000 {
+ compatible = "brcm,iproc-pwm";
+ reg = <0x18031000 0x28>;
+ clocks = <&osc>;
+ #pwm-cells = <3>;
+};
--
2.1.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH INTERNAL v2 0/3] pwm support for Broadcom iProc SoC's Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com> - 2016-05-18 09:00 +0200
[PATCH INTERNAL v2 1/3] Documentation: dt: Add Broadcom iproc pwm controller binding Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com> - 2016-05-18 09:00 +0200
Re: [PATCH INTERNAL v2 1/3] Documentation: dt: Add Broadcom iproc pwm controller binding Rob Herring <robh@kernel.org> - 2016-05-19 00:20 +0200
Re: [PATCH INTERNAL v2 1/3] Documentation: dt: Add Broadcom iproc pwm controller binding Scott Branden <scott.branden@broadcom.com> - 2016-05-19 01:10 +0200
[PATCH INTERNAL v2 3/3] ARM: dts: NSP: Add PWM Support to DT Yendapally Reddy Dhananjaya Reddy <yendapally.reddy@broadcom.com> - 2016-05-18 09:00 +0200
csiph-web