This series is a collection of device nodes for Mediatek SoC MT8195 and
depends on patches[1][2][3].
The dependency list is not complete.
some dependencies are still under working.
[1] arm64: dts: Add Mediatek SoC MT8195 and evaluation board dts and Makefile
https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
[2] dt-bindings: power: Add MT8195 power domains
https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
[3] dt-bindings: pinctrl: mt8195: add pinctrl file and binding document
https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
From: Henry Chen <[email protected]>
Add pwrap node to SOC MT8195.
Signed-off-by: Henry Chen <[email protected]>
---
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
index 640f09100bb7..bbb1e008e522 100644
--- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
@@ -322,6 +322,18 @@
clocks = <&clk26m>;
};
+ pwrap: pwrap@10024000 {
+ compatible = "mediatek,mt8195-pwrap", "syscon";
+ reg = <0 0x10024000 0 0x1000>;
+ reg-names = "pwrap";
+ interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&infracfg_ao CLK_INFRA_AO_PMIC_AP>,
+ <&infracfg_ao CLK_INFRA_AO_PMIC_TMR>;
+ clock-names = "spi", "wrap";
+ assigned-clocks = <&topckgen CLK_TOP_PWRAP_ULPOSC_SEL>;
+ assigned-clock-parents = <&topckgen CLK_TOP_ULPOSC_D10>;
+ };
+
uart0: serial@11001100 {
compatible = "mediatek,mt8195-uart", "mediatek,mt6577-uart";
reg = <0 0x11001100 0 0x100>;
--
2.18.0
From: Nancy Lin <[email protected]>
add vdosys1 support for MT8195
Signed-off-by: Nancy Lin <[email protected]>
---
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 178 +++++++++++++++++++++--
1 file changed, 169 insertions(+), 9 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
index e273833a49f8..a98609989905 100644
--- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
@@ -26,6 +26,7 @@
dpi1 = &disp_dpi1;
dp-intf0 = &dp_intf0;
dp-intf1 = &dp_intf1;
+ merge5 = &merge5;
};
clocks {
@@ -2241,22 +2242,27 @@
vdosys_config@1c01a000 {
compatible = "mediatek,mt8195-vdosys";
- reg = <0 0x1c01a000 0 0x1000>;
- reg-names = "vdosys0_config";
+ reg = <0 0x1c01a000 0 0x1000>,<0 0x1c100000 0 0x1000>;
+ reg-names = "vdosys0_config","vdosys1_config";
iommus = <&iommu_vdo M4U_PORT_L0_DISP_RDMA0>;
power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
- mboxes = <&gce1 0 0 CMDQ_THR_PRIO_4>;
+ mboxes = <&gce1 0 0 CMDQ_THR_PRIO_4>,
+ <&gce1 1 0 CMDQ_THR_PRIO_4>;
};
mutex: disp_mutex0@1c016000 {
compatible = "mediatek,mt8195-disp-mutex";
- reg = <0 0x1c016000 0 0x1000>;
- reg-names = "vdo0_mutex";
- clocks = <&vdosys0 CLK_VDO0_DISP_MUTEX0>;
+ reg = <0 0x1c016000 0 0x1000>,
+ <0 0x1c101000 0 0x1000>;
+ reg-names = "vdo0_mutex","vdo1_mutex";
+ clocks = <&vdosys0 CLK_VDO0_DISP_MUTEX0>,
+ <&vdosys1 CLK_VDO1_DISP_MUTEX>;
power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
- clock-names = "vdo0_mutex";
- interrupts = <GIC_SPI 658 IRQ_TYPE_LEVEL_HIGH 0>;
- mediatek,gce-events = <CMDQ_EVENT_VDO0_DISP_STREAM_DONE_0>;
+ clock-names = "vdo0_mutex","sub_mutex";
+ interrupts = <GIC_SPI 658 IRQ_TYPE_LEVEL_HIGH 0>,
+ <GIC_SPI 494 IRQ_TYPE_LEVEL_HIGH 0>;
+ mediatek,gce-events = <CMDQ_EVENT_VDO0_DISP_STREAM_DONE_0>,
+ <CMDQ_EVENT_VDO1_STREAM_DONE_ENG_0>;
};
ovl0: disp_ovl@1c000000 {
@@ -2446,6 +2452,92 @@
power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
};
+ disp_pseudo_ovl0@1c104000 {
+ compatible = "mediatek,mt8195-disp-pseudo-ovl";
+ reg = <0 0x1c104000 0 0x1000>,
+ <0 0x1c105000 0 0x1000>,
+ <0 0x1c106000 0 0x1000>,
+ <0 0x1c107000 0 0x1000>,
+ <0 0x1c108000 0 0x1000>,
+ <0 0x1c109000 0 0x1000>,
+ <0 0x1c10A000 0 0x1000>,
+ <0 0x1c10B000 0 0x1000>,
+ <0 0x1c10C000 0 0x1000>,
+ <0 0x1c10D000 0 0x1000>,
+ <0 0x1c10E000 0 0x1000>,
+ <0 0x1c10F000 0 0x1000>,
+ <0 0x1c100000 0 0x1000>;
+ reg-names = "vdo1_mdp_rdma0","vdo1_mdp_rdma1","vdo1_mdp_rdma2",
+ "vdo1_mdp_rdma3","vdo1_mdp_rdma4",
+ "vdo1_mdp_rdma5","vdo1_mdp_rdma6",
+ "vdo1_mdp_rdma7","vdo1_merge0",
+ "vdo1_merge1","vdo1_merge2","vdo1_merge3","top";
+ mediatek,gce-client-reg = <&gce1 SUBSYS_1c10XXXX 0x4000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0x5000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0x6000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0x7000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0x8000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0x9000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0xA000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0xB000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0xC000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0xD000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0xE000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0xF000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0x0000 0x1000>;
+ clocks = <&vdosys1 CLK_VDO1_MDP_RDMA0>,
+ <&vdosys1 CLK_VDO1_MDP_RDMA1>,
+ <&vdosys1 CLK_VDO1_MDP_RDMA2>,
+ <&vdosys1 CLK_VDO1_MDP_RDMA3>,
+ <&vdosys1 CLK_VDO1_MDP_RDMA4>,
+ <&vdosys1 CLK_VDO1_MDP_RDMA5>,
+ <&vdosys1 CLK_VDO1_MDP_RDMA6>,
+ <&vdosys1 CLK_VDO1_MDP_RDMA7>,
+ <&vdosys1 CLK_VDO1_VPP_MERGE0>,
+ <&vdosys1 CLK_VDO1_VPP_MERGE1>,
+ <&vdosys1 CLK_VDO1_VPP_MERGE2>,
+ <&vdosys1 CLK_VDO1_VPP_MERGE3>,
+ <&vdosys1 CLK_VDO1_MERGE0_DL_ASYNC>,
+ <&vdosys1 CLK_VDO1_MERGE1_DL_ASYNC>,
+ <&vdosys1 CLK_VDO1_MERGE2_DL_ASYNC>,
+ <&vdosys1 CLK_VDO1_MERGE3_DL_ASYNC>;
+ clock-names = "vdo1_mdp_rdma0","vdo1_mdp_rdma1",
+ "vdo1_mdp_rdma2","vdo1_mdp_rdma3",
+ "vdo1_mdp_rdma4","vdo1_mdp_rdma5",
+ "vdo1_mdp_rdma6","vdo1_mdp_rdma7",
+ "vdo1_merge0","vdo1_merge1",
+ "vdo1_merge2","vdo1_merge3",
+ "vdo1_merge0_async","vdo1_merge1_async",
+ "vdo1_merge2_async","vdo1_merge3_async";
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
+ mediatek,larb = <&larb2>;
+ mediatek,smi-id = <0>;
+ iommus = <&iommu_vdo M4U_PORT_L2_MDP_RDMA0>;
+ interrupts = <GIC_SPI 495 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma0*/
+ <GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma1*/
+ <GIC_SPI 497 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma2*/
+ <GIC_SPI 498 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma3*/
+ <GIC_SPI 499 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma4*/
+ <GIC_SPI 500 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma5*/
+ <GIC_SPI 501 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma6*/
+ <GIC_SPI 502 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma7*/
+ <GIC_SPI 503 IRQ_TYPE_LEVEL_HIGH 0>, /*merge0*/
+ <GIC_SPI 504 IRQ_TYPE_LEVEL_HIGH 0>, /*merge1*/
+ <GIC_SPI 505 IRQ_TYPE_LEVEL_HIGH 0>, /*merge2*/
+ <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH 0>; /*merge3*/
+ };
+
+ merge5: disp_vpp_merge5@1c110000 {
+ compatible = "mediatek,mt8195-disp-merge";
+ reg = <0 0x1c110000 0 0x1000>;
+ interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&vdosys1 CLK_VDO1_VPP_MERGE4>,
+ <&vdosys1 CLK_VDO1_MERGE4_DL_ASYNC>;
+ clock-names = "merge5","merge5_async";
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
+ mediatek,gce-client-reg = <&gce1 SUBSYS_1c11XXXX 0x0000 0x1000>;
+ };
+
disp_dpi1: disp_dpi1@1c112000 {
compatible = "mediatek,mt8195-dpi";
reg = <0 0x1c112000 0 0x1000>;
@@ -2478,6 +2570,54 @@
status = "disabled";
};
+ disp_ethdr@1c114000 {
+ compatible = "mediatek,mt8195-disp-ethdr";
+ reg = <0 0x1c114000 0 0x1000>,
+ <0 0x1c115000 0 0x1000>,
+ <0 0x1c117000 0 0x1000>,
+ <0 0x1c119000 0 0x1000>,
+ <0 0x1c11A000 0 0x1000>,
+ <0 0x1c11B000 0 0x1000>,
+ <0 0x1c11C000 0 0x1000>,
+ <0 0x1c100000 0 0x1000>;
+ reg-names = "hdr_disp_mixer","hdr_vdo_fe0","hdr_vdo_fe1",
+ "hdr_gfx_fe0","hdr_gfx_fe1","hdr_vdo_be",
+ "hdr_adl_ds","top";
+ mediatek,gce-client-reg = <&gce1 SUBSYS_1c11XXXX 0x4000 0x1000>,
+ <&gce1 SUBSYS_1c11XXXX 0x5000 0x1000>,
+ <&gce1 SUBSYS_1c11XXXX 0x7000 0x1000>,
+ <&gce1 SUBSYS_1c11XXXX 0x9000 0x1000>,
+ <&gce1 SUBSYS_1c11XXXX 0xA000 0x1000>,
+ <&gce1 SUBSYS_1c11XXXX 0xB000 0x1000>,
+ <&gce1 SUBSYS_1c11XXXX 0xC000 0x1000>,
+ <&gce1 SUBSYS_1c10XXXX 0x0000 0x1000>;
+ clocks = <&vdosys1 CLK_VDO1_DISP_MIXER>,
+ <&vdosys1 CLK_VDO1_HDR_VDO_FE0>,
+ <&vdosys1 CLK_VDO1_HDR_VDO_FE1>,
+ <&vdosys1 CLK_VDO1_HDR_GFX_FE0>,
+ <&vdosys1 CLK_VDO1_HDR_GFX_FE1>,
+ <&vdosys1 CLK_VDO1_HDR_VDO_BE>,
+ <&vdosys1 CLK_VDO1_26M_SLOW>,
+ <&vdosys1 CLK_VDO1_HDR_VDO_FE0_DL_ASYNC>,
+ <&vdosys1 CLK_VDO1_HDR_VDO_FE1_DL_ASYNC>,
+ <&vdosys1 CLK_VDO1_HDR_GFX_FE0_DL_ASYNC>,
+ <&vdosys1 CLK_VDO1_HDR_GFX_FE1_DL_ASYNC>,
+ <&vdosys1 CLK_VDO1_HDR_VDO_BE_DL_ASYNC>,
+ <&topckgen CLK_TOP_ETHDR_SEL>;
+ clock-names = "hdr_disp_mixer","hdr_vdo_fe0","hdr_vdo_fe1",
+ "hdr_gfx_fe0","hdr_gfx_fe1","hdr_vdo_be",
+ "hdr_adl_ds","hdr_vdo_fe0_async",
+ "hdr_vdo_fe1_async","hdr_gfx_fe0_async",
+ "hdr_gfx_fe1_async","hdr_vdo_be_async",
+ "ethdr_top";
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
+ mediatek,larb = <&larb3>;
+ mediatek,smi-id = <1>;
+ iommus = <&iommu_vpp M4U_PORT_L3_HDR_DS>,
+ <&iommu_vpp M4U_PORT_L3_HDR_ADL>;
+ interrupts = <GIC_SPI 517 IRQ_TYPE_LEVEL_HIGH 0>; /*disp mixer*/
+ };
+
hdmi0: hdmi@1c300000 {
compatible = "mediatek,mt8195-hdmi";
reg = <0 0x1c300000 0 0x1000>;
@@ -2517,6 +2657,26 @@
};
};
+ disp_pseudo_ovl_l2 {
+ compatible = "mediatek,mt8195-pseudo-ovl-larb";
+ mediatek,larb-id = <2>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
+ iommus = <&iommu_vdo M4U_PORT_L2_MDP_RDMA0>,
+ <&iommu_vdo M4U_PORT_L2_MDP_RDMA2>,
+ <&iommu_vdo M4U_PORT_L2_MDP_RDMA4>,
+ <&iommu_vdo M4U_PORT_L2_MDP_RDMA6>;
+ };
+
+ disp_pseudo_ovl_l3 {
+ compatible = "mediatek,mt8195-pseudo-ovl-larb";
+ mediatek,larb-id = <3>;
+ power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
+ iommus = <&iommu_vpp M4U_PORT_L3_MDP_RDMA1>,
+ <&iommu_vpp M4U_PORT_L3_MDP_RDMA3>,
+ <&iommu_vpp M4U_PORT_L3_MDP_RDMA5>,
+ <&iommu_vpp M4U_PORT_L3_MDP_RDMA7>;
+ };
+
hdmiddc0: ddc_i2c {
compatible = "mediatek,mt8195-hdmi-ddc";
clocks = <&clk26m>;
--
2.18.0
Hi, Tinghan:
Tinghan Shen <[email protected]> 於 2021年6月16日 週三 上午5:39寫道:
>
> From: Nancy Lin <[email protected]>
>
> add vdosys1 support for MT8195
>
> Signed-off-by: Nancy Lin <[email protected]>
> ---
> arch/arm64/boot/dts/mediatek/mt8195.dtsi | 178 +++++++++++++++++++++--
> 1 file changed, 169 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> index e273833a49f8..a98609989905 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> @@ -26,6 +26,7 @@
> dpi1 = &disp_dpi1;
> dp-intf0 = &dp_intf0;
> dp-intf1 = &dp_intf1;
> + merge5 = &merge5;
> };
>
> clocks {
> @@ -2241,22 +2242,27 @@
>
> vdosys_config@1c01a000 {
> compatible = "mediatek,mt8195-vdosys";
> - reg = <0 0x1c01a000 0 0x1000>;
> - reg-names = "vdosys0_config";
> + reg = <0 0x1c01a000 0 0x1000>,<0 0x1c100000 0 0x1000>;
> + reg-names = "vdosys0_config","vdosys1_config";
> iommus = <&iommu_vdo M4U_PORT_L0_DISP_RDMA0>;
> power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> - mboxes = <&gce1 0 0 CMDQ_THR_PRIO_4>;
> + mboxes = <&gce1 0 0 CMDQ_THR_PRIO_4>,
> + <&gce1 1 0 CMDQ_THR_PRIO_4>;
> };
>
> mutex: disp_mutex0@1c016000 {
> compatible = "mediatek,mt8195-disp-mutex";
> - reg = <0 0x1c016000 0 0x1000>;
> - reg-names = "vdo0_mutex";
> - clocks = <&vdosys0 CLK_VDO0_DISP_MUTEX0>;
> + reg = <0 0x1c016000 0 0x1000>,
> + <0 0x1c101000 0 0x1000>;
> + reg-names = "vdo0_mutex","vdo1_mutex";
> + clocks = <&vdosys0 CLK_VDO0_DISP_MUTEX0>,
> + <&vdosys1 CLK_VDO1_DISP_MUTEX>;
> power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS0>;
> - clock-names = "vdo0_mutex";
> - interrupts = <GIC_SPI 658 IRQ_TYPE_LEVEL_HIGH 0>;
> - mediatek,gce-events = <CMDQ_EVENT_VDO0_DISP_STREAM_DONE_0>;
> + clock-names = "vdo0_mutex","sub_mutex";
> + interrupts = <GIC_SPI 658 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 494 IRQ_TYPE_LEVEL_HIGH 0>;
> + mediatek,gce-events = <CMDQ_EVENT_VDO0_DISP_STREAM_DONE_0>,
> + <CMDQ_EVENT_VDO1_STREAM_DONE_ENG_0>;
> };
>
> ovl0: disp_ovl@1c000000 {
> @@ -2446,6 +2452,92 @@
> power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
> };
>
> + disp_pseudo_ovl0@1c104000 {
> + compatible = "mediatek,mt8195-disp-pseudo-ovl";
Where is the definition of this compatible?
> + reg = <0 0x1c104000 0 0x1000>,
> + <0 0x1c105000 0 0x1000>,
> + <0 0x1c106000 0 0x1000>,
> + <0 0x1c107000 0 0x1000>,
> + <0 0x1c108000 0 0x1000>,
> + <0 0x1c109000 0 0x1000>,
> + <0 0x1c10A000 0 0x1000>,
> + <0 0x1c10B000 0 0x1000>,
> + <0 0x1c10C000 0 0x1000>,
> + <0 0x1c10D000 0 0x1000>,
> + <0 0x1c10E000 0 0x1000>,
> + <0 0x1c10F000 0 0x1000>,
> + <0 0x1c100000 0 0x1000>;
> + reg-names = "vdo1_mdp_rdma0","vdo1_mdp_rdma1","vdo1_mdp_rdma2",
> + "vdo1_mdp_rdma3","vdo1_mdp_rdma4",
> + "vdo1_mdp_rdma5","vdo1_mdp_rdma6",
> + "vdo1_mdp_rdma7","vdo1_merge0",
> + "vdo1_merge1","vdo1_merge2","vdo1_merge3","top";
> + mediatek,gce-client-reg = <&gce1 SUBSYS_1c10XXXX 0x4000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0x5000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0x6000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0x7000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0x8000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0x9000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0xA000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0xB000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0xC000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0xD000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0xE000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0xF000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0x0000 0x1000>;
> + clocks = <&vdosys1 CLK_VDO1_MDP_RDMA0>,
> + <&vdosys1 CLK_VDO1_MDP_RDMA1>,
> + <&vdosys1 CLK_VDO1_MDP_RDMA2>,
> + <&vdosys1 CLK_VDO1_MDP_RDMA3>,
> + <&vdosys1 CLK_VDO1_MDP_RDMA4>,
> + <&vdosys1 CLK_VDO1_MDP_RDMA5>,
> + <&vdosys1 CLK_VDO1_MDP_RDMA6>,
> + <&vdosys1 CLK_VDO1_MDP_RDMA7>,
> + <&vdosys1 CLK_VDO1_VPP_MERGE0>,
> + <&vdosys1 CLK_VDO1_VPP_MERGE1>,
> + <&vdosys1 CLK_VDO1_VPP_MERGE2>,
> + <&vdosys1 CLK_VDO1_VPP_MERGE3>,
> + <&vdosys1 CLK_VDO1_MERGE0_DL_ASYNC>,
> + <&vdosys1 CLK_VDO1_MERGE1_DL_ASYNC>,
> + <&vdosys1 CLK_VDO1_MERGE2_DL_ASYNC>,
> + <&vdosys1 CLK_VDO1_MERGE3_DL_ASYNC>;
> + clock-names = "vdo1_mdp_rdma0","vdo1_mdp_rdma1",
> + "vdo1_mdp_rdma2","vdo1_mdp_rdma3",
> + "vdo1_mdp_rdma4","vdo1_mdp_rdma5",
> + "vdo1_mdp_rdma6","vdo1_mdp_rdma7",
> + "vdo1_merge0","vdo1_merge1",
> + "vdo1_merge2","vdo1_merge3",
> + "vdo1_merge0_async","vdo1_merge1_async",
> + "vdo1_merge2_async","vdo1_merge3_async";
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
> + mediatek,larb = <&larb2>;
> + mediatek,smi-id = <0>;
> + iommus = <&iommu_vdo M4U_PORT_L2_MDP_RDMA0>;
> + interrupts = <GIC_SPI 495 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma0*/
> + <GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma1*/
> + <GIC_SPI 497 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma2*/
> + <GIC_SPI 498 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma3*/
> + <GIC_SPI 499 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma4*/
> + <GIC_SPI 500 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma5*/
> + <GIC_SPI 501 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma6*/
> + <GIC_SPI 502 IRQ_TYPE_LEVEL_HIGH 0>, /*rdma7*/
> + <GIC_SPI 503 IRQ_TYPE_LEVEL_HIGH 0>, /*merge0*/
> + <GIC_SPI 504 IRQ_TYPE_LEVEL_HIGH 0>, /*merge1*/
> + <GIC_SPI 505 IRQ_TYPE_LEVEL_HIGH 0>, /*merge2*/
> + <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH 0>; /*merge3*/
> + };
> +
> + merge5: disp_vpp_merge5@1c110000 {
> + compatible = "mediatek,mt8195-disp-merge";
Ditto.
> + reg = <0 0x1c110000 0 0x1000>;
> + interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&vdosys1 CLK_VDO1_VPP_MERGE4>,
> + <&vdosys1 CLK_VDO1_MERGE4_DL_ASYNC>;
> + clock-names = "merge5","merge5_async";
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
> + mediatek,gce-client-reg = <&gce1 SUBSYS_1c11XXXX 0x0000 0x1000>;
> + };
> +
> disp_dpi1: disp_dpi1@1c112000 {
> compatible = "mediatek,mt8195-dpi";
> reg = <0 0x1c112000 0 0x1000>;
> @@ -2478,6 +2570,54 @@
> status = "disabled";
> };
>
> + disp_ethdr@1c114000 {
> + compatible = "mediatek,mt8195-disp-ethdr";
Ditto.
> + reg = <0 0x1c114000 0 0x1000>,
> + <0 0x1c115000 0 0x1000>,
> + <0 0x1c117000 0 0x1000>,
> + <0 0x1c119000 0 0x1000>,
> + <0 0x1c11A000 0 0x1000>,
> + <0 0x1c11B000 0 0x1000>,
> + <0 0x1c11C000 0 0x1000>,
> + <0 0x1c100000 0 0x1000>;
> + reg-names = "hdr_disp_mixer","hdr_vdo_fe0","hdr_vdo_fe1",
> + "hdr_gfx_fe0","hdr_gfx_fe1","hdr_vdo_be",
> + "hdr_adl_ds","top";
> + mediatek,gce-client-reg = <&gce1 SUBSYS_1c11XXXX 0x4000 0x1000>,
> + <&gce1 SUBSYS_1c11XXXX 0x5000 0x1000>,
> + <&gce1 SUBSYS_1c11XXXX 0x7000 0x1000>,
> + <&gce1 SUBSYS_1c11XXXX 0x9000 0x1000>,
> + <&gce1 SUBSYS_1c11XXXX 0xA000 0x1000>,
> + <&gce1 SUBSYS_1c11XXXX 0xB000 0x1000>,
> + <&gce1 SUBSYS_1c11XXXX 0xC000 0x1000>,
> + <&gce1 SUBSYS_1c10XXXX 0x0000 0x1000>;
> + clocks = <&vdosys1 CLK_VDO1_DISP_MIXER>,
> + <&vdosys1 CLK_VDO1_HDR_VDO_FE0>,
> + <&vdosys1 CLK_VDO1_HDR_VDO_FE1>,
> + <&vdosys1 CLK_VDO1_HDR_GFX_FE0>,
> + <&vdosys1 CLK_VDO1_HDR_GFX_FE1>,
> + <&vdosys1 CLK_VDO1_HDR_VDO_BE>,
> + <&vdosys1 CLK_VDO1_26M_SLOW>,
> + <&vdosys1 CLK_VDO1_HDR_VDO_FE0_DL_ASYNC>,
> + <&vdosys1 CLK_VDO1_HDR_VDO_FE1_DL_ASYNC>,
> + <&vdosys1 CLK_VDO1_HDR_GFX_FE0_DL_ASYNC>,
> + <&vdosys1 CLK_VDO1_HDR_GFX_FE1_DL_ASYNC>,
> + <&vdosys1 CLK_VDO1_HDR_VDO_BE_DL_ASYNC>,
> + <&topckgen CLK_TOP_ETHDR_SEL>;
> + clock-names = "hdr_disp_mixer","hdr_vdo_fe0","hdr_vdo_fe1",
> + "hdr_gfx_fe0","hdr_gfx_fe1","hdr_vdo_be",
> + "hdr_adl_ds","hdr_vdo_fe0_async",
> + "hdr_vdo_fe1_async","hdr_gfx_fe0_async",
> + "hdr_gfx_fe1_async","hdr_vdo_be_async",
> + "ethdr_top";
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
> + mediatek,larb = <&larb3>;
> + mediatek,smi-id = <1>;
> + iommus = <&iommu_vpp M4U_PORT_L3_HDR_DS>,
> + <&iommu_vpp M4U_PORT_L3_HDR_ADL>;
> + interrupts = <GIC_SPI 517 IRQ_TYPE_LEVEL_HIGH 0>; /*disp mixer*/
> + };
> +
> hdmi0: hdmi@1c300000 {
> compatible = "mediatek,mt8195-hdmi";
> reg = <0 0x1c300000 0 0x1000>;
> @@ -2517,6 +2657,26 @@
> };
> };
>
> + disp_pseudo_ovl_l2 {
> + compatible = "mediatek,mt8195-pseudo-ovl-larb";
Ditto.
> + mediatek,larb-id = <2>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
> + iommus = <&iommu_vdo M4U_PORT_L2_MDP_RDMA0>,
> + <&iommu_vdo M4U_PORT_L2_MDP_RDMA2>,
> + <&iommu_vdo M4U_PORT_L2_MDP_RDMA4>,
> + <&iommu_vdo M4U_PORT_L2_MDP_RDMA6>;
> + };
> +
> + disp_pseudo_ovl_l3 {
> + compatible = "mediatek,mt8195-pseudo-ovl-larb";
Ditto.
Regards,
Chun-Kuang.
> + mediatek,larb-id = <3>;
> + power-domains = <&spm MT8195_POWER_DOMAIN_VDOSYS1>;
> + iommus = <&iommu_vpp M4U_PORT_L3_MDP_RDMA1>,
> + <&iommu_vpp M4U_PORT_L3_MDP_RDMA3>,
> + <&iommu_vpp M4U_PORT_L3_MDP_RDMA5>,
> + <&iommu_vpp M4U_PORT_L3_MDP_RDMA7>;
> + };
> +
> hdmiddc0: ddc_i2c {
> compatible = "mediatek,mt8195-hdmi-ddc";
> clocks = <&clk26m>;
> --
> 2.18.0
> _______________________________________________
> Linux-mediatek mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-mediatek
Hi Tnghan,
It looks like as if you send a whole bunch of device tree files which don't have
any binding description yet.
Can you please filter and only send these patches that actually have a binding
entry? That would make my life much easier.
Apart from that it would be good if you could ask internally to get some advice
how to improve Signed-off-by tags (I spotted at least one patch where yours was
missing) or how to improve commit messages.
Thanks!
Matthias
On 15/06/2021 19:32, Tinghan Shen wrote:
> This series is a collection of device nodes for Mediatek SoC MT8195 and
> depends on patches[1][2][3].
>
> The dependency list is not complete.
> some dependencies are still under working.
>
> [1] arm64: dts: Add Mediatek SoC MT8195 and evaluation board dts and Makefile
> https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
>
> [2] dt-bindings: power: Add MT8195 power domains
> https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
>
> [3] dt-bindings: pinctrl: mt8195: add pinctrl file and binding document
> https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
>
>