Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1079411ybe; Mon, 2 Sep 2019 14:06:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDLISOwcwqSQSA4fW699nV68ypuBYN1je2rFLZVM31T6AsLworgIXNvbzxOqdrEN5Emwp1 X-Received: by 2002:a63:494d:: with SMTP id y13mr27286148pgk.109.1567458378076; Mon, 02 Sep 2019 14:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567458378; cv=none; d=google.com; s=arc-20160816; b=Q5FASYe+HRR8fFKr6I4Mpka6sUXfKJ39jm+jvxIjPsAeHThoTvdCl5mmUmMZ63N0W/ nMTHiw0jQD9GiNnKnxHJisrwdfAOXsljoIW0ZR0KSTCXn4vWsUmbDjq5e6alQACOsb7z BUskpw+wvrcR7HdiQzrV8gaK9aWftpIV/oYNiv3XOVJga86uhCewMh3Y5UUJD72pOMHq FRj2hhu09K5DSn5FX9HFvyQAPDGfTkziiy7spGFY8g1ZyAHvD19GSd0T2skxprI8qMCJ S03ehoK04IY4JAPmJEdFT1Mkd4EVmfQqPve8XrhTyy1xVe0ZB9YBHIAiKCoUBuOTw8mz ny9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gObhqvDhS2Lr38M4uTc972dwd3fy9x4RWX+6PqKzRf4=; b=n++CYkRn561LrTZYrE11f4k+HF1E+Rvoe6mSDa/36mmH1elcnYAdFZYMiSbe5TxUjU LJDRo+JA9rUeqKHbjBfY/jvWl0F/U19f5t6nbFAViZKiGBzkBuu3QnvIseBWkG3sB4Zu Ht65CRuTGkVyU5ujIVGSnPEvOvQt08jHz6KdDgXGIw+vzhf0/OL0VqtdCd34+CN2BDal AQOPLP1yRHdwbrxr2h7qM55DIYm6RHlAh6l1npiM+0bT7geRrlZvL27/NCvj0mmBwdzd 69QuwqEChDkYqCRbMDIJVx2vf52LkXHjNwojmO+oS4kdtgCMOZHraoPKk885ibZXOSs9 lhuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jWLdNf0P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x19si12444989pgi.515.2019.09.02.14.06.02; Mon, 02 Sep 2019 14:06:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jWLdNf0P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727540AbfIBVEN (ORCPT + 99 others); Mon, 2 Sep 2019 17:04:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:58534 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727370AbfIBVEM (ORCPT ); Mon, 2 Sep 2019 17:04:12 -0400 Received: from earth.universe (unknown [185.62.205.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 94D9721881; Mon, 2 Sep 2019 21:04:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567458251; bh=Zx8L/XC2BFLItiRGrl3cOe+rbtk8egAWBK9C+0cxkIQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jWLdNf0PKLwclUvZbu1DZnUgabeaQhVTVL/HpQzN3omh+pbG0G/jg6ra21Spel/2b ydAwGPdTlM4L2LKjWo6Vo0ykd1kKaDKwLyWSVrIUTrWlO0FrtNGerRYZ1ypHSQSZx3 Arao3UqBWNRRW0D8sHLZs6NU2B1Yg09i+DvIvnOU= Received: by earth.universe (Postfix, from userid 1000) id 2F59F3C0CFA; Mon, 2 Sep 2019 23:04:09 +0200 (CEST) Date: Mon, 2 Sep 2019 23:04:09 +0200 From: Sebastian Reichel To: Baolin Wang Cc: orsonzhai@gmail.com, zhang.lyra@gmail.com, yuanjiang.yu@unisoc.com, vincent.guittot@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] Optimize the Spreadtrum SC27xx fuel gauge Message-ID: <20190902210409.c4mdm6akdlgctgsq@earth.universe> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rfh7b4cxthg4b7bi" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --rfh7b4cxthg4b7bi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed, Jul 31, 2019 at 06:00:22PM +0800, Baolin Wang wrote: > This patch set adds new attributes for userspace, and fixes the the > accuracy issue of coulomb counter calculation, as well as optimizing > the battery capacity calibration in some abnormal scenarios. >=20 > Any comments are welcome. Thanks. Thanks, queued. I slightly modified patch 4, so that int_mode is 'bool' instead of 'int'. -- Sebastian >=20 > Yuanjiang Yu (6): > power: supply: sc27xx: Add POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN > attribute > power: supply: sc27xx: Fix conditon to enable the FGU interrupt > power: supply: sc27xx: Fix the the accuracy issue of coulomb > calculation > power: supply: sc27xx: Optimize the battery capacity calibration > power: supply: sc27xx: Make sure the alarm capacity is larger than 0 > power: supply: sc27xx: Add POWER_SUPPLY_PROP_CALIBRATE attribute >=20 > drivers/power/supply/sc27xx_fuel_gauge.c | 175 +++++++++++++++++++++---= ------ > 1 file changed, 124 insertions(+), 51 deletions(-) >=20 > --=20 > 1.7.9.5 >=20 --rfh7b4cxthg4b7bi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAl1tg8UACgkQ2O7X88g7 +poO8w//bmAxDI11Vh1zSEL2o/rRXBuvC5zqDziZ1jJTbMuG1GHEiEw/tdMpJZkh z+Kp5UXa8mglJXykHrNX1DTaUCTnazir9+Oc6FLTIRcMPFVP+bNhcR45FCcFf2AX mUKsf23hYitaaN4FVYsk6wBZ28rbok8rSIdImkob5xebKt3Kz0YKT4kPs74wyU0e O78gjOO72JQV57vNAy1xYUrzVDL+AuXO0teO8laQMC9gGe7QxJ4UN0cbGpXCf0vl l597BB0RcX7Nxm5kqcjqanGiWl8Uv9Zg9DePolEonuU7gD1z5YxhPNJhH1Vnv4+R h4eiZcBPTl8TVhVk4BtmDQlHUKx4cd+CNjtil03YkDkNxIuzb0VYZ3Olm0k0QvOQ 6ga0vhywJEhKj16iOGLnlptTMe5EFZQn313oKwj0si+0RnJcplyH3rNA6XtOyilw p1JV5StI2ZSeRbRgS1K9AdIG0GGDI/CGU7afuGi/JEejUE3e26ckdRbtekghyxib IZ5XIxnp6c83C8DDWuhwerRbMoLHkOwVxNdG6VdGXVlkXCWx29ioqadVjO3sLnjE cRxU60Njk2oKl130fbNuxrJTzu4p6j1vZRQE91Ii2IXI3WXunRUhrs75LI/Y8BnL tYMuhQK20zLL3VliTIcKxIz99zochoKkUG3guni6g90NGihTnf4= =YqBc -----END PGP SIGNATURE----- --rfh7b4cxthg4b7bi--