天嵌3399开发板移植移植ALC5640连载1-添加驱动

2021年11月05日 10:37    发布者:Embedsky007
                                                                                                                       
平台:TQ3399
内核:Linux4.4

驱动的添加:
1.添加驱动


2.修改 sound/soc/codec/Kconfig以及Makefile加入驱动编译
sound/soc/codec/Kconfig:


sound/soc/codec/Makefile


3.menuconfig中 enable simple card 以及 codec
makemenuconfig
Device Drivers --->
[*] Sound card support --->
[*] Advanced Linux Sound Architecture --->
[*] ALSA for SoC audio support --->
[*]  ASoC support for Rockchip
[*]   Rockchip I2S Device Driver
  CODEC drivers --->
       [*] Realtek ALC5640 CODEC
   [*] ASoC Simple sound card support

4.在dts中添加节点
rk3399-excavator-sapphire.dtsi