mbox series

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

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

Message

Ying-Chun Liu March 23, 2021, 1:48 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

 .../regulator/fsl,anatop-regulator.txt        |  45 +++
 drivers/power/regulator/Kconfig               |  10 +
 drivers/power/regulator/Makefile              |   1 +
 drivers/power/regulator/anatop_regulator.c    | 299 ++++++++++++++++++
 4 files changed, 355 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