On Fri, Jun 08, 2018 at 04:44:15PM -0700, David Collins wrote: > 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 <colli...@codeaurora.org> > Reviewed-by: Douglas Anderson <diand...@chromium.org> > --- > drivers/regulator/Kconfig | 9 + > drivers/regulator/Makefile | 1 + > drivers/regulator/qcom-rpmh-regulator.c | 753 > ++++++++++++++++++++++++++++++++ > 3 files changed, 763 insertions(+) > create mode 100644 drivers/regulator/qcom-rpmh-regulator.c
Reviewed-by: Matthias Kaehlcke <m...@chromium.org>