Re: [PATCH v4 17/22] arm64: dts: mt8192: Add dpi node

From: Matthias Brugger
Date: Tue Mar 29 2022 - 06:01:33 EST




On 29/03/2022 09:45, allen-kh.cheng wrote:
Hi Matthias,

On Fri, 2022-03-25 at 16:24 +0100, Matthias Brugger wrote:

On 18/03/2022 15:45, Allen-KH Cheng wrote:
Add dpi node for mt8192 SoC.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@xxxxxxxxxxxx>
---
arch/arm64/boot/dts/mediatek/mt8192.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
index 71ad3adeed51..a77d405dd508 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
@@ -1236,6 +1236,17 @@
power-domains = <&spm
MT8192_POWER_DOMAIN_DISP>;
};
+ dpi0: dpi@14016000 {
+ compatible = "mediatek,mt8192-dpi";
+ reg = <0 0x14016000 0 0x1000>;
+ interrupts = <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH
0>;
+ clocks = <&mmsys CLK_MM_DPI_DPI0>,
+ <&mmsys CLK_MM_DISP_DPI0>,
+ <&apmixedsys CLK_APMIXED_TVDPLL>;
+ clock-names = "pixel", "engine", "pll";
+ status = "disabled";

We are missing the output port node here.

Regards,
Matthias


We will add output port in mt8192-asurada.dtsi (inlude mt8192.dtsi) for
board level.


Got it, patch now applied.

Do we need to add any futher information in binding?


Hm, probably we should mark the output port as optional? Can you check how other bindings manage that?

Thanks,
Matthias

Thanks,
Allen

+ };
+
iommu0: m4u@1401d000 {
compatible = "mediatek,mt8192-m4u";
reg = <0 0x1401d000 0 0x1000>;