From: Patrick Rudolph <patrick.rudolph@9elements.com>
To: Wolfram Sang <wsa@kernel.org>,
Patrick Rudolph <patrick.rudolph@9elements.com>,
Peter Rosin <peda@axentia.se>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 4/4] i2c: muxes: pca954x: Add regulator support
Date: Thu, 20 Jan 2022 08:22:34 +0100 [thread overview]
Message-ID: <CALNFmy2H2hQX5iLQdJj1pd8_eN5Ohs14NcAhhcTeRssmuUZ3iw@mail.gmail.com> (raw)
In-Reply-To: <Yd6f8kQ59kcY7JH6@ninjato>
Hi Wolfram,
I don't think that it's possible to use the generic vbus-supply.
In my case the complete chip, not only the bus, is powered by a regulator.
In addition it looks like this works only for platform drivers where
you can set the bus_regulator
before the i2c core probe function is invoked.
Regards,
Patrick Rudolph
On Wed, Jan 12, 2022 at 10:31 AM Wolfram Sang <wsa@kernel.org> wrote:
>
> On Sat, Jan 08, 2022 at 07:57:58PM +0100, Patrick Rudolph wrote:
> > Add an optional vdd regulator and enable it when found for devices
> > that are powered off by default.
> >
> > Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
>
> regulator support was recently added to the I2C core but had to be
> reverted because of side effects [1]. I think you could make use of it
> if it gets readded?
>
> [1] a19f75de73c2 ("Revert "i2c: core: support bus regulator controlling in adapter"")
>
prev parent reply other threads:[~2022-01-20 7:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-08 18:57 [PATCH v2 0/4] Add support for Maxim MAX735x/MAX736x variants Patrick Rudolph
2022-01-08 18:57 ` [PATCH v2 1/4] dt-bindings: i2c: Add " Patrick Rudolph
2022-01-08 23:14 ` Laurent Pinchart
2022-01-08 18:57 ` [PATCH v2 2/4] i2c: muxes: pca954x: Add MAX735x/MAX736x support Patrick Rudolph
2022-01-08 18:57 ` [PATCH v2 3/4] dt-bindings: i2c: Add regulator to pca954x and max735x Patrick Rudolph
2022-01-08 23:17 ` Laurent Pinchart
2022-01-08 18:57 ` [PATCH v2 4/4] i2c: muxes: pca954x: Add regulator support Patrick Rudolph
2022-01-12 9:31 ` Wolfram Sang
2022-01-20 7:22 ` Patrick Rudolph [this message]
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=CALNFmy2H2hQX5iLQdJj1pd8_eN5Ohs14NcAhhcTeRssmuUZ3iw@mail.gmail.com \
--to=patrick.rudolph@9elements.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peda@axentia.se \
--cc=wsa@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 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).