aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-08-29 00:30:34 +0200
committerLinus Walleij <linus.walleij@linaro.org>2020-08-30 12:08:40 +0200
commit7f6d6e484b9341fd13ec8da42982ca8d2ca54cde (patch)
tree6ce4adc62b5768a17bc8a8f48c450290264560f8 /arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
parentARM: dts: ux500-golden: Add S6E63M0 DSI display (diff)
downloadwireguard-linux-7f6d6e484b9341fd13ec8da42982ca8d2ca54cde.tar.xz
wireguard-linux-7f6d6e484b9341fd13ec8da42982ca8d2ca54cde.zip
ARM: dts: ux500-skomer: Add KTD253 backlight
This enables the KTD253 backlight found on the Samsung GT-S7710 "Skomer". Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20200828223034.40983-1-linus.walleij@linaro.org
Diffstat (limited to 'arch/arm/boot/dts/ste-ux500-samsung-skomer.dts')
-rw-r--r--arch/arm/boot/dts/ste-ux500-samsung-skomer.dts15
1 files changed, 6 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts b/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
index d6f6ac04a48a..27722c42b61c 100644
--- a/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
+++ b/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
@@ -108,15 +108,12 @@
};
};
- /*
- * FIXME: this is not quite GPIO backlight. This is a
- * KTD253 one-wire GPIO-controlled backlight. It can
- * work as a GPIO backlight.
- */
- gpio_bl: backlight {
- compatible = "gpio-backlight";
+ ktd253: backlight {
+ compatible = "kinetic,ktd253";
/* GPIO 69 */
- gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
+ enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
+ /* Default to 13/32 brightness */
+ default-brightness = <13>;
pinctrl-names = "default";
pinctrl-0 = <&gpio_backlight_default_mode>;
};
@@ -409,7 +406,7 @@
reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&display_default_mode>;
- backlight = <&gpio_bl>;
+ backlight = <&ktd253>;
};
};
};