From: wuhao Date: Thu, 28 Mar 2013 07:57:33 +0000 (+0800) Subject: rk3188 sdk: config rt5616 X-Git-Tag: firefly_0821_release~7320 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7459a223dd97615c53269e4b38f57d20e1966e11;p=firefly-linux-kernel-4.4.55.git rk3188 sdk: config rt5616 --- diff --git a/arch/arm/configs/rk3188_sdk_defconfig b/arch/arm/configs/rk3188_sdk_defconfig index 4fced8d929a6..55ad3455026e 100644 --- a/arch/arm/configs/rk3188_sdk_defconfig +++ b/arch/arm/configs/rk3188_sdk_defconfig @@ -320,7 +320,7 @@ CONFIG_SND=y CONFIG_SND_SOC=y CONFIG_SND_RK29_SOC=y CONFIG_SND_I2S_DMA_EVENT_STATIC=y -CONFIG_SND_RK29_SOC_RT5631=y +CONFIG_SND_RK29_SOC_RT5616=y CONFIG_SND_RK29_CODEC_SOC_SLAVE=y CONFIG_UHID=y CONFIG_HID_A4TECH=y diff --git a/arch/arm/mach-rk3188/board-rk3188-sdk.c b/arch/arm/mach-rk3188/board-rk3188-sdk.c index 2d8004d5dede..65f8288d0046 100644 --- a/arch/arm/mach-rk3188/board-rk3188-sdk.c +++ b/arch/arm/mach-rk3188/board-rk3188-sdk.c @@ -2052,6 +2052,15 @@ static struct i2c_board_info __initdata i2c3_info[] = { #ifdef CONFIG_I2C4_RK30 static struct i2c_board_info __initdata i2c4_info[] = { + #if defined (CONFIG_SND_SOC_RT5616) + { + .type = "rt5616", + .addr = 0x1b, + .flags = 0, + + }, + #endif + }; #endif