[PATCH v5 0/2] power: regulator: add driver for ANATOP regulator
grandpaul at gmail.com
Sat Mar 27 14:46:50 CET 2021
From: "Ying-Chun Liu (PaulLiu)" <paul.liu at 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
v4: check control_reg and return -ENOSYS if error. check vin-supply error
v5: fix typo "wrie" -> "write"
.../regulator/fsl,anatop-regulator.txt | 45 +++
drivers/power/regulator/Kconfig | 10 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/anatop_regulator.c | 278 ++++++++++++++++++
4 files changed, 334 insertions(+)
create mode 100644 doc/device-tree-bindings/regulator/fsl,anatop-regulator.txt
create mode 100644 drivers/power/regulator/anatop_regulator.c
More information about the U-Boot