[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180221095135.qasoo527jvlu6fsw@flea.lan>
Date: Wed, 21 Feb 2018 10:51:35 +0100
From: Maxime Ripard <maxime.ripard@...tlin.com>
To: Quentin Schulz <quentin.schulz@...tlin.com>
Cc: sre@...nel.org, robh+dt@...nel.org, mark.rutland@....com,
wens@...e.org, linux@...linux.org.uk, jic23@...nel.org,
knaack.h@....de, lars@...afoo.de, pmeerw@...erw.net,
lee.jones@...aro.org, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-iio@...r.kernel.org,
thomas.petazzoni@...tlin.com, linux-sunxi@...glegroups.com
Subject: Re: [PATCH v4 00/13] add support for AXP813 ADC and battery power
supply
On Mon, Feb 19, 2018 at 01:47:23PM +0100, Quentin Schulz wrote:
> The AXP813 PMIC is relatively close to the already supported AXP20X and
> AXP22X. It provides three different power outputs: battery, AC and USB, and
> measures a few different things: temperature, power supply status, current
> current and voltage supplied, maximum current limit, battery capacity, min
> and max voltage limits.
>
> One of its two GPIOs can be used as an ADC.
>
> There are a few differences with AXP20X/AXP22X PMICs though:
> - a different constant charge current formula,
> - battery temperature, GPIO0 and battery voltages are the only voltages
> measurable,
> - all data are stored on 12 bits (AXP20X/AXP22X had one type of data that
> was stored on 13 bits),
> - different scales and offsets,
> - a different ADC rate formula and register,
>
> This patch series adds support for the PMIC's ADC and battery power supply
> in the existing drivers.
>
> Make the axp20x MFD automatically probe the ADC driver, add the battery
> power supply node in axp81x node and enable it for the TBS A711 since it
> has a soldered battery.
>
> I suggest patches:
> - 1,2,4,10,11,12 go through Maxime and Chen-Yu's tree,
Applied, thanks!
Maxiime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists