[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VecxqphJBZ2xUTku-WhyjkDRKQPbxvuGFAZ+-1voZRW9Q@mail.gmail.com>
Date: Fri, 12 Oct 2018 16:58:38 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Russell King - ARM Linux <linux@...linux.org.uk>
Cc: Jon Hunter <jonathanh@...dia.com>,
Marcel Ziswiler <marcel.ziswiler@...adex.com>,
Linus Walleij <linus.walleij@...aro.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Aaro Koskinen <aaro.koskinen@....fi>,
jmondi <jacopo@...ndi.org>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Mark Brown <broonie@...nel.org>,
Alexander Shiyan <shc_work@...l.ru>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mike Rapoport <rppt@...ux.vnet.ibm.com>,
Daniel Mack <zonque@...il.com>,
Marc Zyngier <marc.zyngier@....com>, philipp.zabel@...il.com,
linux-tegra@...r.kernel.org,
Janusz Krzysztofik <jmkrzyszt@...il.com>,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: Re: [PATCH v7] regulator: fixed: Convert to use GPIO descriptor only
On Fri, Oct 12, 2018 at 1:45 PM Russell King - ARM Linux
<linux@...linux.org.uk> wrote:
>
> On Fri, Oct 12, 2018 at 11:39:15AM +0100, Jon Hunter wrote:
> > We had the same situation for Tegra124 Jetson TK1 but I don't think that
> > adding a pseudo intermediate regulator is cleaner. If the GPIO controls
> > more than one regulator, I don't see why is it necessary to change the
> > DT. There are several other people reporting the same problem with
> > various different boards. So this does seem to be a common usage.
>
> Given that DT describes the hardware, not the software implementation,
> it must not change just because we move from GPIO numbers to GPIO
> descriptors.
>
> The existing DT description is reasonable, and introducing ficticious
> regulators in DT to work around the implementation is not reasonable.
If there is no way to detect shared use of GPIO line for regulators
(*) from current DT description, DT description should be updated to
reflect, yes, hardware.
(*) Not familiar with the guts of DT descriptive language, don't know
if there are some ways to do a such without additional flags or so.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists