[U-Boot] [PATCH v2 0/3] misc:pmic: New PMIC generic driver

Lukasz Majewski l.majewski at samsung.com
Tue Oct 4 07:45:48 CEST 2011


This patch series adds new generic PMIC framework for u-boot.
It is supposed to handle various types of pmic IC's (both,
equippled with I2C or SPI bus).

This patch series has been tested on Samsung's GONI reference target.
---
	Changes for v2:
	- New logical structure of patch series
	- printf/puts replaced with debug() macro where applicable
	- pmic_reg_write(...,u32 *val) replaced with u32 val
	- pmic_init() moved to board_init() function

Lukasz Majewski (3):
  misc:pmic:core New generic PMIC driver
  misc:pmic:max8998 MAX8998 support at a new PMIC driver.
  misc:pmic:samsung Enable PMIC driver at GONI target

 board/samsung/goni/goni.c   |    4 +
 drivers/misc/Makefile       |    4 +
 drivers/misc/pmic_core.c    |  147 +++++++++++++++++++++++++++++++++++++++++++
 drivers/misc/pmic_i2c.c     |   92 +++++++++++++++++++++++++++
 drivers/misc/pmic_max8998.c |   43 +++++++++++++
 drivers/misc/pmic_spi.c     |  109 ++++++++++++++++++++++++++++++++
 include/configs/s5p_goni.h  |    4 +
 include/max8998_pmic.h      |   84 ++++++++++++++++++++++++
 include/pmic.h              |   71 +++++++++++++++++++++
 9 files changed, 558 insertions(+), 0 deletions(-)
 create mode 100644 drivers/misc/pmic_core.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

-- 
1.7.2.3



More information about the U-Boot mailing list