Hi Frank,

On Sun, 24 Feb 2008 21:41:54 -0800, Edelhaeuser, Frank wrote:
> The driver I submitted implements the "new style" driver model. These
> driver's don't probe the bus automatically. Instead, devices must be
> instantiated by calling i2c_register_board_info() for each multiplexer
> device. Please note that this driver implements a special syntax for the
> type field: e.g. .type = "pxa9544,5" tells the driver to create 4
> virtual i2c buses with ids 5, 6, 7 and 8. You would
> i2c_register_board_info() your PXA9544 multiplexer with the root i2c bus
> and your bus segment devices with those virtual i2c buses.

Please don't abuse the type field, instead define a custom structure
and pass it to the driver as platform data. This will give you much
more flexibility as well.

-- 
Jean Delvare

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

Reply via email to