[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1539350021.30485.45.camel@toradex.com>
Date: Fri, 12 Oct 2018 13:13:43 +0000
From: Marcel Ziswiler <marcel.ziswiler@...adex.com>
To: "linux@...linux.org.uk" <linux@...linux.org.uk>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"jonathanh@...dia.com" <jonathanh@...dia.com>,
"robert.jarzmik@...e.fr" <robert.jarzmik@...e.fr>,
"aaro.koskinen@....fi" <aaro.koskinen@....fi>,
"jacopo@...ndi.org" <jacopo@...ndi.org>,
"linus.walleij@...aro.org" <linus.walleij@...aro.org>,
"m.szyprowski@...sung.com" <m.szyprowski@...sung.com>,
"broonie@...nel.org" <broonie@...nel.org>,
"shc_work@...l.ru" <shc_work@...l.ru>,
"haojian.zhuang@...il.com" <haojian.zhuang@...il.com>,
"lgirdwood@...il.com" <lgirdwood@...il.com>,
"rppt@...ux.vnet.ibm.com" <rppt@...ux.vnet.ibm.com>,
"zonque@...il.com" <zonque@...il.com>,
"marc.zyngier@....com" <marc.zyngier@....com>,
"philipp.zabel@...il.com" <philipp.zabel@...il.com>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"jmkrzyszt@...il.com" <jmkrzyszt@...il.com>,
"geert+renesas@...der.be" <geert+renesas@...der.be>
Subject: Re: [PATCH v7] regulator: fixed: Convert to use GPIO descriptor only
On Fri, 2018-10-12 at 13:59 +0100, Russell King - ARM Linux wrote:
> On Fri, Oct 12, 2018 at 11:43:13AM +0000, Marcel Ziswiler wrote:
> > I don't think it is that fictitious as it makes it crystal clear
> > that
> > there is something shared with all its pros and cons. E.g. what
> > happens
> > if one of them regulators wants to turn off while the other one
> > still
> > needs power? The regular regulator dependency tree would nicely
> > make
> > this all clear.
>
> If you're introducing a regulator that doesn't exist in reality
> just to be able to share a GPIO line that is wired to several
> real regulators, then it _is_ ficticious. You're not describing
> the hardware, you're describing something else to work around the
> shortcomings of the implementation that can't cope with how stuff
> is wired up in the real world. You're making the DT description
> fit the software implementation, rather than the software
> implementation fit the real world hardware.
>
> Having a single GPIO that controls multiple separate regulators
> which have entirely separate supplies of their own is very common
> in electronics.
Sure, fine. I will drop it. Thanks!
Powered by blists - more mailing lists