R32.3.1 tx2-4g tegra-asoc: sound: ASoC: no source widget found for x OUT

got a driver ak4637 compiled and in the system, have made changes to the device tree, and now I need to know where the widgets get defined.

dmesg has good messages but then

[ 2.031782] tegra-asoc: sound: ADMAIF17 <-> ADMAIF17 mapping ok
[ 2.031901] tegra-asoc: sound: ADMAIF18 <-> ADMAIF18 mapping ok
[ 2.032020] tegra-asoc: sound: ADMAIF19 <-> ADMAIF19 mapping ok
[ 2.032140] tegra-asoc: sound: ADMAIF20 <-> ADMAIF20 mapping ok
[ 2.035964] [AK4637] ak4637_set_dai_fmt(1484)
[ 2.035971] [AK4637] ak4637_set_dai_fmt(Slave)
[ 2.037015] [ak4637] ak4637_i2c_write: (addr,data)=(7, 3)
[ 2.048470] tegra-asoc: sound: ASoC: no source widget found for x OUT
[ 2.054977] tegra-asoc: sound: ASoC: Failed to add route x OUT → direct → x Headphone
[ 2.063111] tegra-asoc: sound: ASoC: no sink widget found for x IN
[ 2.070416] tegra-asoc: sound: ASoC: Failed to add route x Mic → direct → x IN

Thanks,
Terry

Hello!

These widgets are defined in the driver. For example for the ak4671 I see these. So you need to update the audio-routing in device-tree with the correct widget name for the codec.

Regards,
Jon