summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2020-08-19 21:59:44 +0200
committerShawn Guo <shawnguo@kernel.org>2020-08-23 04:18:41 +0200
commitc5e46066b23dbbb4228fbdc3de66a27ddc8b8a36 (patch)
treee03083fb5b203b5874f2fe38e3b1601d646b2b48 /arch
parentarm64: dts: imx: Add missing imx8mm-beacon-kit.dtb to build (diff)
downloadlinux-c5e46066b23dbbb4228fbdc3de66a27ddc8b8a36.tar.xz
linux-c5e46066b23dbbb4228fbdc3de66a27ddc8b8a36.zip
ARM: dts: imx6q-logicpd: Fix broken PWM
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") Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Adam Ford <aford173@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/imx6q-logicpd.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6q-logicpd.dts b/arch/arm/boot/dts/imx6q-logicpd.dts
index 7a3d1d3e54a9..8f94364ba484 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>;