Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/dts Make brightness-levels available in increme...



details:   https://anonhg.NetBSD.org/src/rev/f3bdef651129
branches:  trunk
changeset: 324531:f3bdef651129
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Jul 09 10:07:42 2018 +0000

description:
Make brightness-levels available in increments of 10% from 0 to 100, and set the default brightness level to match the one used by U-Boot (30%)

diffstat:

 sys/arch/arm/dts/sun50i-a64-pinebook.dts |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r e4185d036ba5 -r f3bdef651129 sys/arch/arm/dts/sun50i-a64-pinebook.dts
--- a/sys/arch/arm/dts/sun50i-a64-pinebook.dts  Mon Jul 09 09:58:15 2018 +0000
+++ b/sys/arch/arm/dts/sun50i-a64-pinebook.dts  Mon Jul 09 10:07:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun50i-a64-pinebook.dts,v 1.11 2018/05/11 00:00:17 jmcneill Exp $ */
+/* $NetBSD: sun50i-a64-pinebook.dts,v 1.12 2018/07/09 10:07:42 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -67,8 +67,8 @@
        backlight: backlight {
                compatible = "pwm-backlight";
                pwms = <&pwm 0 50000 0>;
-               brightness-levels = <0 30 40 50 60 70 80 90 100>;
-               default-brightness-level = <6>;
+               brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
+               default-brightness-level = <3>;
                enable-gpios = <&pio 3 23 GPIO_ACTIVE_HIGH>;    /* PD23 */
        };
 



Home | Main Index | Thread Index | Old Index