lkml.org 
[lkml]   [2021]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/7] regulator: qcom-labibb: Implement voltage selector ops
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().
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-01-11 14:26    [W:0.084 / U:1.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site