From: Phil Reid <preid@electromag.com.au>
To: linux-i2c@vger.kernel.org
Subject: i2c devices and regulators
Date: Thu, 12 Nov 2015 13:28:59 +0800 [thread overview]
Message-ID: <5644239B.1050904@electromag.com.au> (raw)
G'day All,
Please direct me to the appropriate message list if this is the wrong place.
Is there a generic way to apply a regulator dependencies on an i2c
device via the device tree.
Situation is with our hardware a number of slave i2c devices attached
via one of the following example:
- eg. TCA6408 GPIO with Vccp on separate regulator to i2c bus Vcci.
These device hold reset until Vccp reaches threshold.
- I2c isolators eg. ADUM1250 isolator that requires power one both
sides before communication starts.
Is there a generic mechanism to apply a regulator supply to a i2c
device? Or should this be part of the individual device driver?
Similar situation occur with i2c multiplexers. It may be required to
power up a slave side regulator before switch to a but that is
currently isolated.
Or is there a better method of controlling these dependencies that I've
missed?
--
Regards
Phil Reid
reply other threads:[~2015-11-12 5:35 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=5644239B.1050904@electromag.com.au \
--to=preid@electromag.com.au \
--cc=linux-i2c@vger.kernel.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 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.