static struct rk312x_reg_val_typ rk312x_codec_linein_bypass[] = {
{0x18, 0x32},
{0xa0, 0x40|0x08},
{0xa0, 0x62|0x08},
{0xa4, 0x88},
{0xa4, 0xcc},
{0xa4, 0xee},
{0xa8, 0x44},
{0xb0, 0x92},
{0xb0, 0xdb},
{0xac, 0x66}, /*bypass*/
{0xa8, 0x55},
{0xa8, 0x77},
{0xa4, 0xff},
{0xb0, 0xff},
{0xa0, 0x73|0x08},
{0xb4, OUT_VOLUME},
{0xb8, OUT_VOLUME},
{0x88, 0x80},
{0x88, 0xc0},
{0x88, 0xc7},
{0x9c, 0x88},
{0x8c, 0x04},
{0x90, 0x66},
{0x9c, 0xcc},
{0x9c, 0xee},
{0x8c, 0x07},
{0x90, 0xbb},// line in
{0x94, 0x20 | CAP_VOL},
{0x98, CAP_VOL},
{0x88, 0xf7},
{0x28, 0x3c},
/* {0x124, 0x78}, /
/ {0x164, 0x78}, */
{0x10c, 0x20 | CAP_VOL},
{0x14c, 0x20 | CAP_VOL},
这组数据,貌似是写soc的,插入中断时,直接就切到了line out。
能否告知,寄存器的作用和这组数据的写法,我要控制line in 插入时不到line out。并且关闭板载mic |