Re: [PATCH 2/2] regulator: dt-bindings: rtq2208: Add specified fixed LDO VOUT property
From: Alina Yu
Date: Wed May 22 2024 - 05:45:59 EST
On Wed, May 22, 2024 at 11:27:06AM +0200, Krzysztof Kozlowski wrote:
> On 22/05/2024 11:03, Alina Yu wrote:
> > On Thu, May 16, 2024 at 02:34:02PM +0200, Krzysztof Kozlowski wrote:
> >> On 16/05/2024 11:20, Alina Yu wrote:
> >>> As the fixed voltage for the LDO is outside the range of the adjustable voltage mode,
> >>> the constraints for this scenario are not suitable to represent both modes.
> >>> Therefore, A property is added to specify the fixed LDO VOUT.
> >>>
> >>> Examples of fixed LDO VOUT and adjustable LDO VOUT is also added to this version.
> >>>
> >>> Signed-off-by: Alina Yu <alina_yu@xxxxxxxxxxx>
> >>> ---
> >>
> >> This is a v1 but I am pretty sure I saw it somewhere and there was
> >> already some sort of discussion. Confused... :(
> >>
> >> Best regards,
> >> Krzysztof
> >>
> >
> > The discussion regarding this matter took place during v2 and v3.
>
> So in the future?
Based on the previous discussion, it is scheduled to be included in the linux-next tree.
Will we start a further discussions on this topic?
>
> > Due to the fixed LDO VOUT being outside the range of the adjustable one,
> > a special-use property has been added to avoid overusing the constraints.
>
> Hm, why exactly this is not a bool property? What are the benefits?
>
> Best regards,
> Krzysztof
>
As only the user will know the exact fixed voltage,
the property is defined as a u32 to allow user customization and decision-making.
Thanks,
Alina