mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
20ea6adbf1
Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 8be4bcd743bb37336f83979fe0834ad601446a13 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Mon, 21 Mar 2022 18:27:45 +0000
|
|
Subject: [PATCH] dtoverlays: Connect the backlight to the pitft35
|
|
display
|
|
|
|
DRM will automatically handle the backlight with the display if
|
|
told about the linking, so link the two together.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/pitft35-resistive-overlay.dts
|
|
@@ -102,7 +102,7 @@
|
|
fragment@5 {
|
|
target-path = "/soc";
|
|
__overlay__ {
|
|
- backlight {
|
|
+ backlight: backlight {
|
|
compatible = "gpio-backlight";
|
|
gpios = <&stmpe_gpio 2 0>;
|
|
default-on;
|
|
@@ -115,6 +115,7 @@
|
|
rotate = <&pitft>,"rotate:0";
|
|
fps = <&pitft>,"fps:0";
|
|
debug = <&pitft>,"debug:0";
|
|
- drm = <&pitft>,"compatible=adafruit,yx350hv15";
|
|
+ drm = <&pitft>,"compatible=adafruit,yx350hv15",
|
|
+ <&pitft>,"backlight:0=",<&backlight>;
|
|
};
|
|
};
|