Skip to contentSkip to conversation

Need help on selecting one (and only one) i2c bus

DISCUSSION Ayman KHAMOUMA 1 participant 1 message Mar 9, 2009 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

Hello everybody,

I'm new on I2C device drivers programming and I'm facing a little problem, I can't find how to select my i2c-0 bus (I have 3 of them: i2c-0, i2c-1 and i2c-2) I'd like my probe function to probe only this bus and ignore the others.
I guess I can find the solution with the i2c_address_data structure, but I don't really understand how to use it...

Thanks in advance,

Ayman KHAMOUMA