Hello ,
I’m trying to implement a audio application on jetson xavier nx with a mic using I2S0 on the board.
I use NVIDIA environment to develop my app .
I’ll try di patch the devitrre with :
`diff --git a/kernel-dts/tegra194-soc/tegra194-soc-audio.dtsi b/kernel-dts/tegra194-soc/tegra194-soc-audio.dtsi
index fe28e08…2c6486a 100644
— a/kernel-dts/tegra194-soc/tegra194-soc-audio.dtsi
+++ b/kernel-dts/tegra194-soc/tegra194-soc-audio.dtsi
@@ -277,16 +277,18 @@
<&bpmp_clks TEGRA194_CLK_PLLA_OUT0>,
<&bpmp_clks TEGRA194_CLK_I2S1_SYNC_INPUT>,
<&bpmp_clks TEGRA194_CLK_SYNC_I2S1>,
-
<&bpmp_clks TEGRA194_CLK_I2S1_SYNC_INPUT>;
-
<&bpmp_clks TEGRA194_CLK_I2S1_SYNC_INPUT>,
-
<&bpmp_clks TEGRA194_CLK_AUD_MCLK>; clock-names = "i2s", "i2s_clk_parent", "ext_audio_sync",
-
"audio_sync", "clk_sync_input";
-
"audio_sync", "clk_sync_input", "aud_mclk"; assigned-clocks =
-
<&bpmp_clks TEGRA194_CLK_I2S1>;
-
<&bpmp_clks TEGRA194_CLK_I2S1>,
:…skipping…
diff --git a/kernel-dts/tegra194-soc/tegra194-soc-audio.dtsi b/kernel-dts/tegra194-soc/tegra194-soc-audio.dtsi
index fe28e08…2c6486a 100644
— a/kernel-dts/tegra194-soc/tegra194-soc-audio.dtsi
+++ b/kernel-dts/tegra194-soc/tegra194-soc-audio.dtsi
@@ -277,16 +277,18 @@
<&bpmp_clks TEGRA194_CLK_PLLA_OUT0>,
<&bpmp_clks TEGRA194_CLK_I2S1_SYNC_INPUT>,
<&bpmp_clks TEGRA194_CLK_SYNC_I2S1>,
-
<&bpmp_clks TEGRA194_CLK_I2S1_SYNC_INPUT>;
-
<&bpmp_clks TEGRA194_CLK_I2S1_SYNC_INPUT>,
-
<&bpmp_clks TEGRA194_CLK_AUD_MCLK>; clock-names = "i2s", "i2s_clk_parent", "ext_audio_sync",
-
"audio_sync", "clk_sync_input";
-
"audio_sync", "clk_sync_input", "aud_mclk"; assigned-clocks =
-
<&bpmp_clks TEGRA194_CLK_I2S1>;
-
<&bpmp_clks TEGRA194_CLK_I2S1>,
-
<&bpmp_clks TEGRA194_CLK_AUD_MCLK>; assigned-clock-parents = <&bpmp_clks TEGRA194_CLK_PLLA_OUT0>; assigned-clock-rates = <1536000>; fsync-width = <31>;
-
status = "disabled";
-
status = "okay"; }; tegra_i2s2: i2s@2901100 {`
But i can’t read audio input and i don’t have the aud_mclk on pin 211 (GPIO9).
What modification should be done on the device-tre to be able to use an I2s input .
Thanks