Hi,
I have a general question regarding the best way of registering I2C devices on a X86 system.
On ARM I would have done it in the board config, pretty straight forward.
On this X86 system the I2C bus is a PCI device, and different I2C devices might be tied into the bus
depending on which board the device is populated on.
So my idea is to create a "mapping" driver. It opens the I2C adapter, creates platform data for each
I2C device and add them by calling i2c_new_device. I don't find any better way since platform data
must be created and also translation from GPIO pins to interrupt numbers.
Any ideas or suggestions?
Thanks in advance
--Richard
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html