Hi, I'm using TLV320ADC3100, because there is no driver of this chip in my current Linux version 4.14, then I found the source code on TI git, as the attachment was downloaded on linux5.0.
The changes are as follows: modify Kconfig and Makefile in directory sound/soc/codes
Kconfig changes:
Add:
The select SND_SOC_TLV320AIC31XX if I2C
Add:
The config SND_SOC_TLV320AIC31XX
tristate "Texas Instruments TLV320AIC31xx CODECs"
depends on the I2C
the select REGMAP_I2C
Makefile modified as follows:
Add:
SND - soc - tlv320aic31xx - objs: = tlv320aic31xx. O
Add:
Obj - $(CONFIG_SND_SOC_TLV320AIC31XX) + = SND - soc - tlv320aic31xx. O
After opening menuconfig and selecting the driver y , the kernel compilation appears
Make [3] : * * * No rule to make target 'sound / / codecs tlv320aic31xx soc.' o, men by 'sound/soc/codecs/SND - soc - tlv320aic31xx. O'. Stop.
Scripts/Makefile. Build: 573: a recipe for target 'sound / / codecs soc' failed
Make [2]: *** [sound/soc/codecs] Error 2
*** Waiting for unfinished jobs...
Scripts/Makefile. Build: 573: a recipe for target 'sound/soc' failed
Make [1]: *** [sound/soc] Error 2
Makefile:1024: recipe for target 'sound' failed
Make: *** [sound] Error 2
Waiting for unfinished jobs...
AR kernel/built - in. O
I want to ask what else needs to be modified?