ARM: dts: imx6sl-tolino-shine2hd: Add backlight boost
authorAndreas Kemnade <andreas@kemnade.info>
Wed, 19 Oct 2022 06:51:59 +0000 (08:51 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 29 Oct 2022 04:07:32 +0000 (12:07 +0800)
Vendor system has a separate checkbox for increasing brightness of the
backlight combined with a big warning that power consumption will
greatly increase. With that checkbox enabled there is a greater range in
which backlight brightness can be adjusted
Add a switch to achieve the same, since the backlight is actually LED,
this seems to be the most appopiate place to add it. Nothing fits
perfectly.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts

index ea0ce59aa4f1323301ea4e6e2bb6566a32f1de38..da1399057634a040321139407b0e3afecbddd149 100644 (file)
                        gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "timer";
                };
+
+               led-1 {
+                       label = "tolinoshine2hd:white:backlightboost";
+                       gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
+                       linux,default-trigger = "off";
+               };
        };
 
        memory@80000000 {
 
        pinctrl_led: ledgrp {
                fsl,pins = <
-                       MX6SL_PAD_SD1_DAT2__GPIO5_IO13 0x17059
+                       MX6SL_PAD_SD1_DAT2__GPIO5_IO13    0x17059
+                       MX6SL_PAD_EPDC_SDCE2__GPIO1_IO29  0x17059
                >;
        };