Hi,
RT5640 codec probe is not happening because I2C address is wrong in your change.
i2c@3160000 {
status = “okay”;
rt5640_codec: rt5640_codec@1c {
compatible = "realtek,rt5640";
reg = <0x1c>;
status = "okay";
};
};
Along with this, you will have to fix DAPM widget routing (nvidia,audio-routing) in the device tree based on the latest RT5640 codec driver. You may refer audio codec 5640 in tx2 (uses older version of codec driver). DAPM widgets name might be different in latest driver. Hope this helps.
Thanks,
Sharad