How to set device's platform_data field for OF-described I2C devices ?

Laurent Pinchart laurentp at
Tue May 27 21:47:59 EST 2008

Hi everybody,

I'm running into a small issue with the pca953x I2C GPIO driver. The driver 
requires platform data (to set the GPIO base number among other information). 
As the device is automatically instantiated from the OF device tree, I can't 
find a way to add platform data in the process.

What's the best way to specify platform data for OF-described I2C devices ?

Best regards,

Laurent Pinchart
CSE Semaphore Belgium

Chaussee de Bruxelles, 732A
B-1410 Waterloo

T +32 (2) 387 42 59
F +32 (2) 387 42 75
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the Linuxppc-dev mailing list