On Sat, Jan 09, 2021 at 02:29:15PM +0100, AngeloGioacchino Del Regno wrote:
+ .linear_ranges = (struct linear_range[]) {
+ REGULATOR_LINEAR_RANGE(4600000, 0, 15, 100000),
+ },
+ .n_linear_ranges = 1,
If there's a single range that's just a simple linear mapping and should
use regulator_map_voltage_linear().