All of lore.kernel.org
 help / color / mirror / Atom feed
* How to add i2c platform data in dts file
@ 2009-06-02 10:54 Stefan Strobl
  0 siblings, 0 replies; only message in thread
From: Stefan Strobl @ 2009-06-02 10:54 UTC (permalink / raw)
  To: ppc-dev

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-02 10:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-02 10:54 How to add i2c platform data in dts file Stefan Strobl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.