2018-03-09 23:37:50

by Eric Anholt

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Eric Anholt <[email protected]>
---

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

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>;
--
2.16.2



2018-03-12 17:47:20

by Stefan Wahren

[permalink] [raw]
Subject: Re: [PATCH] ARM: bcm2835: Add the DPI hardware to the device tree.

> 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.
>
> Signed-off-by: Eric Anholt <[email protected]>
> ---
>

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

2018-03-12 21:26:18

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH] ARM: bcm2835: Add the DPI hardware to the device tree.

On 03/12/2018 10:45 AM, Stefan Wahren wrote:
>> 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.
>>
>> Signed-off-by: Eric Anholt <[email protected]>
>> ---
>>
>
> 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)?
--
Florian