[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160916183145.GF62872@google.com>
Date: Fri, 16 Sep 2016 11:31:45 -0700
From: Matthias Kaehlcke <mka@...omium.org>
To: Mark Brown <broonie@...nel.org>
Cc: lgirdwood@...il.com, Douglas Anderson <dianders@...omium.org>,
briannorris@...omium.org, javier@...hile0.org, robh+dt@...nel.org,
mark.rutland@....com, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [PATCH v4 4/4] regulator: Prevent falling too fast
El Fri, Sep 16, 2016 at 05:32:53PM +0100 Mark Brown ha dit:
> On Thu, Sep 15, 2016 at 11:02:23AM -0700, Matthias Kaehlcke wrote:
> > El Thu, Sep 15, 2016 at 03:39:45PM +0100 Mark Brown ha dit:
>
> > > The obvious question here is how the OVP hardware knows about the new
> > > voltage and why we're bodging this in the regulator core rather than in
> > > the OVP hardware.
>
> > The OVP hardware is part of the regulator and the regulator is not
> > notified directly about voltage changes. The regulator transforms the
> > PWM input into DC output and does the OVP internally with the limits
> > described above.
>
> So the PWM is just configuring this external regulator chip (which
> doesn't seem to be described in DT...)
Exactly
> and that's just incredibly bad at coping with voltage changes?
Supposedly OVP is a feature of the chip, but it gets in our way on
"larger" voltage changes.
> It does sound rather like we ought to be representing this chip
> directly in case it needs other workarounds.
Ok, we'll consider this. It seems we can drop this patch since the
regulator core is not the best place to address this problem.
Thanks for your reviews!
Matthias
Powered by blists - more mailing lists