OSDN Git Service

ARM: dts: imx6qdl: disable PWMs by default
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 9 Mar 2015 16:40:36 +0000 (17:40 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 30 Mar 2015 08:43:34 +0000 (16:43 +0800)
Since PWMs are only useful if they are actually connected to an output pin,
let users enable them explicitly in their device trees where they should
also set up the pin configuration.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6qdl.dtsi

index 82dd005..f74a8de 100644 (file)
                                clocks = <&clks IMX6QDL_CLK_IPG>,
                                         <&clks IMX6QDL_CLK_PWM1>;
                                clock-names = "ipg", "per";
+                               status = "disabled";
                        };
 
                        pwm2: pwm@02084000 {
                                clocks = <&clks IMX6QDL_CLK_IPG>,
                                         <&clks IMX6QDL_CLK_PWM2>;
                                clock-names = "ipg", "per";
+                               status = "disabled";
                        };
 
                        pwm3: pwm@02088000 {
                                clocks = <&clks IMX6QDL_CLK_IPG>,
                                         <&clks IMX6QDL_CLK_PWM3>;
                                clock-names = "ipg", "per";
+                               status = "disabled";
                        };
 
                        pwm4: pwm@0208c000 {
                                clocks = <&clks IMX6QDL_CLK_IPG>,
                                         <&clks IMX6QDL_CLK_PWM4>;
                                clock-names = "ipg", "per";
+                               status = "disabled";
                        };
 
                        can1: flexcan@02090000 {