diff mbox series

[1/1] arm64: dts: tqma8mnql: Add EASRC support

Message ID 20240412132021.520666-1-alexander.stein@ew.tq-group.com (mailing list archive)
State Superseded
Headers show
Series [1/1] arm64: dts: tqma8mnql: Add EASRC support | expand

Commit Message

Alexander Stein April 12, 2024, 1:20 p.m. UTC
Enable EASRC support in tlv320aic32x4 sound card.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
Note that the firmware file /lib/firmware/imx/easrc/easrc-imx8mn.bin
is needed.

 arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx.dts | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi       | 4 ++++
 arch/arm64/boot/dts/freescale/mba8mx.dtsi                 | 2 +-
 3 files changed, 9 insertions(+), 1 deletion(-)

Comments

Shawn Guo April 22, 2024, 5:40 a.m. UTC | #1
On Fri, Apr 12, 2024 at 03:20:21PM +0200, Alexander Stein wrote:
> Enable EASRC support in tlv320aic32x4 sound card.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Hmm, it doesn't apply to imx/dt64 branch.

Shawn
Alexander Stein April 22, 2024, 6:11 a.m. UTC | #2
Hi Shawn,

Am Montag, 22. April 2024, 07:40:27 CEST schrieb Shawn Guo:
> On Fri, Apr 12, 2024 at 03:20:21PM +0200, Alexander Stein wrote:
> > Enable EASRC support in tlv320aic32x4 sound card.
> > 
> > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> 
> Hmm, it doesn't apply to imx/dt64 branch.

Thanks for that information. As you need a dedicated firmware, which is not
included in linux-firmware, I will withhold/drop this patch for now.

Thanks
Alexander
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx.dts b/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx.dts
index 433d8bba4425..b05be5b39d45 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx.dts
@@ -74,6 +74,10 @@  &sai3 {
 		 <&clk IMX8MN_AUDIO_PLL2_OUT>;
 };
 
+&sound {
+	audio-asrc = <&easrc>;
+};
+
 &tlv320aic3x04 {
 	clock-names = "mclk";
 	clocks = <&clk IMX8MN_CLK_SAI3_ROOT>;
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi
index fb24b9aa1b93..db47c718e719 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi
@@ -52,6 +52,10 @@  &A53_0 {
 	cpu-supply = <&buck2_reg>;
 };
 
+&easrc {
+	status = "okay";
+};
+
 &flexspi {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_flexspi>;
diff --git a/arch/arm64/boot/dts/freescale/mba8mx.dtsi b/arch/arm64/boot/dts/freescale/mba8mx.dtsi
index 0dc48e514baa..daba4ba14627 100644
--- a/arch/arm64/boot/dts/freescale/mba8mx.dtsi
+++ b/arch/arm64/boot/dts/freescale/mba8mx.dtsi
@@ -157,7 +157,7 @@  reg_vcc_5v0: regulator-5v0 {
 		regulator-always-on;
 	};
 
-	sound {
+	sound: sound {
 		compatible = "fsl,imx-audio-tlv320aic32x4";
 		model = "imx-audio-tlv320aic32x4";
 		ssi-controller = <&sai3>;