Messages in this thread | | | Date | Wed, 8 May 2024 20:53:34 +0900 | From | Mark Brown <> | Subject | Re: [PATCH v2 2/4] regulator: rtq2208: Fix LDO to be compatible with both fixed and adjustable vout |
| |
On Wed, May 08, 2024 at 02:54:02PM +0800, Alina Yu wrote:
> May I modify the code into this ? > I'll add 'richtek,fixed-microvolt' property in dtsi; remove 'regulator-min-microvolt' and 'regulator-max-microvolt' > to prevent fail caused by constraints->apply_uV.
Adding the new property seems fine. You still need to permit the min/max microvolt properties for the case where the regulator is in normal mode and can vary, you could write rules that ensure that the constraints line up in the case where a fixed voltage is specified but I'm not sure it's worth the effort. [unhandled content-type:application/pgp-signature] | |