path: root/Documentation/devicetree/bindings/pwm
diff options
authorPhilipp Zabel <p.zabel@pengutronix.de>2012-06-25 16:16:25 +0200
committerThierry Reding <thierry.reding@avionic-design.de>2012-09-12 14:25:06 +0200
commit479e2e301c626cc64fb27b6b1938655eaba8b036 (patch)
treefe3e4627c75af747f10c3460f79820522adbf557 /Documentation/devicetree/bindings/pwm
parent208d038f4792b5ca0dc76deebbc0ae13b4f1a744 (diff)
pwm: i.MX: add devicetree support
At the same time remove platform based support. No user for this driver has made it into mainline so far, so all we break is out of tree stuff. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'Documentation/devicetree/bindings/pwm')
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pwm/imx-pwm.txt b/Documentation/devicetree/bindings/pwm/imx-pwm.txt
new file mode 100644
index 000000000000..9b9b18514b61
--- /dev/null
+++ b/Documentation/devicetree/bindings/pwm/imx-pwm.txt
@@ -0,0 +1,17 @@
+Freescale i.MX PWM controller
+Required properties:
+- compatible: should be "fsl,<soc>-pwm"
+- reg: physical base address and length of the controller's registers
+- #pwm-cells: should be 2. The first cell specifies the per-chip index
+ of the PWM to use and the second cell is the duty cycle in nanoseconds.
+- interrupts: The interrupt for the pwm controller
+pwm1: pwm@53fb4000 {
+ #pwm-cells = <2>;
+ compatible = "fsl,imx53-pwm", "fsl,imx27-pwm";
+ reg = <0x53fb4000 0x4000>;
+ interrupts = <61>;

Privacy Policy