Thread (29 messages) 29 messages, 3 authors, 2017-03-20

[PATCH v4 11/18] dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding

From: sre@kernel.org (Sebastian Reichel)
Date: 2017-03-15 23:02:55
Also in: linux-devicetree, linux-iio, linux-pm, lkml

Hi,

On Wed, Mar 15, 2017 at 11:41:07PM +0100, Quentin Schulz wrote:
Hi,

On 15/03/2017 23:28, Sebastian Reichel wrote:
quoted
Hi,

On Wed, Mar 15, 2017 at 11:55:30AM +0100, Quentin Schulz wrote:
quoted
The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply.

This patch adds the DT binding documentation for the battery power
supply which gets 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).

Signed-off-by: Quentin Schulz <redacted>
Acked-by: Chen-Yu Tsai <redacted>
Acked-by: Maxime Ripard <redacted>
I suggest to do "s/battery-power-supply/battery-fuel-gauge/g"
The IP is way more than a simple fuel gauge, you have info about the
voltage, current, you can set different things, even though you have the
percentage of the battery returned by the PMIC.
Most chips sold under the label battery-fuel-gauges actually give
you that kind of information ;)
Does it really make sense to rename it that way?
If everybody is fine with it I don't mind too much.

-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170316/f8549572/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help