From: Stefan Strobl <nst@gersys.de>
To: ppc-dev <linuxppc-dev@ozlabs.org>
Subject: How to add i2c platform data in dts file
Date: Tue, 02 Jun 2009 12:54:51 +0200 [thread overview]
Message-ID: <4A2504FB.90702@gersys.de> (raw)
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.
reply other threads:[~2009-06-02 10:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A2504FB.90702@gersys.de \
--to=nst@gersys.de \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).