Hi All,
We are trying to integrate Audio codec to TX1. TX1 is in I2S Mater mode and Audio codec is in I2S Slave mode. Card/Codec registration is successful and appears in the ALSA device list.
In U-boot, Pin muxing for I2S1 is done.
Below is the required kernel device tree information edited by us-
=================================================================================
i2s@702d1000 {
pinctrl-names = “dap_active”, “dap_inactive”;
pinctrl-0 = <>;
pinctrl-1 = <>;
regulator-supplies = “vdd-1v8-audio-hv”, “vdd-1v8-audio-hv-bias”;
vdd-1v8-audio-hv-supply = <&max77620_sd3>;
vdd-1v8-audio-hv-bias-supply = <&max77620_sd3>;
status=“okay”;
};
sound_card: sound {
compatible = “nvidia,tegra-audio-t210ref”;
nvidia,model = “tegra-snd-t210ref”;
nvidia,num-codec-link = <1>;
/* nvidia,audio-routing= NOT USED*/
nvidia,xbar = <&tegra_axbar>;
nvidia,dai-link-1 {
link-name = "tlv320adc3101-capture";
cpu-dai = <&tegra_i2s1>;
codec-dai = <&tlv320adc3101>;
cpu-dai-name = "I2S1";
codec-dai-name = "tlv320adc3101-asi";
format = "i2s";
bitclock-slave;
frame-slave;
bitclock-noninversion;
frame-noninversion;
bit-format = "s16_le";
bclk_ratio = <0>;
srate = <44100>;
num-channel = <2>;
ignore_suspend;
name-prefix = "x";
};
};
===============================================================
Observation:
- AUD_MCLK is generated.
- I2S BCLK and WCLK from TX1 is NOT generated
Questions:
- Even after setting TX1 in I2S master mode, I2S BCLK and WCLK are not generated. What are the various settings that affects CLK generation?
- How can we confirm TX1 is in I2S master mode ?
Thanks
Mohan