You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
freifunkist-firmware/target/linux/brcm2708/patches-4.14/950-0144-add-backlight-cont...

42 lines
1.6 KiB

From 68ad84eea4f5a100756faf1c393b16fbd1468b55 Mon Sep 17 00:00:00 2001
From: Aaron Shaw <shawaj@gmail.com>
Date: Thu, 28 Dec 2017 17:31:52 +0000
Subject: [PATCH 144/454] add backlight control to rpi-display overlay
---
arch/arm/boot/dts/overlays/README | 1 +
arch/arm/boot/dts/overlays/rpi-display-overlay.dts | 14 ++++++++------
2 files changed, 9 insertions(+), 6 deletions(-)
--- a/arch/arm/boot/dts/overlays/README
+++ b/arch/arm/boot/dts/overlays/README
@@ -1329,6 +1329,7 @@ Params: speed Display
debug Debug output level {0-7}
xohms Touchpanel sensitivity (X-plate resistance)
swapxy Swap x and y axis
+ backlight Change backlight GPIO pin {e.g. 12, 18}
Name: rpi-ft5406
--- a/arch/arm/boot/dts/overlays/rpi-display-overlay.dts
+++ b/arch/arm/boot/dts/overlays/rpi-display-overlay.dts
@@ -79,11 +79,13 @@
};
};
__overrides__ {
- speed = <&rpidisplay>,"spi-max-frequency:0";
- rotate = <&rpidisplay>,"rotate:0";
- fps = <&rpidisplay>,"fps:0";
- debug = <&rpidisplay>,"debug:0";
- xohms = <&rpidisplay_ts>,"ti,x-plate-ohms;0";
- swapxy = <&rpidisplay_ts>,"ti,swap-xy?";
+ speed = <&rpidisplay>,"spi-max-frequency:0";
+ rotate = <&rpidisplay>,"rotate:0";
+ fps = <&rpidisplay>,"fps:0";
+ debug = <&rpidisplay>,"debug:0";
+ xohms = <&rpidisplay_ts>,"ti,x-plate-ohms;0";
+ swapxy = <&rpidisplay_ts>,"ti,swap-xy?";
+ backlight = <&rpidisplay>,"led-gpios:4",
+ <&rpi_display_pins>,"brcm,pins:0";
};
};