brcm2708: update to latest patches from the RPi foundation
[openwrt/staging/lynxis.git] / target / linux / brcm2708 / patches-4.14 / 950-0144-add-backlight-control-to-rpi-display-overlay.patch
1 From 68ad84eea4f5a100756faf1c393b16fbd1468b55 Mon Sep 17 00:00:00 2001
2 From: Aaron Shaw <shawaj@gmail.com>
3 Date: Thu, 28 Dec 2017 17:31:52 +0000
4 Subject: [PATCH 144/454] add backlight control to rpi-display overlay
5
6 ---
7 arch/arm/boot/dts/overlays/README | 1 +
8 arch/arm/boot/dts/overlays/rpi-display-overlay.dts | 14 ++++++++------
9 2 files changed, 9 insertions(+), 6 deletions(-)
10
11 --- a/arch/arm/boot/dts/overlays/README
12 +++ b/arch/arm/boot/dts/overlays/README
13 @@ -1329,6 +1329,7 @@ Params: speed Display
14 debug Debug output level {0-7}
15 xohms Touchpanel sensitivity (X-plate resistance)
16 swapxy Swap x and y axis
17 + backlight Change backlight GPIO pin {e.g. 12, 18}
18
19
20 Name: rpi-ft5406
21 --- a/arch/arm/boot/dts/overlays/rpi-display-overlay.dts
22 +++ b/arch/arm/boot/dts/overlays/rpi-display-overlay.dts
23 @@ -79,11 +79,13 @@
24 };
25 };
26 __overrides__ {
27 - speed = <&rpidisplay>,"spi-max-frequency:0";
28 - rotate = <&rpidisplay>,"rotate:0";
29 - fps = <&rpidisplay>,"fps:0";
30 - debug = <&rpidisplay>,"debug:0";
31 - xohms = <&rpidisplay_ts>,"ti,x-plate-ohms;0";
32 - swapxy = <&rpidisplay_ts>,"ti,swap-xy?";
33 + speed = <&rpidisplay>,"spi-max-frequency:0";
34 + rotate = <&rpidisplay>,"rotate:0";
35 + fps = <&rpidisplay>,"fps:0";
36 + debug = <&rpidisplay>,"debug:0";
37 + xohms = <&rpidisplay_ts>,"ti,x-plate-ohms;0";
38 + swapxy = <&rpidisplay_ts>,"ti,swap-xy?";
39 + backlight = <&rpidisplay>,"led-gpios:4",
40 + <&rpi_display_pins>,"brcm,pins:0";
41 };
42 };