[i2c] New Style I2C Driver : how to get clients ?
Felipe Balbi
felipebalbi at users.sourceforge.net
Thu Jul 24 11:29:54 CEST 2008
Hi,
On Thu, Jul 24, 2008 at 12:07 PM, <fuhz at free.fr> wrote:
> - How can I specify the addresses of my I2C clients ?
> - What about i2c_probe ? Do I need to call it directly ?
basically you i2c_register_board_info() from the board file.
Take a look at arch/arm/mach-omap2/board-h2.c for
a simple example.
you'll see that it calls omap_register_i2c_bus(), but it's
just a wrapper for omap-specific initializations on top
of i2c_register_board_info();
--
Best Regards,
Felipe Balbi
felipebalbi at users.sourceforge.net
More information about the i2c
mailing list