diff options
| author | Axel Lin <axel.lin@ingics.com> | 2019-03-25 16:55:57 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-05-08 11:32:55 +0300 |
| commit | 3df4235ac41c2b8c3c5cd9c7798bc4a3105c0bc4 (patch) | |
| tree | d1bd6c631a0b65a2f28ef4ef7a3f6be1e47b3ac2 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 68ce3a4461726ebd3acf9d94841a46386402a058 (diff) | |
| download | linux-3df4235ac41c2b8c3c5cd9c7798bc4a3105c0bc4.tar.xz | |
regulator: max77650: Convert MAX77651 SBB1 to pickable linear range
The pickable linear range is suitable for The MAX77651 SBB1.
According to MAX77651 TV_SBB1 Code Table:
Use BIT[1:0] as range selectors.
Use BIT[5:2] as selectors for each linear range.
The MAX77651 SBB1 supports up to selector 57, selector 58 ~ 63 are RSVD,
thus set n_voltage to 58.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
