aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2018-12-16 13:32:17 +0200
committerSimon Horman <[email protected]>2019-01-07 13:22:47 +0100
commita06ad4385f180b476ceca811a60ba00f3f65c12e (patch)
tree277e395411314eaba841dcc520d9668cd7fef079
parent9d16c4a10e072e6dd5ec526cd45b37ee7dca06c3 (diff)
arm64: dts: renesas: r8a77995: draak: Set better backlight levels
The backlight levels provided in the Draak DT produce a perceived brightness very biased towards high brightness. Use better brightness levels based on the CIE 1931 formula. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Ulrich Hecht <[email protected]> Signed-off-by: Simon Horman <[email protected]>
-rw-r--r--arch/arm64/boot/dts/renesas/r8a77995-draak.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
index 89df9bc844c0..db2bed1751b8 100644
--- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
@@ -28,8 +28,8 @@
compatible = "pwm-backlight";
pwms = <&pwm1 0 50000>;
- brightness-levels = <256 128 64 16 8 4 0>;
- default-brightness-level = <6>;
+ brightness-levels = <512 511 505 494 473 440 392 327 241 133 0>;
+ default-brightness-level = <10>;
power-supply = <&reg_12p0v>;
enable-gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;