hi, where will we put the file (rx51.c) that you gave? A20 sees as module tlv320 but alsa dont include it. when i write aplay -l , only sunxi device is showing.
i looked with logic anaylzer to i2c pins. scl and sda works. Thanks for your help. On Tuesday, January 6, 2015 at 7:46:40 AM UTC+2, Puneet B wrote: > i used i2c second bus, > > [twi2_para] > twi2_used = 1 > twi2_scl = port:PB20<2><default><default><default> > twi2_sda = port:PB21<2><default><default><default> > > Regards > Punith > > > > On Mon, Jan 5, 2015 at 11:28 PM, <[email protected]> wrote: > Hi Punith B, > > > > which i2c pin did you use? > > > > > > On Saturday, September 27, 2014 8:19:22 AM UTC+3, Puneet B wrote: > > > Hi Rafel, > > > > > > The fex file i have attached in my previous post i did not done any changes. > > > and here my machine driver . > > > > > > in device.c file just add fallowing line. > > > +static struct i2c_board_info __initdata aic3x_i2c_board_info[] = { > > > + { > > > + .type = "tlv320aic31xx", > > > + .addr = 0x18, > > > + } > > > +}; > > > void __init sw_pdev_init(void) > > > { > > > platform_add_devices(sw_pdevs, ARRAY_SIZE(sw_pdevs)); > > > + i2c_register_board_info(2, aic3x_i2c_board_info, > > > + ARRAY_SIZE(aic3x_i2c_board_info)); > > > } > > > > > > which kernel you are using?. > > > > > > Regards > > > Punith > > > > -- > > You received this message because you are subscribed to a topic in the Google > Groups "linux-sunxi" group. > > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/linux-sunxi/t44VY2-cOMo/unsubscribe. > > To unsubscribe from this group and all its topics, send an email to > [email protected]. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
