summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2024-05-20 15:31:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-12 12:39:39 +0300
commitbc6d709844ee57dffd9e53e7ab2524e9d6edeb5e (patch)
tree3646666565226a4df9269c4ac47a46435d80ccbd /net
parentc393f7890a90a4c216a121df2974dee98834d922 (diff)
downloadlinux-bc6d709844ee57dffd9e53e7ab2524e9d6edeb5e.tar.xz
regulator: pickable ranges: don't always cache vsel
[ Upstream commit f4f4276f985a5aac7b310a4ed040b47e275e7591 ] 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: 1ace99d7c7c4 ("regulator: tps6287x: Force writing VSEL bit") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions