diff mbox series

arm64: dts: mediatek: mt8173: Add gce-client-reg to display od/ufo

Message ID 20211104135254.580257-1-angelogioacchino.delregno@collabora.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: mediatek: mt8173: Add gce-client-reg to display od/ufo | expand

Commit Message

AngeloGioacchino Del Regno Nov. 4, 2021, 1:52 p.m. UTC
In order to use CMDQ commands on these two IPs, we need to declare
the appropriate mediatek,gce-client-reg for them.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Matthias Brugger Nov. 17, 2021, 5:49 p.m. UTC | #1
On 04/11/2021 14:52, AngeloGioacchino Del Regno wrote:
> In order to use CMDQ commands on these two IPs, we need to declare
> the appropriate mediatek,gce-client-reg for them.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

Now applied to v5.16-next/dts64 thanks!

> ---
>   arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> index dee66e5f054c..2b7d331a4588 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
> @@ -1212,6 +1212,7 @@ ufoe@1401a000 {
>   			interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_LOW>;
>   			power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
>   			clocks = <&mmsys CLK_MM_DISP_UFOE>;
> +			mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0xa000 0x1000>;
>   		};
>   
>   		dsi0: dsi@1401b000 {
> @@ -1316,6 +1317,7 @@ od@14023000 {
>   			compatible = "mediatek,mt8173-disp-od";
>   			reg = <0 0x14023000 0 0x1000>;
>   			clocks = <&mmsys CLK_MM_DISP_OD>;
> +			mediatek,gce-client-reg = <&gce SUBSYS_1402XXXX 0x3000 0x1000>;
>   		};
>   
>   		hdmi0: hdmi@14025000 {
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index dee66e5f054c..2b7d331a4588 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -1212,6 +1212,7 @@  ufoe@1401a000 {
 			interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_LOW>;
 			power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
 			clocks = <&mmsys CLK_MM_DISP_UFOE>;
+			mediatek,gce-client-reg = <&gce SUBSYS_1401XXXX 0xa000 0x1000>;
 		};
 
 		dsi0: dsi@1401b000 {
@@ -1316,6 +1317,7 @@  od@14023000 {
 			compatible = "mediatek,mt8173-disp-od";
 			reg = <0 0x14023000 0 0x1000>;
 			clocks = <&mmsys CLK_MM_DISP_OD>;
+			mediatek,gce-client-reg = <&gce SUBSYS_1402XXXX 0x3000 0x1000>;
 		};
 
 		hdmi0: hdmi@14025000 {