By the to probe, i added i2c board info in /arch/arm/plat-sunxi/device.c
static struct i2c_board_info __initdata aic3x_i2c_board_info[] = {
{
.type = "tlv320aic3x",
.addr = 0x18,
//.platform_data = &axp_pdata,
//.irq = pmu_irq_id,
},
};
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));
}
And regarding mclk , bclk and wclk.
While audio playing through sndi2s soundcard.
i2smclk=11.24MHZ
i2sblck=2.8MHZ
i2swclk=2.8MHZ.
But there is no clock if audio is not playing.
I also pointed the kernel not fetching these clock parameter and i2sdout
and i2sdin parameter from script.
Is the pin muxing for i2s is hard codec or what?
Regards
Punith
--
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.