public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
To: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Chun-Jie Chen <chun-jie.chen@mediatek.com>,
	Stephen Boyd <sboyd@kernel.org>, Ikjoon Jang <ikjn@chromium.org>
Cc: <Project_Global_Chrome_Upstream_Group@mediatek.com>,
	<angelogioacchino.delregno@collabora.com>,
	<devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>,
	<linux-mediatek@lists.infradead.org>,
	Chen-Yu Tsai <wenst@chromium.org>,
	Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Subject: [PATCH v2 6/6] arm64: dts: mediatek: Add the missing ADSP power domains controller for MT8192
Date: Wed, 21 Dec 2022 11:44:07 +0800	[thread overview]
Message-ID: <20221221034407.19605-7-allen-kh.cheng@mediatek.com> (raw)
In-Reply-To: <20221221034407.19605-1-allen-kh.cheng@mediatek.com>

Add the missing ADSP power domains controller for mt8192-scp_adsp clock
controllers.

Fixes: 5d2b897bc6f5 ("arm64: dts: mediatek: Add mt8192 clock controllers")
Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
index 6b20376191a7..6ee60db3ac23 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
@@ -511,6 +511,14 @@
 						};
 					};
 				};
+
+				power-domain@MT8192_POWER_DOMAIN_ADSP {
+					reg = <MT8192_POWER_DOMAIN_ADSP>;
+					clocks = <&topckgen CLK_TOP_ADSP_SEL>;
+					clock-names = "adsp";
+					mediatek,infracfg = <&infracfg>;
+					#power-domain-cells = <0>;
+				};
 			};
 		};
 
@@ -574,6 +582,7 @@
 		scp_adsp: clock-controller@10720000 {
 			compatible = "mediatek,mt8192-scp_adsp";
 			reg = <0 0x10720000 0 0x1000>;
+			power-domains = <&spm MT8192_POWER_DOMAIN_ADSP>;
 			#clock-cells = <1>;
 		};
 
-- 
2.18.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-12-21  3:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-21  3:44 [PATCH v2 0/6] Add ADSP power domains controller support for MT8192 Allen-KH Cheng
2022-12-21  3:44 ` [PATCH v2 1/6] soc: mediatek: pm-domains: Add buck isolation offset and mask to power domain data Allen-KH Cheng
2022-12-21 10:18   ` AngeloGioacchino Del Regno
2022-12-21  3:44 ` [PATCH v2 2/6] soc: mediatek: pm-domains: Add buck isolation setting in power domain Allen-KH Cheng
2022-12-21 10:20   ` AngeloGioacchino Del Regno
2022-12-21  3:44 ` [PATCH v2 3/6] dt-bindings: power: Add MT8192 ADSP " Allen-KH Cheng
2022-12-21 10:21   ` AngeloGioacchino Del Regno
2022-12-21  3:44 ` [PATCH v2 4/6] soc: mediatek: pm-domains: Add ADSP power domain data for MT8192 Allen-KH Cheng
2022-12-21 10:21   ` AngeloGioacchino Del Regno
2023-02-03 13:07   ` Matthias Brugger
2022-12-21  3:44 ` [PATCH v2 5/6] dt-bindings: arm: mediatek: Add missing power-domains property Allen-KH Cheng
2022-12-21  8:18   ` Krzysztof Kozlowski
2022-12-29 10:15     ` Chen-Yu Tsai
2022-12-21 10:22   ` AngeloGioacchino Del Regno
2022-12-21 10:33     ` Krzysztof Kozlowski
2022-12-21 10:34       ` AngeloGioacchino Del Regno
2022-12-21  3:44 ` Allen-KH Cheng [this message]
2022-12-21 10:23   ` [PATCH v2 6/6] arm64: dts: mediatek: Add the missing ADSP power domains controller for MT8192 AngeloGioacchino Del Regno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221221034407.19605-7-allen-kh.cheng@mediatek.com \
    --to=allen-kh.cheng@mediatek.com \
    --cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=chun-jie.chen@mediatek.com \
    --cc=devicetree@vger.kernel.org \
    --cc=ikjn@chromium.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=wenst@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox