linux-stable/include/linux/regulator
Matti Vaittinen f46695d3b0 regulator: pickable ranges: don't always cache vsel
[ Upstream commit f4f4276f98 ]

Some PMICs treat the vsel_reg same as apply-bit. Eg, when voltage range
is changed, the new voltage setting is not taking effect until the vsel
register is written.

Add a flag 'range_applied_by_vsel' to the regulator desc to indicate this
behaviour and to force the vsel value to be written to hardware if range
was changed, even if the old selector was same as the new one.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://msgid.link/r/ZktCpcGZdgHWuN_L@fedora
Signed-off-by: Mark Brown <broonie@kernel.org>
Stable-dep-of: 1ace99d7c7 ("regulator: tps6287x: Force writing VSEL bit")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:12:48 +02:00
..
act8865.h
arizona-ldo1.h
arizona-micsupp.h
consumer.h
coupler.h
da9121.h
da9211.h
db8500-prcmu.h
driver.h regulator: pickable ranges: don't always cache vsel 2024-06-12 11:12:48 +02:00
fan53555.h
fixed.h
gpio-regulator.h
lp872x.h
lp3971.h
lp3972.h
machine.h
max1586.h
max8649.h
max8660.h
max8952.h
max8973-regulator.h
mt6311.h
mt6315-regulator.h
mt6323-regulator.h
mt6331-regulator.h
mt6332-regulator.h
mt6357-regulator.h
mt6358-regulator.h
mt6359-regulator.h
mt6380-regulator.h
mt6397-regulator.h
of_regulator.h
pca9450.h
pfuze100.h
tps6507x.h
tps51632-regulator.h
tps62360.h
userspace-consumer.h