[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6a44cb99-6894-c9ce-4f1e-5dee0939598c@quicinc.com>
Date: Tue, 7 Dec 2021 20:36:11 +0530
From: "Satya Priya Kakitapalli (Temp)" <quic_c_skakit@...cinc.com>
To: Mark Brown <broonie@...nel.org>
CC: Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>, <swboyd@...omium.org>,
<collinsd@...eaurora.org>, <subbaram@...eaurora.org>,
Das Srinagesh <gurus@...eaurora.org>,
<linux-arm-msm@...r.kernel.org>,
"Lee Jones" <lee.jones@...aro.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V4 1/6] dt-bindings: regulator: Add
"regulator-min-dropout-voltage-microvolt"
On 12/6/2021 11:55 PM, Mark Brown wrote:
> On Mon, Dec 06, 2021 at 06:33:26PM +0530, Satya Priya Kakitapalli (Temp) wrote:
>> On 11/25/2021 8:47 PM, Mark Brown wrote:
>>> Usually this is a fixed property of the regulator rather than something
>>> that varies per board - why have a DT property?
>> The min-dropout value (headroom) varies with boards, that's why we have a DT
>> property for it. We overwrite the default value in driver with actual value
>> read from DT
> Interesting. How exactly does that end up happening - presumably other
> systems are going to run into it?
The parent supplies such as "vdd-l1-l2" are coming from other pmic
regulators, which are shared supplies with other subsystems like BT,
Display etc, they vary between boards as per requirements, so we cannot
expect these to be fixed and so are the headroom values. We get the
headroom values from PMIC systems team for every target.
> If you do have board designs which somehow managed to introduce
> additional dropouts (seems pretty concerning TBH) then I think the best
> way to handle that is to add a generic property for it and have that
> either added on to or override the requirements of the regulator itself
> which should continue to be defined in the driver. That way only boards
> with issues need to do anything which will avoid bugs with the property
> being omitted in what should be the common case.
Powered by blists - more mailing lists