[PATCH] ARM: dts: imx6q-logicpd: Fix broken PWM

Subsystems: the rest

STALE2211d

2 messages, 2 authors, 2020-08-19 · open the first message on its own page

[PATCH] ARM: dts: imx6q-logicpd: Fix broken PWM

From: Adam Ford <hidden>
Date: 2020-08-19 19:37:00

The DTC doesn't like the default PWM settings, because it's expecting
three cells.  This patch reduces adds the extra entry of 0 to the PWM
reference.

Fixes:  fa28d8212ede ("ARM: dts: imx: default to #pwm-cells = <3> in the SoC dtsi files")

Signed-off-by: Adam Ford <redacted>
diff --git a/arch/arm/boot/dts/imx6q-logicpd.dts b/arch/arm/boot/dts/imx6q-logicpd.dts
index 7a3d1d3e54a9..07819532d48e 100644
--- a/arch/arm/boot/dts/imx6q-logicpd.dts
+++ b/arch/arm/boot/dts/imx6q-logicpd.dts
@@ -13,7 +13,7 @@ / {
 
 	backlight: backlight-lvds {
 		compatible = "pwm-backlight";
-		pwms = <&pwm3 0 20000>;
+		pwms = <&pwm3 0 20000 0>;
 		brightness-levels = <0 4 8 16 32 64 128 255>;
 		default-brightness-level = <6>;
 		power-supply = <&reg_lcd>;
@@ -70,7 +70,7 @@ &clks {
 
 &hdmi {
 	ddc-i2c-bus = <&i2c3>;
-	status = "okay";
+	status = "disabled";
 };
 
 &i2c1 {
-- 
2.25.1

Re: [PATCH] ARM: dts: imx6q-logicpd: Fix broken PWM

From: Fabio Estevam <festevam@gmail.com>
Date: 2020-08-19 19:45:03

Hi Adam,

On Wed, Aug 19, 2020 at 4:36 PM Adam Ford [off-list ref] wrote:
 &hdmi {
        ddc-i2c-bus = <&i2c3>;
-       status = "okay";
+       status = "disabled";
Looks like an unrelated change.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help