diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2019-08-19 14:24:50 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-02-12 11:06:02 +0100 |
commit | c8b9a4cb5035c454f93b0a5f35540d03443b8343 (patch) | |
tree | 7df4f4d5c5b1ee6c96bacdf6653a2ba299548aac /arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts | |
parent | 7dc5d66b65105d1a873d3c9e04fa44938455f53c (diff) |
ARM: dts: (apalis|colibri): unify backlight settings
This commit unifys the backlight settings. All displays sold by Toradex
are now supporting 150Hz as a PWM backlight typical frequency.
Use this value for all SoM's and put also some better default values
for different brightness.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts b/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts index 70789ec1768c..8fb7627f036a 100644 --- a/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts +++ b/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts @@ -176,17 +176,10 @@ }; &backlight { -#if 0 /* PWM polarity: if 1 is brightest */ - pwms = <&pwm4 0 5000000 0>; -#if 0 /* Fusion 7 needs 10kHz PWM frequency */ - pwms = <&pwm4 0 100000 0>; -#endif -#else /* PWM polarity: if 0 is brightest */ - pwms = <&pwm4 0 5000000 1>; -#endif - brightness-levels = <0 127 191 223 239 247 251 255>; - default-brightness-level = <1>; + brightness-levels = <0 45 63 88 119 158 203 255>; + default-brightness-level = <4>; power-supply = <®_3v3_sw>; + pwms = <&pwm4 0 6666667 PWM_POLARITY_INVERTED>; status = "okay"; }; |