From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v4 00/13] add support for AXP813 ADC and battery power supply Date: Wed, 21 Feb 2018 10:51:35 +0100 Message-ID: <20180221095135.qasoo527jvlu6fsw@flea.lan> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9099786546597297495==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Quentin Schulz Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, lars@metafoo.de, thomas.petazzoni@bootlin.com, linux-pm@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, sre@kernel.org, linux@armlinux.org.uk, wens@csie.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, pmeerw@pmeerw.net, knaack.h@gmx.de, lee.jones@linaro.org, jic23@kernel.org List-Id: devicetree@vger.kernel.org --===============9099786546597297495== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dv5ei2er35pztlai" Content-Disposition: inline --dv5ei2er35pztlai Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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, a= nd > measures a few different things: temperature, power supply status, current > current and voltage supplied, maximum current limit, battery capacity, min > and max voltage limits. >=20 > One of its two GPIOs can be used as an ADC. >=20 > 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 th= at > was stored on 13 bits), > - different scales and offsets, > - a different ADC rate formula and register, >=20 > This patch series adds support for the PMIC's ADC and battery power supply > in the existing drivers. >=20 > 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. >=20 > I suggest patches: > - 1,2,4,10,11,12 go through Maxime and Chen-Yu's tree, Applied, thanks! Maxiime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --dv5ei2er35pztlai Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlqNQSYACgkQ0rTAlCFN r3Trsw/9EJBb7CEZav54SzhHbxqn6M72R75nl0OsNvvTDl043d8UapMH8lNPvIal nemW+99/JuxT+M/+uGr0I/wYiV0jBnA5nasgSerFWU2Thc2TXFOXx02ZlQB9EExP yXO2NlGTy6D8MYuPfFRbH/SQrWoy0XRXB26tRJ2wLa5SNW2MhZCNc+3jORu3dNM+ EQ3HPpYiHd3RyqlSSJmRX63fKRA38MP9TenW65h8IwCTg96P93OHy0nxKjjvWvFQ tc2MO2NKICuPrD7lLeO6kuJC7VYGpJtSQHb0FNoy5lVSeiolF/amNEX3cM+UZ7f3 FEJVpfNI+e1Cw5U0VZkKlM768WODk7nEHIh0kfAuOKyuuoAL3VlSrXNucw9GuBtF m5SFNbqIOLSNwJZW7XaO8YmeRnyUplu8GlIghMVfoQVWVhKxuLEN1Yn0UOqzMDTl QVduS+EErJg5HCNin1mUZVCiMGCfJxPXwZCLagks16SMuOmlSDWzhfubdYlKk3u2 ybU2nvXFjv49mk0ecD+oSe8rmGH4bRHe3DSRCdgRL8oAOOyFGrRJfZSWm/N7MDaj sy561Q6JrwmP0phkKvKelcdBDbJAS/FkpcJCCpVopVTCBvi6inta3a8k+zT8BW4F cClcyodzEra3bEkqcRP7vwEbyu3pLqjx6oEklnkediO6K6hAq1c= =lZ7e -----END PGP SIGNATURE----- --dv5ei2er35pztlai-- --===============9099786546597297495== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============9099786546597297495==--