2022-10-10 17:27:10 +00:00
|
|
|
From 43cc207f0a691c0e6eb992c555a369b001c07b99 Mon Sep 17 00:00:00 2001
|
2022-03-15 18:45:46 +00:00
|
|
|
From: Anton Bambura <jenneron@protonmail.com>
|
|
|
|
Date: Mon, 14 Mar 2022 21:46:55 +0200
|
2022-10-10 17:27:10 +00:00
|
|
|
Subject: [PATCH 16/33] ARM: dts: exynos: peach-pi: use num-interpolated-steps
|
2022-03-15 18:45:46 +00:00
|
|
|
for backlight
|
|
|
|
|
|
|
|
Use num-interpolated-steps in backlight node to get more
|
|
|
|
brightness levels.
|
|
|
|
|
|
|
|
Signed-off-by: Anton Bambura <jenneron@protonmail.com>
|
|
|
|
Tested-by: Valentine Iourine <iourine@iourine.msk.su>
|
|
|
|
---
|
|
|
|
arch/arm/boot/dts/exynos5800-peach-pi.dts | 5 +++--
|
|
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts
|
2022-10-10 17:27:10 +00:00
|
|
|
index 6a143ad3b69f..7c21ac377ed4 100644
|
2022-03-15 18:45:46 +00:00
|
|
|
--- a/arch/arm/boot/dts/exynos5800-peach-pi.dts
|
|
|
|
+++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts
|
|
|
|
@@ -38,8 +38,9 @@ aliases {
|
|
|
|
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 = <&gpx2 2 GPIO_ACTIVE_HIGH>;
|
|
|
|
power-supply = <&tps65090_fet1>;
|
|
|
|
pinctrl-0 = <&pwm0_out>;
|
|
|
|
--
|
2022-10-10 17:27:10 +00:00
|
|
|
2.38.0
|
2022-03-15 18:45:46 +00:00
|
|
|
|