summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorMikhail Rudenko <mike.rudenko@gmail.com>2024-10-17 21:37:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-14 19:53:09 +0100
commite920aa8d2c69f17481da13b60c376d0553bd2a5b (patch)
tree351cd613997330a3244c11b293893fe5215f8897 /drivers/platform
parent6f785b89a935311a09642026d64e296ec7d92e54 (diff)
downloadlinux-e920aa8d2c69f17481da13b60c376d0553bd2a5b.tar.gz
linux-e920aa8d2c69f17481da13b60c376d0553bd2a5b.tar.bz2
linux-e920aa8d2c69f17481da13b60c376d0553bd2a5b.zip
regulator: rk808: Add apply_bit for BUCK3 on RK809
[ Upstream commit 5e53e4a66bc7430dd2d11c18a86410e3a38d2940 ] Currently, RK809's BUCK3 regulator is modelled in the driver as a configurable regulator with 0.5-2.4V voltage range. But the voltage setting is not actually applied, because when bit 6 of PMIC_POWER_CONFIG register is set to 0 (default), BUCK3 output voltage is determined by the external feedback resistor. Fix this, by setting bit 6 when voltage selection is set. Existing users which do not specify voltage constraints in their device trees will not be affected by this change, since no voltage setting is applied in those cases, and bit 6 is not enabled. Signed-off-by: Mikhail Rudenko <mike.rudenko@gmail.com> Link: https://patch.msgid.link/20241017-rk809-dcdc3-v1-1-e3c3de92f39c@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions