[U-Boot] [PATCH 0/3] dm: goni: support the DM PMIC
Jaehoon Chung
jh80.chung at samsung.com
Thu Dec 15 10:21:09 CET 2016
This patchest is for supporting pmic driver-model on Goni board.
(Goni board is S5PC110.)
For using that, add the new file as max8998.c for only driver-model.
pmic_max8998.c is remained for legacy.
In future, it might be removed. Instead, max8998 should be used.
*dm tree
serial [ + ] |-- serial at e2900800
i2c [ ] `-- i2c-pmic
pmic [ ] `-- pmic at 66
*dm uclass
uclass 20: i2c
- * i2c-pmic @ 47f6c6d0, seq 3, (req 3)
uclass 22: i2c_generic
uclass 42: pmic
- * pmic at 66 @ 47f6c748, seq 0, (req -1)
* After using pmic command.
Goni # pmic list
| Name | Parent name | Parent uclass @ seq
| pmic at 66 | i2c-pmic | i2c @ 3
Node, it needs to implement the regulator driver for using regulator framework.
Jaehoon Chung (3):
power: pmic: add the max8998 controller for DM
arm: dts: s5pc1xx-goni: add the pmic node for using DM
configs: enable the DM_PMIC and DM_I2C_GPIO for max8998 pmic
arch/arm/dts/s5pc1xx-goni.dts | 165 ++++++++++++++++++++++++++++++++++++++++++
configs/s5p_goni_defconfig | 3 +
drivers/power/pmic/Kconfig | 7 ++
drivers/power/pmic/Makefile | 1 +
drivers/power/pmic/max8998.c | 61 ++++++++++++++++
5 files changed, 237 insertions(+)
create mode 100644 drivers/power/pmic/max8998.c
--
2.10.2
More information about the U-Boot
mailing list