Skip to contentSkip to conversation

ARM: bcm2835: Add the DPI hardware to the device tree.

PATCH In review Eric Anholt 3 participants 3 messages Mar 9, 2018 – Mar 12, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: bcm2835: Add the DPI hardware to the device tree.

It's currently marked disabled, as it's not useful without a panel associated with it and the GPIO pins routed to ALT2.

---

This patch got misplaced as part of the original VC4 DPI work (which included the binding). I've got a full branch demoing a panel at
https://github.com/anholt/linux/commits/drm-vc4-dpi

 arch/arm/boot/dts/bcm283x.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm/boot/dts/bcm283x.dtsi +11 -0
index 18db25a5a66e..4359cb2aae22 100644
@@ -438,6 +438,17 @@
 			interrupts = <2 14>; /* pwa1 */
 		};
 
+		dpi: dpi at 7e208000 {
+			compatible = "brcm,bcm2835-dpi";
+			reg = <0x7e208000 0x8c>;
+			clocks = <&clocks BCM2835_CLOCK_VPU>,
+				 <&clocks BCM2835_CLOCK_DPI>;
+			clock-names = "core", "pixel";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		dsi0: dsi at 7e209000 {
 			compatible = "brcm,bcm2835-dsi0";
 			reg = <0x7e209000 0x78>;
Signature · 1 line
2.16.2
#2 lore raw
Quoted 11 lines · Stefan Wahren
Quoted 9 lines

Eric Anholt <[email protected]> hat am 10. M?rz 2018 um 00:36 geschrieben:

It's currently marked disabled, as it's not useful without a panel associated with it and the GPIO pins routed to ALT2.

---

FWIW, Acked-by: Stefan Wahren <[email protected]>

Eric, do you want me to apply that directly to my upcoming ARM SoC pull request (next couple of days)?

Signature · 1 line
Florian