mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
Codec:add CX20701 support in rk3188 android computer board
This commit is contained in:
@@ -24,7 +24,7 @@ CONFIG_ARCH_RK3188=y
|
||||
# CONFIG_DDR_TEST is not set
|
||||
CONFIG_RK_CLOCK_PROC=y
|
||||
CONFIG_RK_USB_UART=y
|
||||
CONFIG_MACH_RK3188_DS1006H=y
|
||||
CONFIG_MACH_RK3188_AC=y
|
||||
CONFIG_FIQ_DEBUGGER=y
|
||||
CONFIG_FIQ_DEBUGGER_NO_SLEEP=y
|
||||
CONFIG_FIQ_DEBUGGER_CONSOLE=y
|
||||
@@ -300,13 +300,12 @@ CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||
# CONFIG_BACKLIGHT_GENERIC is not set
|
||||
CONFIG_DISPLAY_SUPPORT=y
|
||||
CONFIG_LCD_DS1006H=y
|
||||
# CONFIG_RK610_TVOUT is not set
|
||||
CONFIG_FB_ROCKCHIP=y
|
||||
CONFIG_DUAL_LCDC_DUAL_DISP_IN_KERNEL=y
|
||||
CONFIG_LCDC_RK3188=y
|
||||
CONFIG_LCDC0_RK3188=y
|
||||
CONFIG_LCDC1_RK3188=y
|
||||
CONFIG_LCD_DS1006H=y
|
||||
CONFIG_RK_HDMI=y
|
||||
CONFIG_HDMI_CAT66121=y
|
||||
CONFIG_RK_HDMI_CTL_CODEC=y
|
||||
@@ -322,9 +321,9 @@ CONFIG_SND=y
|
||||
# CONFIG_SND_ARM is not set
|
||||
CONFIG_SND_SOC=y
|
||||
CONFIG_SND_RK29_SOC=y
|
||||
CONFIG_SND_I2S_USE_33V=y
|
||||
CONFIG_SND_I2S_DMA_EVENT_STATIC=y
|
||||
CONFIG_SND_RK29_SOC_RT5631=y
|
||||
CONFIG_SND_RK_SOC_HDMI_I2S=y
|
||||
CONFIG_SND_RK29_SOC_CX2070X=y
|
||||
CONFIG_SND_RK29_CODEC_SOC_SLAVE=y
|
||||
CONFIG_UHID=y
|
||||
CONFIG_HID_A4TECH=y
|
||||
|
||||
7
arch/arm/mach-rk3188/board-rk3188-ac.c
Normal file → Executable file
7
arch/arm/mach-rk3188/board-rk3188-ac.c
Normal file → Executable file
@@ -1384,6 +1384,13 @@ static struct i2c_board_info __initdata i2c0_info[] = {
|
||||
.flags = 0,
|
||||
},
|
||||
#endif
|
||||
#if defined (CONFIG_SND_SOC_CX2070X)
|
||||
{
|
||||
.type = "cx2070x",
|
||||
.addr = 0x14,
|
||||
.flags = 0,
|
||||
},
|
||||
#endif
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -281,6 +281,11 @@ static struct snd_soc_jack_gpio hs_jack_gpios[] = {
|
||||
|
||||
#endif //CONFIG_SND_CX2070X_GPIO_JACKSENSE
|
||||
|
||||
void codec_set_spk(bool on)
|
||||
{
|
||||
}
|
||||
EXPORT_SYMBOL(codec_set_spk);
|
||||
|
||||
#if defined(CONFIG_SND_CX2070X_LOAD_FW)
|
||||
int I2cWrite( struct snd_soc_codec *codec, unsigned char ChipAddr, unsigned long cbBuf, unsigned char* pBuf);
|
||||
int I2cWriteThenRead( struct snd_soc_codec *codec, unsigned char ChipAddr, unsigned long cbBuf,
|
||||
|
||||
Reference in New Issue
Block a user