Skip to content

pmic: Redesign PMIC framework to support multiple instances of devices

Lukasz Majewski u-boot 1 version New

Get series with b4
b4 am 20120917224915.5782adec@jawa

Versions newest first

  1. 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 filesSizeRepliesApplied
2/16pmic:i2c: Add I2C byte order to PMIC framework+0 -00 replies
3/16pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C+0 -00 replies
8/16pmic:muic: Support for MUIC built into MAX8997 device+0 -00 replies
9/16pmic:fuel-gauge: Support for MAX17042 fuel-gauge+0 -00 replies
10/16pmic:max8997: Function for calculating LDO internal register value+0 -00 replies
13/16arm:trats:pmic: Enable fuel-gauge (MAX17042) at Samsung's TRATS board+0 -00 replies
15/16arm:trats:pmic: Support for charging battery at Samsung's TRATS board+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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.c file 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