bd7c8d15ad
Patch header for 0027 was not formatted correctly. Fix that and re-generate all other patches while we are at it. [ci:skip-build] Already built successfuly on CI in MR
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 574ac772586ff0cfa2f7757f83c34b2a82f23262 Mon Sep 17 00:00:00 2001
|
|
From: Anton Bambura <jenneron@protonmail.com>
|
|
Date: Fri, 31 Dec 2021 11:20:23 +0200
|
|
Subject: [PATCH 14/33] ARM: dts: exynos: snow: use num-interpolated-steps for
|
|
backlight
|
|
|
|
Use num-interpolated-steps in backlight node to get more
|
|
brightness levels.
|
|
|
|
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
|
---
|
|
arch/arm/boot/dts/exynos5250-snow-common.dtsi | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
|
index ceaa5b258c3f..e3eac74f0572 100644
|
|
--- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
|
+++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi
|
|
@@ -201,8 +201,9 @@ xxti {
|
|
backlight: backlight {
|
|
compatible = "pwm-backlight";
|
|
pwms = <&pwm 0 1000000 0>;
|
|
- brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
|
|
- default-brightness-level = <7>;
|
|
+ brightness-levels = <1 255>;
|
|
+ num-interpolated-steps = <254>;
|
|
+ default-brightness-level = <254>;
|
|
enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
|
|
power-supply = <&fet1>;
|
|
pinctrl-0 = <&pwm0_out>;
|
|
--
|
|
2.38.0
|
|
|