[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALNFmy2H2hQX5iLQdJj1pd8_eN5Ohs14NcAhhcTeRssmuUZ3iw@mail.gmail.com>
Date: Thu, 20 Jan 2022 08:22:34 +0100
From: Patrick Rudolph <patrick.rudolph@...ements.com>
To: Wolfram Sang <wsa@...nel.org>,
Patrick Rudolph <patrick.rudolph@...ements.com>,
Peter Rosin <peda@...ntia.se>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 4/4] i2c: muxes: pca954x: Add regulator support
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@...nel.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@...ements.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"")
>
Powered by blists - more mailing lists