[U-Boot] [PATCH 0/3] power: s2mps11: Support the DM regulator
Jaehoon Chung
jh80.chung at samsung.com
Tue Jan 16 06:33:49 UTC 2018
S2MPS11 has the 10-bucks and 38-ldos regulators.
To control the each power, add the s2mps11 regulator driver.
Tested with Odroid-xu3 board (Exynos5422)
ODROID-XU3 # regulator list
| Device | regulator-name | Parent
| LDO1 | vdd_ldo1 | s2mps11_pmic at 66
| LDO3 | vddq_mmc0 | s2mps11_pmic at 66
| LDO4 | vdd_adc | s2mps11_pmic at 66
| LDO5 | vdd_ldo5 | s2mps11_pmic at 66
| LDO6 | vdd_ldo6 | s2mps11_pmic at 66
| LDO7 | vdd_ldo7 | s2mps11_pmic at 66
| LDO8 | vdd_ldo8 | s2mps11_pmic at 66
| LDO9 | vdd_ldo9 | s2mps11_pmic at 66
| LDO10 | vdd_ldo10 | s2mps11_pmic at 66
| LDO11 | vdd_ldo11 | s2mps11_pmic at 66
| LDO12 | vdd_ldo12 | s2mps11_pmic at 66
| LDO13 | vddq_mmc2 | s2mps11_pmic at 66
| LDO15 | vdd_ldo15 | s2mps11_pmic at 66
| LDO16 | vdd_ldo16 | s2mps11_pmic at 66
| LDO17 | vdd_ldo17 | s2mps11_pmic at 66
| LDO18 | vdd_emmc_1V8 | s2mps11_pmic at 66
| LDO19 | vdd_sd | s2mps11_pmic at 66
| LDO24 | tsp_io | s2mps11_pmic at 66
| LDO26 | vdd_ldo26 | s2mps11_pmic at 66
| BUCK1 | vdd_mif | s2mps11_pmic at 66
| BUCK2 | vdd_arm | s2mps11_pmic at 66
| BUCK3 | vdd_int | s2mps11_pmic at 66
| BUCK4 | vdd_g3d | s2mps11_pmic at 66
| BUCK5 | vdd_mem | s2mps11_pmic at 66
| BUCK6 | vdd_kfc | s2mps11_pmic at 66
| BUCK7 | vdd_1.0v_ldo | s2mps11_pmic at 66
| BUCK8 | vdd_1.8v_ldo | s2mps11_pmic at 66
| BUCK9 | vdd_2.8v_ldo | s2mps11_pmic at 66
| BUCK10 | vdd_vmem | s2mps11_pmic at 66
ODROID-XU3 # regulator status
Name Enabled uV mA Mode
vdd_ldo1 enabled 1000000 - ON
vddq_mmc0 enabled 1800000 - ON
vdd_adc enabled 1800000 - ON
vdd_ldo5 enabled 1800000 - ON
vdd_ldo6 enabled 1000000 - ON
vdd_ldo7 enabled 1800000 - ON
vdd_ldo8 enabled 1800000 - ON
vdd_ldo9 enabled 3300000 - ON
vdd_ldo10 enabled 1800000 - ON
vdd_ldo11 enabled 1000000 - ON
vdd_ldo12 enabled 1800000 - ON
vddq_mmc2 enabled 3300000 - ON
vdd_ldo15 enabled 3300000 - ON
vdd_ldo16 disabled 2200000 - OFF
vdd_ldo17 enabled 3300000 - ON
vdd_emmc_1V8 disabled 1800000 - OFF
vdd_sd enabled 3300000 - ON
tsp_io disabled 2800000 - OFF
vdd_ldo26 enabled 3000000 - ON
vdd_mif enabled 1100000 - ON
vdd_arm enabled 1000000 - ON
vdd_int enabled 1000000 - ON
vdd_g3d enabled 1000000 - ON
vdd_mem enabled 1200000 - ON
vdd_kfc enabled 1025000 - ON
vdd_1.0v_ldo enabled 1350000 - ON
vdd_1.8v_ldo enabled 2000000 - ON
vdd_2.8v_ldo enabled 2200000 - ON
vdd_vmem disabled 2850000 - OFF
Jaehoon Chung (3):
power: regulator: s2mps11: add a regulator driver for s2mps11
power: pmic: s2mps11: probe the regulator driver
configs: odroid-xu3: enable the configs relevant to regulator
configs/odroid-xu3_defconfig | 2 +
drivers/power/pmic/s2mps11.c | 28 ++
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile | 1 +
drivers/power/regulator/s2mps11_regulator.c | 597 ++++++++++++++++++++++++++++
include/power/s2mps11.h | 55 +++
6 files changed, 691 insertions(+)
create mode 100644 drivers/power/regulator/s2mps11_regulator.c
--
2.15.1
More information about the U-Boot
mailing list