Hi Wolfram,

On Wed, 23 Apr 2008 18:45:23 +0200, Wolfram Sang wrote:
> (As at24 shall be a generic driver, data about the eeprom type needs to
> be provided.)

Each i2c driver can support many different devices, which are
differentiated simply by their name. So the driver can behave
differently for each device type as needed.

But of course this doesn't cover the way the chip is wired, e.g.
interrupt setup, pin polarities etc. For that you really need platform
data, carried in a driver-specific structure.

-- 
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to