Re: [PATCH v2 2/2] regulator: Add support for TI TPS6287x regulators

From: Mark Brown
Date: Fri May 05 2023 - 07:52:43 EST


On Fri, May 05, 2023 at 08:46:06AM +0200, Mårten Lindahl wrote:

> 2. Dynamically set the range when a new voltage is set. This way any
> voltage from
> 0.4V to 3.35V could be set if the DT node has:
> regulator-min-microvolt = <400000>;
> regulator-max-microvolt = <3350000>;

You can probably use one of the linear range mappings with a custom
set/get which munges the range selection and voltage selection into a
single value.

Attachment: signature.asc
Description: PGP signature