Thread (1 message) 1 message, 1 author, 2014-05-06

RE: [PATCH] ARM: dts: Add pwmX_out pinctrl nodes to Exynos5420

From: Kukjin Kim <hidden>
Date: 2014-05-06 00:29:04
Also in: linux-samsung-soc

Tomasz Figa wrote:
Hi,
Hi,
On 02.05.2014 17:44, Doug Anderson wrote:
quoted
Arun,

On Fri, May 2, 2014 at 5:48 AM, Arun Kumar K [off-list ref] wrote:
quoted
Adds the PWM nodes to 5420 pinctrl dtsi file.

Signed-off-by: Arun Kumar K <redacted>
---
  arch/arm/boot/dts/exynos5420-pinctrl.dtsi |   28
++++++++++++++++++++++++++++
quoted
quoted
  1 file changed, 28 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
quoted
quoted
index e62c8eb..ba686e4 100644
--- a/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos5420-pinctrl.dtsi
@@ -624,6 +624,34 @@
                         samsung,pin-drv = <0>;
                 };

+               pwm0_out: pwm0-out {
+                       samsung,pins = "gpb2-0";
+                       samsung,pin-function = <2>;
+                       samsung,pin-pud = <0>;
+                       samsung,pin-drv = <0>;
+               };
+
+               pwm1_out: pwm1-out {
+                       samsung,pins = "gpb2-1";
+                       samsung,pin-function = <2>;
+                       samsung,pin-pud = <0>;
+                       samsung,pin-drv = <0>;
+               };
+
+               pwm2_out: pwm2-out {
+                       samsung,pins = "gpb2-2";
+                       samsung,pin-function = <2>;
+                       samsung,pin-pud = <0>;
+                       samsung,pin-drv = <0>;
+               };
+
+               pwm3_out: pwm3-out {
+                       samsung,pins = "gpb2-3";
+                       samsung,pin-function = <2>;
+                       samsung,pin-pud = <0>;
+                       samsung,pin-drv = <0>;
+               };
+
                 i2c7_hs_bus: i2c7-hs-bus {
                         samsung,pins = "gpb2-2", "gpb2-3";
                         samsung,pin-function = <3>;
Possibly pwm3-out belongs below this one (since the start pin is
"larger" than the start pin of i2c7-hs-bus).  Tomasz probably has a
definite opinion on this.
Well, I'm not opposed to keeping it as is. Having all the pwm nodes
together might be even more readable.
+1 ;-)
So feel free to add my Reviewed-by tag.
Thanks for you two guys' review.

Applied, thanks.

- Kukjin

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help