misc:pmic: New PMIC generic driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | misc:pmic New generic pmic driverdrivers/ drivers/ drivers/ +8 more | +619 | 1 reply | |
| 2/3 | misc:pmic: Enable PMIC handling at u-boot startup codearch/ | +5 | 1 reply | |
| 3/3 | misc:pmic:mx: Code modification for mx51evk boardboard/ | +46 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/3] misc:pmic: New PMIC generic driver
This patch series adds new generic PMIC framework for u-boot. It is supposed to handle various types of pmic IC's (both I2C and SPI).
This patch series has been tested on Samsung's GONI reference target.
Moreover a special patch for mx51evk target board has been prepared. It is compiling, but I cannot test if the driver works. Other iMX targets shall be corrected in a similar way that mx51evk.
The old fsl_pmic.c driver has been preserved.
Lukasz Majewski (3):
misc:pmic New generic pmic driver
misc:pmic: Enable PMIC handling at u-boot startup code misc:pmic:mx: Code modification for mx51evk board
arch/arm/lib/board.c | 5 + board/freescale/mx51evk/mx51evk.c | 68 ++++++++++++------ drivers/misc/Makefile | 6 +- drivers/misc/pmic_core.c | 148 +++++++++++++++++++++++++++++++++++++ drivers/misc/pmic_fsl.c | 57 ++++++++++++++ drivers/misc/pmic_i2c.c | 92 +++++++++++++++++++++++ drivers/misc/pmic_max8998.c | 43 +++++++++++ drivers/misc/pmic_spi.c | 109 +++++++++++++++++++++++++++ include/configs/mx51evk.h | 6 +- include/configs/s5p_goni.h | 4 + include/fsl_pmic.h | 5 +- include/max8998_pmic.h | 84 +++++++++++++++++++++ include/pmic.h | 71 ++++++++++++++++++ 13 files changed, 670 insertions(+), 28 deletions(-) create mode 100644 drivers/misc/pmic_core.c create mode 100644 drivers/misc/pmic_fsl.c create mode 100644 drivers/misc/pmic_i2c.c create mode 100644 drivers/misc/pmic_max8998.c create mode 100644 drivers/misc/pmic_spi.c create mode 100644 include/max8998_pmic.h create mode 100644 include/pmic.h
Signature · 1 line
1.7.2.3