]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: add QCOM RPMh regulator driver
authorDavid Collins <collinsd@codeaurora.org>
Sat, 14 Jul 2018 01:50:59 +0000 (18:50 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 10 Aug 2018 16:30:29 +0000 (17:30 +0100)
commitd838a05dafbd8f6aad929492076878215b798e4c
treed094438bf9135787f0347733ee230ca2bc3433f7
parent371fa3a52b23d6714f80fcd12873b03478e48f5b
regulator: add QCOM RPMh regulator driver

Add the QCOM RPMh regulator driver to manage PMIC regulators
which are controlled via RPMh on some Qualcomm Technologies, Inc.
SoCs.  RPMh is a hardware block which contains several
accelerators which are used to manage various hardware resources
that are shared between the processors of the SoC.  The final
hardware state of a regulator is determined within RPMh by
performing max aggregation of the requests made by all of the
processors.

Add support for PMIC regulator control via the voltage regulator
manager (VRM) and oscillator buffer (XOB) RPMh accelerators.
VRM supports manipulation of enable state, voltage, and mode.
XOB supports manipulation of enable state.

Signed-off-by: David Collins <collinsd@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/qcom-rpmh-regulator.c [new file with mode: 0644]