mbox series

[v3,0/2] power: regulator: add driver for ANATOP regulator

Message ID 20210325184407.37915-1-grandpaul@gmail.com
Headers show
Series power: regulator: add driver for ANATOP regulator | expand

Message

Ying-Chun Liu March 25, 2021, 6:44 p.m. UTC
From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>


Anatop is an integrated regulator inside i.MX6 SoC.
There are 3 digital regulators which controls PU, CORE (ARM), and SOC.
And 3 analog regulators which controls 1P1, 2P5, 3P0 (USB).
This patch adds the Anatop regulator driver.

Ying-Chun Liu (PaulLiu) (2):
  power: regulator: add driver for ANATOP regulator
  doc: device-tree-bindings: regulator: anatop regulator

v2: add functions for set selector and delay. Define ANATOP_REGULATOR_STEP
v3: add vin-supply. move regmap retrival to probe

 .../regulator/fsl,anatop-regulator.txt        |  45 +++
 drivers/power/regulator/Kconfig               |  10 +
 drivers/power/regulator/Makefile              |   1 +
 drivers/power/regulator/anatop_regulator.c    | 287 ++++++++++++++++++
 4 files changed, 343 insertions(+)
 create mode 100644 doc/device-tree-bindings/regulator/fsl,anatop-regulator.txt
 create mode 100644 drivers/power/regulator/anatop_regulator.c

-- 
2.30.2