Hello, I am currently writing a I2C driver for a custom embedded board. I have read lot about writing I2C driver using Linux I2C layer.
But there are still a few things I don't anderstand. I am quite confuse. I have written an algorithm and an adapter. For instance, I just register my adapter on the module_init. - Is it important for adapters to be registred as platform_driver ? - Will it remove the 'forgot to specify physical address' error ? - Can I ignore 'forgot to specify physical address' error ? For my driver, I only implement probe(client) and remove(client). They are never called !! I thought the I2C layer register automatically the I2C devices present on the bus. Am I wrong ? - How can I specify the addresses of my I2C clients ? - What about i2c_probe ? Do I need to call it directly ? Thank you for help. Best regards. Légion. _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
