Enable EASRC support in tlv320aic32x4 sound card.
Signed-off-by: Alexander Stein <[email protected]>
---
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(-)
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>;
--
2.34.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 <[email protected]>
Hmm, it doesn't apply to imx/dt64 branch.
Shawn
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 <[email protected]>
>
> 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
--
TQ-Systems GmbH | M?hlstra?e 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht M?nchen, HRB 105018
Gesch?ftsf?hrer: Detlef Schneider, R?diger Stahl, Stefan Schneider
http://www.tq-group.com/