brcm2708: rename target to bcm27xx
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-4.19 / 950-0613-overlays-dpi18-and-dpi24-vc4-compatibility.patch
1 From a5e0d604116189331d5608c9d128f37df17db2e3 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Tue, 16 Jul 2019 15:24:12 +0100
4 Subject: [PATCH] overlays: dpi18 and dpi24 vc4 compatibility
5
6 The dpi overlays use the fb device tree node as a place to hang the
7 necessary pinctrl changes. With one of the VC4 overlays loaded, the
8 fb node is disabled so the changes have no effect.
9
10 Modify the overlays to also use the vc4 node, to cover both use
11 cases.
12
13 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
14 ---
15 arch/arm/boot/dts/overlays/dpi18-overlay.dts | 8 ++++++++
16 arch/arm/boot/dts/overlays/dpi24-overlay.dts | 8 ++++++++
17 2 files changed, 16 insertions(+)
18
19 --- a/arch/arm/boot/dts/overlays/dpi18-overlay.dts
20 +++ b/arch/arm/boot/dts/overlays/dpi18-overlay.dts
21 @@ -17,6 +17,14 @@
22 };
23
24 fragment@1 {
25 + target = <&vc4>;
26 + __overlay__ {
27 + pinctrl-names = "default";
28 + pinctrl-0 = <&dpi18_pins>;
29 + };
30 + };
31 +
32 + fragment@2 {
33 target = <&gpio>;
34 __overlay__ {
35 dpi18_pins: dpi18_pins {
36 --- a/arch/arm/boot/dts/overlays/dpi24-overlay.dts
37 +++ b/arch/arm/boot/dts/overlays/dpi24-overlay.dts
38 @@ -17,6 +17,14 @@
39 };
40
41 fragment@1 {
42 + target = <&vc4>;
43 + __overlay__ {
44 + pinctrl-names = "default";
45 + pinctrl-0 = <&dpi24_pins>;
46 + };
47 + };
48 +
49 + fragment@2 {
50 target = <&gpio>;
51 __overlay__ {
52 dpi24_pins: dpi24_pins {