[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151209222044.GB32712@earth>
Date: Wed, 9 Dec 2015 23:20:45 +0100
From: Sebastian Reichel <sre@...nel.org>
To: Tim Bird <tim.bird@...ymobile.com>
Cc: Rob Herring <robh@...nel.org>,
"pawel.moll@....com" <pawel.moll@....com>,
"mark.rutland@....com" <mark.rutland@....com>,
"ijc+devicetree@...lion.org.uk" <ijc+devicetree@...lion.org.uk>,
"dbaryshkov@...il.com" <dbaryshkov@...il.com>,
"dwmw2@...radead.org" <dwmw2@...radead.org>,
"agross@...eaurora.org" <agross@...eaurora.org>,
Andersson, Björn
<Bjorn.Andersson@...ymobile.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"tbird20d@...il.com" <tbird20d@...il.com>,
"Cavin, Courtney" <Courtney.Cavin@...ymobile.com>,
Mark Brown <broonie@...nel.org>
Subject: Re: [PATCH v2 1/3] dt-binding: power: Add otg regulator binding
Hi,
On Wed, Dec 09, 2015 at 09:42:09AM -0800, Tim Bird wrote:
> Or maybe our power maintainers will chime in with some wisdom. I
> can't be the first person to be adding a charge pathway switch to
> mainline, so I'm open to doing it the "right way". :-)
I don't think there is a standard way for this so far. Another
otg charger coming to my mindis bq2415x, which basically just
exposes the enable bit via sysfs.
Exposing the switch as regulator would be fine for me.
> > Thinking about this some more, the node name should be generic, so
> > just "regulator". The label does not need to be generic.
>
> There are other switches in the charger block that are not
> exposed yet. This one handles the the OTG (vbus) charge pathway.
> Others handle other charge pathways (some of which are used on phones
> and some are not - they're used, e.g., on the dragonboard). I'd
> rather not give it a generic name, because eventually the driver
> should expose those other switches as something as well.
otg_regulator: regulator@0 { }
other_regulator: regulator@1 { }
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists