summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-08-19 18:06:13 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2019-08-19 20:05:48 +0200
commitad44961f8b3cf5ce342d234c7eca05d89369c26b (patch)
tree5c0b858702d82ee83475979b12842f945cfcb231 /arch
parent121eda3716a70758ec97fa68d65aac5c611a671c (diff)
ARM: dts: tegra124-apalis: unify display backlight settingsApalis-TK1_Console-Image_3.0b2.65-20190830
All displays sold by Toradex have now a common typical frequency for dimming backlight. This commit sets that frequency to 150Hz and put some better brightness values. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-v1.2-displays.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-v1.2-displays.dtsi b/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-v1.2-displays.dtsi
index 7c0b13363183..54c116833fde 100644
--- a/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-v1.2-displays.dtsi
+++ b/arch/arm/boot/dts/tegra124-platforms/tegra124-apalis-v1.2-displays.dtsi
@@ -217,10 +217,10 @@
bl: backlight {
compatible = "pwm-backlight";
- pwms = <&tegra_pwm 3 5000000>; /* PWM freq. 200Hz */
+ pwms = <&tegra_pwm 3 6666667>; /* PWM freq. 150Hz */
- brightness-levels = <0 4 8 16 32 64 128 255>;
- default-brightness-level = <6>;
+ brightness-levels = <255 210 192 167 136 97 52 0>;
+ default-brightness-level = <4>;
enable-gpios = <&gpio TEGRA_GPIO(BB, 5) 0>;
power-supply = <&reg_3v3_mxm>;