pmic: Redesign PMIC framework to support multiple instances of devices
Get series with b4
b4 am 20120917224915.5782adec@jawaVersions newest first
- v1 Latest7 of 16 patches 0 repliesNew
7 of 16 patches are in this archive. The cover letter announces 16.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/16 | pmic:i2c: Add I2C byte order to PMIC framework | +0 | 0 replies | |
| 3/16 | pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C | +0 | 0 replies | |
| 8/16 | pmic:muic: Support for MUIC built into MAX8997 device | +0 | 0 replies | |
| 9/16 | pmic:fuel-gauge: Support for MAX17042 fuel-gauge | +0 | 0 replies | |
| 10/16 | pmic:max8997: Function for calculating LDO internal register value | +0 | 0 replies | |
| 13/16 | arm:trats:pmic: Enable fuel-gauge (MAX17042) at Samsung's TRATS board | +0 | 0 replies | |
| 15/16 | arm:trats:pmic: Support for charging battery at Samsung's TRATS board | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/16] pmic: Redesign PMIC framework to support multiple instances of devices
Hi Tom,
Quoted 9 lines · Lukasz Majewski
Quoted 8 lines
PMIC framework has been redesigned to support multiple instances of power related devices (e.g. fuel gauge, PMICs, chargers, micro USB IC).
Due to that, code at other architectures and boards have been adjusted properly.
Quoted 9 lines
Quoted 5 lines
New
power_board_init()method at./lib/board.cfile has been introduced. It is meant to be an architecture dependent function to support advanced power management. Since PMIC framework uses lists internally to link different devices, its initialization must be done just after malloc initialization.The framework itself looks OK, but I'd appreciate others reviewing as well.
That was my intention to start a discussion. I'm welcome for other opinions.
Regards,
Lukasz