summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6dl-prtvt7.dts
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2021-05-18 10:28:44 +0200
committerShawn Guo <shawnguo@kernel.org>2021-06-08 19:48:55 +0800
commit76c32fc24f7d68d0dbcfd02607f20779127c4222 (patch)
tree38e0768ec3d8f7569d5260c2e8eded5cea61c95d /arch/arm/boot/dts/imx6dl-prtvt7.dts
parent40610b8134888685708e135edcdbc1601afdd0cf (diff)
downloadlinux-next-76c32fc24f7d68d0dbcfd02607f20779127c4222.tar.gz
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>
Diffstat (limited to 'arch/arm/boot/dts/imx6dl-prtvt7.dts')
-rw-r--r--arch/arm/boot/dts/imx6dl-prtvt7.dts3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts
index a8e72c7699cd..d22ded6fc48b 100644
--- a/arch/arm/boot/dts/imx6dl-prtvt7.dts
+++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts
@@ -21,7 +21,7 @@
backlight_lcd: backlight-lcd {
compatible = "pwm-backlight";
- pwms = <&pwm1 0 500000>;
+ pwms = <&pwm1 0 500000 0>;
brightness-levels = <0 20 81 248 1000>;
default-brightness-level = <20>;
num-interpolated-steps = <21>;
@@ -273,7 +273,6 @@
};
&pwm1 {
- #pwm-cells = <2>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm1>;
status = "okay";