On Tue, Sep 5, 2017 at 6:13 PM, =C5=81ukasz Majewski [off-list ref] wrote:
&i2c1 {
clock-frequency =3D <400000>;
pinctrl-names =3D "default";
pinctrl-0 =3D <&pinctrl_i2c1>;
status =3D "okay";
codec: tfa9879@6C {
#sound-dai-cells =3D <0>;
compatible =3D "tfa9879";
This codec seems to miss device tree support. Don't you need something
like this?
--- a/sound/soc/codecs/tfa9879.c
+++ b/sound/soc/codecs/tfa9879.c
@@ -312,9 +312,15 @@ static const struct i2c_device_id tfa9879_i2c_id[] =3D=
{
};
MODULE_DEVICE_TABLE(i2c, tfa9879_i2c_id);
+static const struct of_device_id tfa9879_of_match[] =3D {
+ { .compatible =3D "nxp,tfa9879", },
+ { }
+};
+
static struct i2c_driver tfa9879_i2c_driver =3D {
.driver =3D {
.name =3D "tfa9879",
+ .of_match_table =3D tfa9879_of_match,
},
.probe =3D tfa9879_i2c_probe,
.remove =3D tfa9879_i2c_remove,