[Nook Color Android Development] keyodi:
Audio

@fattire or anyone interested

I was finally able to get the sound driver detected, but i'm not getting any sound from either the jack or external speaker. I pushed my changes up, so you can take a look at it. I'm probably missing something or the codec may need to modified, not sure...

<6><6>aic31xx_i2c_init: mod init
<6><6>tlv320aic31xx_i2c_probe: started
<4>DEVICE :::::::::::::::::::::::::::: tlv320aic31xx-codec
<6>aic31xx_register sucess...
<6>tlv320aic31xx_i2c_probe exited...
<4>omap3epd-sound: Audio SoC init +
<6>+aic31xx_probe: function entered
<6><1>##+tlv320aic31xx_init
<6>mmc0: new high speed MMC card at address 0001
<6>mmcblk0: mmc0:0001 SEM08G 7.39 GiB
<6>mmcblk0boot0: mmc0:0001 SEM08G partition 1 1.00 MiB
<6>mmcblk0boot1: mmc0:0001 SEM08G partition 2 1.00 MiB
<6>(stk) :ldisc_install = 1
<6> mmcblk0: p1 p2 p3 p4 < p5 p6 p7 p8 >
<6> mmcblk0boot1: unknown partition table
<6> mmcblk0boot0: unknown partition table
<6>aic31xx_dac_mute: mute = 1	priv->mute = 0	headset_detect = 1
<6>### Page 0 Regs from 0 to 95
<6>reg = 0 val = 0
<6>reg = 1 val = 0
<6>reg = 2 val = 1
<6>reg = 3 val = 66
<6>reg = 4 val = 3
<6>reg = 5 val = 11
<6>reg = 6 val = 4
<6>reg = 7 val = 0
<6>reg = 8 val = 0
<6>reg = 9 val = 0
<6>reg = 10 val = 0
<6>reg = 11 val = 1
<6>reg = 12 val = 1
<6>reg = 13 val = 0
<6>reg = 14 val = 80
<6>reg = 15 val = 80
<6>reg = 16 val = 8
<6>reg = 17 val = 0
<6>reg = 18 val = 1
<6>reg = 19 val = 1
<6>reg = 20 val = 80
<6>reg = 21 val = 80
<6>reg = 22 val = 4
<6>reg = 23 val = 0
<6>reg = 24 val = 0
<6>reg = 25 val = 0
<6>reg = 26 val = 1
<6>reg = 27 val = 0
<6>reg = 28 val = 0
<6>reg = 29 val = 1
<6>reg = 30 val = 1
<6>reg = 31 val = 0
<6>reg = 32 val = 0
<6>reg = 33 val = 0
<6>reg = 34 val = 0
<6>reg = 35 val = 0
<6>reg = 36 val = 80
<6>reg = 37 val = 0
<6>reg = 38 val = 0
<6>reg = 39 val = 0
<6>reg = 40 val = 0
<6>reg = 41 val = 0
<6>reg = 42 val = 0
<6>reg = 43 val = 0
<6>reg = 44 val = 0
<6>reg = 45 val = 0
<6>reg = 46 val = 0
<6>reg = 47 val = 0
<6>reg = 48 val = c0
<6>reg = 49 val = 0
<6>reg = 50 val = 0
<6>reg = 51 val = 2
<6>reg = 52 val = 32
<6>reg = 53 val = 12
<6>reg = 54 val = 3
<6>reg = 55 val = 2
<6>reg = 56 val = 2
<6>reg = 57 val = 11
<6>reg = 58 val = 10
<6>reg = 59 val = 0
<6>reg = 60 val = 1
<6>reg = 61 val = 4
<6>reg = 62 val = 0
<6>reg = 63 val = 14
<6>reg = 64 val = c
<6>reg = 65 val = 0
<6>reg = 66 val = 0
<6>reg = 67 val = 87
<6>reg = 68 val = 1a
<6>reg = 69 val = 0
<6>reg = 70 val = b6
<6>reg = 71 val = 0
<6>reg = 72 val = 0
<6>reg = 73 val = 0
<6>reg = 74 val = 0
<6>reg = 75 val = ee
<6>reg = 76 val = 10
<6>reg = 77 val = d8
<6>reg = 78 val = 7e
<6>reg = 79 val = e3
<6>reg = 80 val = 0
<6>reg = 81 val = 0
<6>reg = 82 val = 80
<6>reg = 83 val = 0
<6>reg = 84 val = 0
<6>reg = 85 val = 0
<6>reg = 86 val = 0
<6>reg = 87 val = 0
<6>reg = 88 val = 7f
<6>reg = 89 val = 0
<6>reg = 90 val = 0
<6>reg = 91 val = 0
<6>reg = 92 val = 0
<6>reg = 93 val = 0
<6>reg = 94 val = 0
<6>-------------------------------------------
<6>### Page 1 Regs from 30 to 52
<6>reg = 30 val = 3
<6>reg = 31 val = 4
<6>reg = 32 val = 6
<6>reg = 33 val = af
<6>reg = 34 val = 70
<6>reg = 35 val = 0
<6>reg = 36 val = 7f
<6>reg = 37 val = 7f
<6>reg = 38 val = 7f
<6>reg = 39 val = 7f
<6>reg = 40 val = 2
<6>reg = 41 val = 2
<6>reg = 42 val = 0
<6>reg = 43 val = 0
<6>reg = 44 val = 6
<6>reg = 45 val = 86
<6>reg = 46 val = 0
<6>reg = 47 val = 80
<6>reg = 48 val = 0
<6>reg = 49 val = 0
<6>reg = 50 val = 0
<6>reg = 51 val = 0
<4>mmc1: host does not support reading read-only switch. assuming write-enable.
<6>####SPL_DRIVER_GAIN 0
<6>
<6>##### L_ANALOG_VOL_2_SPL 127 R_ANLOG_VOL_2_SPR 127
<6>
<6>#### LDAC_VOL 0 RDAC_VOL 0
<6>
<6>###OVER Temperature STATUS ( Page 0 Reg 3) 66
<6>
<6>###SHORT CIRCUIT STATUS (Page 0 Reg 44) 0
<6>
<6>mmc1: new high speed SDHC card at address e624
<6>mmcblk1: mmc1:e624 SU16G 14.8 GiB
<6>###INTR_FLAG: SHORT_CKT(Page 0 Reg 46) 0
<6>
<6>###Speaker_Driver_Short_Circuit ( Page 1 Reg 32)6
<6>
<6>@@@ MIC_PGA (P1 R47) = 0x80
<6>
<6>@@@ ADC_FGA (P0 R82) = 0x80
<6>
<6>@@@ ADC_CGA (P0 R83) = 0x0
<6>
<6> mmcblk1: p1
<6>##-aic31xx_mute_codec 1
<6><1>##-tlv320aic31xx_init
<6>##aic31xx_add_widgets
<6>Completed adding dapm widgets size = 24
<6>Completed adding DAPM routes = 32
<6>widgets updated
<6>asoc: tlv320aic31xx-dai <-> omap-mcbsp-dai.1 mapping ok
<4>sys_ck = 26000000
<4>clkout2_src_ck = 26000000
<4>sys_clkout2 = 13000000
<4>omap3epd-sound: Audio SoC init -
<6>ALSA device list:
<6> #0: OMAP3 EDP(tlv320aic31xx)