[PATCHv1 2/9] arm64: dts: amlogic: Add audio power domain for g12a and g12b

From: Anand Moon
Date: Mon May 03 2021 - 10:58:19 EST


Add audio power domain id for sound on g12a and g12b sbc
to enable audio power domain via "pwrc" controller.

Signed-off-by: Anand Moon <linux.amoon@xxxxxxxxx>
---
arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 1 +
arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 1 +
arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts | 1 +
arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts | 1 +
arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts | 1 +
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 1 +
arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts | 1 +
7 files changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
index 81269ccc2496..24599f448564 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts
@@ -217,6 +217,7 @@ sound {
assigned-clock-rates = <294912000>,
<270950400>,
<393216000>;
+ power-domains = <&pwrc PWRC_G12A_AUDIO_ID>;
status = "okay";

dai-link-0 {
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts
index 579f3d02d613..1c821800514a 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts
@@ -167,6 +167,7 @@ sound {
assigned-clock-rates = <294912000>,
<270950400>,
<393216000>;
+ power-domains = <&pwrc PWRC_G12A_AUDIO_ID>;
status = "okay";

dai-link-0 {
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts
index 6c7bfacbad78..99ed165a41c9 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts
@@ -49,6 +49,7 @@ sound {
assigned-clock-rates = <294912000>,
<270950400>,
<393216000>;
+ power-domains = <&pwrc PWRC_G12A_AUDIO_ID>;
status = "okay";

dai-link-0 {
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts
index 707daf92787b..6bcc4685e65b 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts
@@ -58,6 +58,7 @@ sound {
assigned-clock-rates = <294912000>,
<270950400>,
<393216000>;
+ power-domains = <&pwrc PWRC_G12A_AUDIO_ID>;
status = "okay";

dai-link-0 {
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts
index 5d96c1449050..555524cd50f2 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts
@@ -45,6 +45,7 @@ sound {
assigned-clock-rates = <294912000>,
<270950400>,
<393216000>;
+ power-domains = <&pwrc PWRC_G12A_AUDIO_ID>;
status = "okay";

dai-link-0 {
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
index 344573e157a7..e99533dd64c2 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
@@ -258,6 +258,7 @@ sound {
assigned-clock-rates = <294912000>,
<270950400>,
<393216000>;
+ power-domains = <&pwrc PWRC_G12A_AUDIO_ID>;
status = "okay";

dai-link-0 {
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts
index 0c7892600d56..4b12685af1ad 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts
@@ -40,6 +40,7 @@ sound {
assigned-clock-rates = <294912000>,
<270950400>,
<393216000>;
+ power-domains = <&pwrc PWRC_G12A_AUDIO_ID>;
status = "okay";

dai-link-0 {
--
2.31.1