Hello!
I have a eMMC version of Jetson Nano module, we have a custom carrier board with a MAX98357 amplifier. This connected to the jetson nano module I2S0 port. As default the I2S was disabled, itried to enable it by modifying the device tree. Added a new node to the “sound” part and recompiled the modified device-tree file. I found many posts with similar situation and it looked to me that is the way to use the I2S(because the python based configurator script listed only the CSI lanes).
I tried to check the effect of the modification the following
cat /proc/device-tree/aconnect@702c0000/ahub/i2s@702d1000/status
return ‘okay’ which tells me the i2s enabled but the dai link not works I think because
aplay -l
Not listing I2S as device.
This is the node I added to the device tree:
nvidia,dai-link-5 {
link-name = "i2s1-max98357";
cpu-dai = <&i2s1>;
codec-dai = <&simple_audio_codec>;
cpu-dai-name = "I2S1";
codec-dai-name = "HIFI";
format = "i2s";
bitclock-master;
frame-master;
bitclock-noninversion;
frame-noninversion;
bit-format = "s16_le";
srate = <0xbb80>;
num-channel = <0x2>;
ignore_suspend;
name-prefix = "x";
status = "okay";
};
I read the " Audio Setup and Development" documentation(and I will read it again), but not really sure how to move forward and I would be grateful any help or clue to the solution.