From: Jason-JH Lin <[email protected]>
add display node.
Signed-off-by: Jason-JH Lin <[email protected]>
---
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 76 ++++++++++++++++++++++++
1 file changed, 76 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
index 856b0e938009..f362288ad828 100644
--- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
@@ -1911,6 +1911,82 @@
#clock-cells = <1>;
};
+ vdosys_config@1c01a000 {
+ compatible = "mediatek,mt8195-vdosys";
+ reg = <0 0x1c01a000 0 0x1000>;
+ reg-names = "vdosys0_config";
+ iommus = <&iommu_vdo M4U_PORT_L0_DISP_RDMA0>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
+ };
+
+ mutex: disp_mutex0@1c016000 {
+ compatible = "mediatek,mt8195-disp-mutex";
+ reg = <0 0x1c016000 0 0x1000>;
+ reg-names = "vdo0_mutex";
+ clocks = <&vdosys0 CLK_VDO0_DISP_MUTEX0>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
+ clock-names = "vdo0_mutex";
+ interrupts = <GIC_SPI 658 IRQ_TYPE_LEVEL_HIGH 0>;
+ };
+
+ ovl0: disp_ovl@1c000000 {
+ compatible = "mediatek,mt8195-disp-ovl";
+ reg = <0 0x1c000000 0 0x1000>;
+ interrupts = <GIC_SPI 636 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&vdosys0 CLK_VDO0_DISP_OVL0>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
+ iommus = <&iommu_vdo M4U_PORT_L0_DISP_OVL0_RDMA0>;
+ };
+
+ rdma0: disp_rdma@1c002000 {
+ compatible = "mediatek,mt8195-disp-rdma";
+ reg = <0 0x1c002000 0 0x1000>;
+ interrupts = <GIC_SPI 638 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&vdosys0 CLK_VDO0_DISP_RDMA0>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
+ iommus = <&iommu_vdo M4U_PORT_L0_DISP_RDMA0>;
+ };
+
+ color0: disp_color@1c003000 {
+ compatible = "mediatek,mt8195-disp-color";
+ reg = <0 0x1c003000 0 0x1000>;
+ interrupts = <GIC_SPI 639 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&vdosys0 CLK_VDO0_DISP_COLOR0>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
+ };
+
+ ccorr0: disp_ccorr@1c004000 {
+ compatible = "mediatek,mt8195-disp-ccorr";
+ reg = <0 0x1c004000 0 0x1000>;
+ interrupts = <GIC_SPI 640 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&vdosys0 CLK_VDO0_DISP_CCORR0>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
+ };
+
+ aal0: disp_aal@1c005000 {
+ compatible = "mediatek,mt8195-disp-aal";
+ reg = <0 0x1c005000 0 0x1000>;
+ interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&vdosys0 CLK_VDO0_DISP_AAL0>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
+ };
+
+ gamma0: disp_gamma@1c006000 {
+ compatible = "mediatek,mt8195-disp-gamma";
+ reg = <0 0x1c006000 0 0x1000>;
+ interrupts = <GIC_SPI 642 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&vdosys0 CLK_VDO0_DISP_GAMMA0>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
+ };
+
+ dither0: disp_dither@1c007000 {
+ compatible = "mediatek,mt8195-disp-dither";
+ reg = <0 0x1c007000 0 0x1000>;
+ interrupts = <GIC_SPI 643 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&vdosys0 CLK_VDO0_DISP_DITHER0>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
+ };
+
smi_common0: smi@1c01b000 {
compatible = "mediatek,mt8195-smi-common";
mediatek,common-id = <0>;
--
2.18.0
Hi, Tinghan:
Tinghan Shen <[email protected]> 於 2021年6月16日 週三 上午5:37寫道:
>
> From: Jason-JH Lin <[email protected]>
>
> add display node.
>
> Signed-off-by: Jason-JH Lin <[email protected]>
> ---
> arch/arm64/boot/dts/mediatek/mt8195.dtsi | 76 ++++++++++++++++++++++++
> 1 file changed, 76 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> index 856b0e938009..f362288ad828 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> @@ -1911,6 +1911,82 @@
> #clock-cells = <1>;
> };
>
> + vdosys_config@1c01a000 {
> + compatible = "mediatek,mt8195-vdosys";
Where is the definition of this compatible?
> + reg = <0 0x1c01a000 0 0x1000>;
> + reg-names = "vdosys0_config";
> + iommus = <&iommu_vdo M4U_PORT_L0_DISP_RDMA0>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> + };
> +
> + mutex: disp_mutex0@1c016000 {
> + compatible = "mediatek,mt8195-disp-mutex";
Ditto.
> + reg = <0 0x1c016000 0 0x1000>;
> + reg-names = "vdo0_mutex";
> + clocks = <&vdosys0 CLK_VDO0_DISP_MUTEX0>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> + clock-names = "vdo0_mutex";
> + interrupts = <GIC_SPI 658 IRQ_TYPE_LEVEL_HIGH 0>;
> + };
> +
> + ovl0: disp_ovl@1c000000 {
> + compatible = "mediatek,mt8195-disp-ovl";
Ditto.
> + reg = <0 0x1c000000 0 0x1000>;
> + interrupts = <GIC_SPI 636 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&vdosys0 CLK_VDO0_DISP_OVL0>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> + iommus = <&iommu_vdo M4U_PORT_L0_DISP_OVL0_RDMA0>;
> + };
> +
> + rdma0: disp_rdma@1c002000 {
> + compatible = "mediatek,mt8195-disp-rdma";
Ditto.
> + reg = <0 0x1c002000 0 0x1000>;
> + interrupts = <GIC_SPI 638 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&vdosys0 CLK_VDO0_DISP_RDMA0>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> + iommus = <&iommu_vdo M4U_PORT_L0_DISP_RDMA0>;
> + };
> +
> + color0: disp_color@1c003000 {
> + compatible = "mediatek,mt8195-disp-color";
Ditto.
> + reg = <0 0x1c003000 0 0x1000>;
> + interrupts = <GIC_SPI 639 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&vdosys0 CLK_VDO0_DISP_COLOR0>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> + };
> +
> + ccorr0: disp_ccorr@1c004000 {
> + compatible = "mediatek,mt8195-disp-ccorr";
Ditto.
> + reg = <0 0x1c004000 0 0x1000>;
> + interrupts = <GIC_SPI 640 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&vdosys0 CLK_VDO0_DISP_CCORR0>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> + };
> +
> + aal0: disp_aal@1c005000 {
> + compatible = "mediatek,mt8195-disp-aal";
Ditto.
> + reg = <0 0x1c005000 0 0x1000>;
> + interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&vdosys0 CLK_VDO0_DISP_AAL0>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> + };
> +
> + gamma0: disp_gamma@1c006000 {
> + compatible = "mediatek,mt8195-disp-gamma";
Ditto.
> + reg = <0 0x1c006000 0 0x1000>;
> + interrupts = <GIC_SPI 642 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&vdosys0 CLK_VDO0_DISP_GAMMA0>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> + };
> +
> + dither0: disp_dither@1c007000 {
> + compatible = "mediatek,mt8195-disp-dither";
Ditto.
> + reg = <0 0x1c007000 0 0x1000>;
> + interrupts = <GIC_SPI 643 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&vdosys0 CLK_VDO0_DISP_DITHER0>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> + };
> +
> smi_common0: smi@1c01b000 {
> compatible = "mediatek,mt8195-smi-common";
Ditto.
Regards,
Chun-Kuang.
> mediatek,common-id = <0>;
> --
> 2.18.0
> _______________________________________________
> Linux-mediatek mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-mediatek