I'm working with a phycore vybrid SoM and I'm having some troubles binding the sgtl5000 audio codec using devicetree. As you can see, the codec driver could not be probed due to error -5. The dts looks like this: sound { compatible = "fsl,imx-audio-sgtl5000"; model = "phycore-vybrid-sgtl5000"; audio-cpu = <&sai2>; audio-codec = <&codec>; audio-routing = "MIC_IN", "Mic Jack", "Mic Jack", "Mic Bias", "Headphone Jack", "HP_OUT"; mux-int-port = <1>; mux-ext-port = <3>; }; /* .... */ &i2c2 { clock-frequency = <400000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; /* ... */ codec: sgtl5000@0a { compatible = "fsl,sgtl5000"; reg = <0x0a>; pinctrl-names = "default"; clocks = <&clks 150>; micbias-resistor-k-ohms = <2>; micbias-voltage-m-volts = <2250>; VDDA-supply = <®_3p3v>; VDDIO-supply = <®_3p3v>; }; }; /* ... */ &iomuxc { vf610-phycore { pinctrl_i2c2: i2c2grp { fsl,pins = < VF610_PAD_PTA22__I2C2_SCL 0x34d3 VF610_PAD_PTA23__I2C2_SDA 0x34d3 >; }; }; }; After the system boot, the output of dmesg looks like this: dmesg | grep sgtl5000 [ 1.856390] bus: 'i2c': add driver sgtl5000 [ 1.856441] bus: 'i2c': driver_probe_device: matched device 0-000a with driver sgtl5000 [ 1.856462] bus: 'i2c': really_probe: probing driver sgtl5000 with device 0-000a [ 1.856512] sgtl5000 0-000a: no default pinctrl state [ 1.857164] sgtl5000: probe of 0-000a failed with error -5 dmesg | grep sai [ 1.863020] bus: 'platform': add driver fsl-sai [ 1.863098] bus: 'platform': driver_probe_device: matched device 40031000.sai with driver fsl-sai [ 1.863121] bus: 'platform': really_probe: probing driver fsl-sai with device 40031000.sai [ 1.863276] fsl-sai 40031000.sai: no sleep pinctrl state [ 1.863301] fsl-sai 40031000.sai: no idle pinctrl state [ 1.863695] driver: '40031000.sai': driver_bound: bound to device 'fsl-sai' [ 1.863726] bus: 'platform': really_probe: bound device 40031000.sai to driver fsl-sai _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel