1 From 2c62d430b6b3c20867e55465e0557a1543088f09 Mon Sep 17 00:00:00 2001
2 From: Eric Anholt <eric@anholt.net>
3 Date: Thu, 2 Jun 2016 15:09:35 -0700
4 Subject: [PATCH] BCM270X: Enable the DSI panel node in the VC4 overlay.
6 Signed-off-by: Eric Anholt <eric@anholt.net>
8 arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 5 ++++
9 arch/arm/boot/dts/bcm2708-rpi-b.dts | 5 ++++
10 arch/arm/boot/dts/bcm2709-rpi-2-b.dts | 5 ++++
11 arch/arm/boot/dts/bcm270x.dtsi | 27 ++++++++++++++++++++++
12 arch/arm/boot/dts/bcm2710-rpi-3-b.dts | 5 ++++
13 arch/arm/boot/dts/bcm2710.dtsi | 1 -
14 arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts | 22 ++++++++++++++++++
15 7 files changed, 69 insertions(+), 1 deletion(-)
17 --- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
18 +++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
20 sd_debug = <&sdhost>,"brcm,debug";
28 --- a/arch/arm/boot/dts/bcm2708-rpi-b.dts
29 +++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts
31 sd_debug = <&sdhost>,"brcm,debug";
39 --- a/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
40 +++ b/arch/arm/boot/dts/bcm2709-rpi-2-b.dts
42 sd_debug = <&sdhost>,"brcm,debug";
50 --- a/arch/arm/boot/dts/bcm270x.dtsi
51 +++ b/arch/arm/boot/dts/bcm270x.dtsi
58 + /* We have to use i2c-gpio because the
59 + * firmware is also polling another device
60 + * using the only hardware I2C bus that could
61 + * connect to these pins.
63 + compatible = "i2c-gpio";
64 + #address-cells = <1>;
66 + status = "disabled";
68 + pitouchscreen_bridge: bridge@45 {
69 + compatible = "raspberrypi,touchscreen-bridge-i2c";
73 + pitouchscreen_touch: bridge@38 {
74 + compatible = "raspberrypi,touchscreen-ts-i2c";
81 vdd_5v0_reg: fixedregulator_5v0 {
88 + power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
90 --- a/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
91 +++ b/arch/arm/boot/dts/bcm2710-rpi-3-b.dts
93 sd_debug = <&sdhost>,"brcm,debug";
101 --- a/arch/arm/boot/dts/bcm2710.dtsi
102 +++ b/arch/arm/boot/dts/bcm2710.dtsi
104 interrupt-parent = <&local_intc>;
108 --- a/arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
109 +++ b/arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
117 + #address-cells = <1>;
121 + pitouchscreen: panel@0 {
122 + compatible = "raspberrypi,touchscreen";
124 + raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
130 + target = <&i2c_dsi>;
137 cma-256 = <0>,"+0-1-2-3-4";
138 cma-192 = <0>,"-0+1-2-3-4";