Results 1 to 1 of 1
Dear all,
in ARM-architectures there is always some definition in arch/arm/mach-xyz/board-abc.c, where you can find something like this:
Code:
static struct i2c_board_info __initdata csb337_i2c_devices[] = {
{
I2C_BOARD_INFO("ds1307", 0x68),
},
...
- 04-04-2011 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 10
I2C device in x86 kernel
Dear all,
in ARM-architectures there is always some definition in arch/arm/mach-xyz/board-abc.c, where you can find something like this:
In this example you add the ds1307 driver at address 0x68.Code:static struct i2c_board_info __initdata csb337_i2c_devices[] = { { I2C_BOARD_INFO("ds1307", 0x68), }, };
Now I have a X86 architecture, but I can't find some section like this anywhere.
So how to add a device on a dedicated I2C-Bus to the kernel.
The driver (in my case emc2103 driver) is ready - but does not probe because it's declared nowhere.


Reply With Quote
