Subject: How to add i2c platform data in dts file

From: Stefan Strobl <[email-masked]>
Date: Tue, 02 Jun 2009 12:54:51 +0200

Hi
I'm using the i2c/chips/tsl2550 driver. In the tsl2550_probe() function
the driver checks for platform data to set the operating_mode. I suppose
I can provide this data in my dts file but I don't know how to do that.
Currently my dts looks like this:

tsl2550@39 {
	compatible = "taos,tsl2550";
	reg = <0x39>;
};

Can anyone help me on how to set the operating_mode here?
Thanks, Stefan.