aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0144-add-backlight-control-to-rpi-display-overlay.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0144-add-backlight-control-to-rpi-display-overlay.patch')
-rw-r--r--target/linux/brcm2708/patches-4.14/950-0144-add-backlight-control-to-rpi-display-overlay.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0144-add-backlight-control-to-rpi-display-overlay.patch b/target/linux/brcm2708/patches-4.14/950-0144-add-backlight-control-to-rpi-display-overlay.patch
new file mode 100644
index 0000000000..6d7de6f51d
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.14/950-0144-add-backlight-control-to-rpi-display-overlay.patch
@@ -0,0 +1,42 @@
+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";
+ };
+ };