linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: mediatek: mt8173: Add gce-client-reg to display od/ufo
@ 2021-11-04 13:52 AngeloGioacchino Del Regno
  2021-11-17 17:49 ` Matthias Brugger
  0 siblings, 1 reply; 2+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-11-04 13:52 UTC (permalink / raw)
  To: robh+dt
  Cc: matthias.bgg, devicetree, linux-arm-kernel, linux-mediatek,
	linux-kernel, kernel, AngeloGioacchino Del Regno

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

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 {
-- 
2.33.1


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt8173: Add gce-client-reg to display od/ufo
  2021-11-04 13:52 [PATCH] arm64: dts: mediatek: mt8173: Add gce-client-reg to display od/ufo AngeloGioacchino Del Regno
@ 2021-11-17 17:49 ` Matthias Brugger
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Brugger @ 2021-11-17 17:49 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, robh+dt
  Cc: devicetree, linux-arm-kernel, linux-mediatek, linux-kernel,
	kernel



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 {
> 

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-17 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-04 13:52 [PATCH] arm64: dts: mediatek: mt8173: Add gce-client-reg to display od/ufo AngeloGioacchino Del Regno
2021-11-17 17:49 ` Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).