From 4b6e8fad3eec74cb735a1f3ae9321f90b2ff49de Mon Sep 17 00:00:00 2001 From: Evoke Zhang Date: Tue, 4 Dec 2018 10:08:48 +0800 Subject: [PATCH] arm: dts: x301: fix backlight pwm config mistake [1/1] PD#SWPL-2799 Problem: can't power off backlight when disable lcd Solution: correct backlight pwm config Verify: x301 Change-Id: I6b869aa14c5b93e8f1a3b39c92629d5c2df3ab0d Signed-off-by: Evoke Zhang --- arch/arm/boot/dts/amlogic/mesontl1_x301-panel.dtsi | 2 +- arch/arm/boot/dts/amlogic/tl1_t962x2_x301.dts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/amlogic/mesontl1_x301-panel.dtsi b/arch/arm/boot/dts/amlogic/mesontl1_x301-panel.dtsi index 0832e10..8dcf72e 100644 --- a/arch/arm/boot/dts/amlogic/mesontl1_x301-panel.dtsi +++ b/arch/arm/boot/dts/amlogic/mesontl1_x301-panel.dtsi @@ -642,7 +642,7 @@ 410 110>; /*on_delay(ms), off_delay(ms)*/ bl_pwm_combo_level_mapping = <255 10 /*pwm_0 range*/ 0 0>; /*pwm_1 range*/ - bl_pwm_combo_port = "PWM_B","PWM_C"; + bl_pwm_combo_port = "PWM_C","PWM_D"; bl_pwm_combo_attr = <1 /*pwm0 method*/ 180 /*pwm0 freq(pwm:Hz, pwm_vs:multiple of vs)*/ 100 25 /*pwm0 duty_max(%), duty_min(%)*/ diff --git a/arch/arm/boot/dts/amlogic/tl1_t962x2_x301.dts b/arch/arm/boot/dts/amlogic/tl1_t962x2_x301.dts index b3fdfab..0c21948 100644 --- a/arch/arm/boot/dts/amlogic/tl1_t962x2_x301.dts +++ b/arch/arm/boot/dts/amlogic/tl1_t962x2_x301.dts @@ -1743,6 +1743,10 @@ status = "okay"; }; +&pwm_cd { + status = "okay"; +}; + &efuse { status = "okay"; }; -- 2.7.4