2014-11-14 21:29:26

by Julien CHAUVEAU

[permalink] [raw]
Subject: [PATCH] ARM: dts: rockchip: enable PWM on Radxa Rock

This enables user space access to the 3 PWM available on the Radxa Rock headers.

Signed-off-by: Julien CHAUVEAU <[email protected]>
---
arch/arm/boot/dts/rk3188-radxarock.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index 0950a05..6eb62c0 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -243,6 +243,18 @@
disable-wp;
};

+&pwm1 {
+ status = "okay";
+};
+
+&pwm2 {
+ status = "okay";
+};
+
+&pwm3 {
+ status = "okay";
+};
+
&pinctrl {
pcfg_output_low: pcfg-output-low {
output-low;
--
2.1.0


2014-11-15 20:38:41

by Heiko Stübner

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: rockchip: enable PWM on Radxa Rock

Am Freitag, 14. November 2014, 16:32:25 schrieb Julien CHAUVEAU:
> This enables user space access to the 3 PWM available on the Radxa Rock
> headers.
>
> Signed-off-by: Julien CHAUVEAU <[email protected]>

added to my v3.19-armsoc/dts branch