Thread (1 message) 1 message, 1 author, 2013-12-03

[PATCHv2 2/3] ARM: dts: apf27dev: Add pwm support

From: Gwenhael Goavec-Merou <hidden>
Date: 2013-12-03 07:50:51
Also in: linux-devicetree
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Gwenhael Goavec-Merou <redacted>
---
Changelog:
v2:
 * rename subject: pwm0 -> pwm

 arch/arm/boot/dts/imx27-apf27dev.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts
index 0010b3e..6069331 100644
--- a/arch/arm/boot/dts/imx27-apf27dev.dts
+++ b/arch/arm/boot/dts/imx27-apf27dev.dts
@@ -125,6 +125,10 @@
 		pinctrl_sdhc2: sdhc2grp {
 			fsl,pins = <MX27_SDHC2_PINGRP1>;
 		};
+
+		pinctrl_pwm0: pwm0grp {
+			fsl,pins = <MX27_PWM_PINGRP1>;
+		};
 	};
 };
 
@@ -135,3 +139,8 @@
 	pinctrl-0 = <&pinctrl_sdhc2>;
 	status = "okay";
 };
+
+&pwm {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pwm0>;
+};
-- 
1.8.3.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help