-
Axel Lin authored
The .n_voltages was missed for pickable linear ranges, fix it. The min_sel for each pickable range should be starting from 0. Also fix atc260x_ldo_voltage_range_sel setting (bit 5 - LDO<N>_VOL_SEL in datasheet). Fixes: 3b15ccac ("regulator: Add regulator driver for ATC260x PMICs") Signed-off-by:
Axel Lin <axel.lin@ingics.com> Reviewed-by:
Cristian Ciocaltea <cristian.ciocaltea@gmail.com> Link: https://lore.kernel.org/r/20210528230147.363974-1-axel.lin@ingics.comSigned-off-by:
Mark Brown <broonie@kernel.org>
1963fa67