Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node.

At some point PWM cell count was changed, but it didn't triggered any
error, since this DT was overwriting "#pwm-cells".
To make sure, we are in sync with the kernel driver, remove this
property and fix the pwm consumer.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Oleksij Rempel and committed by
Shawn Guo
76c32fc2 40610b81

+1 -2
+1 -2
arch/arm/boot/dts/imx6dl-prtvt7.dts
··· 21 21 22 22 backlight_lcd: backlight-lcd { 23 23 compatible = "pwm-backlight"; 24 - pwms = <&pwm1 0 500000>; 24 + pwms = <&pwm1 0 500000 0>; 25 25 brightness-levels = <0 20 81 248 1000>; 26 26 default-brightness-level = <20>; 27 27 num-interpolated-steps = <21>; ··· 273 273 }; 274 274 275 275 &pwm1 { 276 - #pwm-cells = <2>; 277 276 pinctrl-names = "default"; 278 277 pinctrl-0 = <&pinctrl_pwm1>; 279 278 status = "okay";