diff options
author | Quentin Schulz <[email protected]> | 2017-04-18 09:34:17 +0200 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2017-05-01 11:52:23 +0200 |
commit | 46c202b5f25fb6fbd4af60ded133fa745b3601b3 (patch) | |
tree | cb424e2f6f5c9e042d6b8a326ff99fba2d7e3c94 /net/lapb/lapb_subr.c | |
parent | 7221675c70d147f2ae6f044697dff046f3805224 (diff) |
power: supply: add battery driver for AXP20X and AXP22X PMICs
The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply.
This patch adds the battery power supply driver to get various data from
the PMIC, such as the battery status (charging, discharging, full,
dead), current max limit, current current, battery capacity (in
percentage), voltage max and min limits, current voltage and battery
capacity (in Ah).
This battery driver uses the AXP20X/AXP22X ADC driver as PMIC data
provider.
Signed-off-by: Quentin Schulz <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Acked-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions