Re: [PATCH 8/9] regulator: mt6358: Add output voltage fine tuning to variable LDOs

AngeloGioacchino Del Regno
2023-06-09T10:03:45Z

Il 09/06/23 10:30, Chen-Yu Tsai ha scritto:
> Some of the LDO regulators in the MT6358/MT6366 have sparsely populated
> voltage tables, supported by custom get/set operators. While it works,
> it requires more code and an extra field to store the lookup table.
> These LDOs also have fine voltage calibration settings that can slightly
> boost the output voltage from 0 mV to 100 mV, in 10 mV increments.
>
> These combined could be modeled as a pickable set of linear ranges. The
> coarse voltage setting is modeled as the range selector, while each
> range has 11 selectors, starting from the range's base voltage, up to
> +100 mV, in 10mV increments.
>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>