diff mbox series

[v2,3/3] arm64: dts: mt8183: remove syscon from smi_common node

Message ID 20210601040014.2970805-1-hsinyi@chromium.org (mailing list archive)
State New, archived
Headers show
Series [v2,1/3] soc: mtk-pm-domains: Fix the clock prepared issue | expand

Commit Message

Hsin-Yi Wang June 1, 2021, 4 a.m. UTC
We don't need to register smi_common as syscon. Also add required
property power-domains for this node.

Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt8183.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Matthias Brugger June 2, 2021, 12:15 p.m. UTC | #1
On 01/06/2021 06:00, Hsin-Yi Wang wrote:
> We don't need to register smi_common as syscon. Also add required
> property power-domains for this node.
> 
> Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
> Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>

Applied to v5.13-next/dts64

Thanks!

> ---
>  arch/arm64/boot/dts/mediatek/mt8183.dtsi | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> index c5e822b6b77a..e074c0d402ff 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> @@ -1263,13 +1263,14 @@ larb0: larb@14017000 {
>  		};
>  
>  		smi_common: smi@14019000 {
> -			compatible = "mediatek,mt8183-smi-common", "syscon";
> +			compatible = "mediatek,mt8183-smi-common";
>  			reg = <0 0x14019000 0 0x1000>;
>  			clocks = <&mmsys CLK_MM_SMI_COMMON>,
>  				 <&mmsys CLK_MM_SMI_COMMON>,
>  				 <&mmsys CLK_MM_GALS_COMM0>,
>  				 <&mmsys CLK_MM_GALS_COMM1>;
>  			clock-names = "apb", "smi", "gals0", "gals1";
> +			power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
>  		};
>  
>  		imgsys: syscon@15020000 {
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index c5e822b6b77a..e074c0d402ff 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
@@ -1263,13 +1263,14 @@  larb0: larb@14017000 {
 		};
 
 		smi_common: smi@14019000 {
-			compatible = "mediatek,mt8183-smi-common", "syscon";
+			compatible = "mediatek,mt8183-smi-common";
 			reg = <0 0x14019000 0 0x1000>;
 			clocks = <&mmsys CLK_MM_SMI_COMMON>,
 				 <&mmsys CLK_MM_SMI_COMMON>,
 				 <&mmsys CLK_MM_GALS_COMM0>,
 				 <&mmsys CLK_MM_GALS_COMM1>;
 			clock-names = "apb", "smi", "gals0", "gals1";
+			power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
 		};
 
 		imgsys: syscon@15020000 {