diff mbox

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

Message ID 20180309233639.2029-1-eric@anholt.net (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Anholt March 9, 2018, 11:36 p.m. UTC
It's currently marked disabled, as it's not useful without a panel
associated with it and the GPIO pins routed to ALT2.

Signed-off-by: Eric Anholt <eric@anholt.net>
---

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(+)

Comments

Stefan Wahren March 12, 2018, 5:45 p.m. UTC | #1
> Eric Anholt <eric@anholt.net> 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.
> 
> Signed-off-by: Eric Anholt <eric@anholt.net>
> ---
> 

FWIW, Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Florian Fainelli March 12, 2018, 9:24 p.m. UTC | #2
On 03/12/2018 10:45 AM, Stefan Wahren wrote:
>> Eric Anholt <eric@anholt.net> 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.
>>
>> Signed-off-by: Eric Anholt <eric@anholt.net>
>> ---
>>
> 
> FWIW, Acked-by: Stefan Wahren <stefan.wahren@i2se.com>

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

Patch

diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 18db25a5a66e..4359cb2aae22 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -438,6 +438,17 @@ 
 			interrupts = <2 14>; /* pwa1 */
 		};
 
+		dpi: dpi@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@7e209000 {
 			compatible = "brcm,bcm2835-dsi0";
 			reg = <0x7e209000 0x78>;