Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp896459pxt; Fri, 6 Aug 2021 17:18:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqRAKddN4gHjmjNttEy+TMpU3YoDdPVRYFkVEaMsGHl7TVewSXlcKKWNhkKZCwxV4LZ2n0 X-Received: by 2002:a02:cd21:: with SMTP id h1mr12104534jaq.27.1628295528862; Fri, 06 Aug 2021 17:18:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628295528; cv=none; d=google.com; s=arc-20160816; b=DgOC6XPadhkInOeC5WwNHM30t8RDSNVl8rFWfix29MNSwdinmwCbs1z0gwc9X9e3iE dkLWPF/KO8BV+uHAWYtbtJMcz6ouY0ocIoz6xpoMT+qrUYEue7bCgnqGmn4zX5bWAITv huzYZZAB6fLBEeYcQx7I0JXh5UDi4tp8Egdbqksk/xBGNA6UMJmslSCxG3HTqI0KSYfd 7oC2u1iKDL40ahRs2ctapy3Vx1sSxFKBP5KdkgR48Ly+dcgcjXDSttnMlMQXn6mJvfC8 Tbvn7/Vyo/HKgByvw1xWiPwQikSkOHCq7QgsNw65PUyA0VnZbH76H3ntDplTShKO+hCl Am+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=1m/IAuSIV8lU/P+FD9QhC3OqCTkrWwhaeZVhiqxHUC4=; b=CQST1nXn+RzS0hJ0w6R7epv+nXLFpJqBOf/rwJP2vu3Pxf43Am/8THo/FTyRHXChQu CRKb+c7P4kIlZ3aJCpWwGZTBZWhMZSuLtl0ek/GFW4v9yKE//GC08LtDA3mjUS37u/X9 VRGBx4ANBx65A6JzUOGJvSJhXZk582epIiCA6HDCh+FULAtifdF5DxvVGIRl0M4NvkMg YXJlKKasEL+sOau4054nJUfKzx/3lLwUciMSMLGKQxQL5N1Qf5LXDgsgJlvaBrHSWr+5 jH8L2gXntDa6/aotu75s163QrnCbZ6mOhwVTpAEeCOccT4kU89+3+tFxc0kr6m6Aqj/4 3rsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si10647269jal.113.2021.08.06.17.18.38; Fri, 06 Aug 2021 17:18:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245349AbhHFVus (ORCPT + 99 others); Fri, 6 Aug 2021 17:50:48 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:52532 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237987AbhHFVur (ORCPT ); Fri, 6 Aug 2021 17:50:47 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 551B31F44DF3 Received: by earth.universe (Postfix, from userid 1000) id 613BB3C0C99; Fri, 6 Aug 2021 23:50:28 +0200 (CEST) Date: Fri, 6 Aug 2021 23:50:28 +0200 From: Sebastian Reichel To: Matthias Schiffer Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] power: supply: sbs-battery: relax voltage limit Message-ID: <20210806215028.pok7ec3dyrifaupk@earth.universe> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cvo6efs4un35zhrv" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --cvo6efs4un35zhrv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Jul 19, 2021 at 09:20:18AM +0200, Matthias Schiffer wrote: > The Smart Battery Data Specification allows for values 0..65535 mV, > there is no reason to limit the value to 20000. >=20 > Signed-off-by: Matthias Schiffer > --- Thanks, queued. -- Sebastian > drivers/power/supply/sbs-battery.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/power/supply/sbs-battery.c b/drivers/power/supply/sb= s-battery.c > index f84dbaab283a..3d6b8247d450 100644 > --- a/drivers/power/supply/sbs-battery.c > +++ b/drivers/power/supply/sbs-battery.c > @@ -102,7 +102,7 @@ static const struct chip_data { > [REG_TEMPERATURE] =3D > SBS_DATA(POWER_SUPPLY_PROP_TEMP, 0x08, 0, 65535), > [REG_VOLTAGE] =3D > - SBS_DATA(POWER_SUPPLY_PROP_VOLTAGE_NOW, 0x09, 0, 20000), > + SBS_DATA(POWER_SUPPLY_PROP_VOLTAGE_NOW, 0x09, 0, 65535), > [REG_CURRENT_NOW] =3D > SBS_DATA(POWER_SUPPLY_PROP_CURRENT_NOW, 0x0A, -32768, 32767), > [REG_CURRENT_AVG] =3D > --=20 > 2.17.1 >=20 --cvo6efs4un35zhrv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmENrqQACgkQ2O7X88g7 +pqIBg//bA01H1vqmBod+OFPSoZyqaW+qNMBp3o6R2GsGrTMWrDOZY+XOqCCCmnL CHujWi9OSwoofhx/0JwAau+2TVDxV0dMnRpxg7yHh7Aar/XU2S6Bt09ZnHvm5O5O 1CkeHX9osz3/qbS/xCjB+bju/jSJcFqLV4XsK2rCeXB0fnb8l83mD+4/YM/TcLq5 2L5ilE1RDQZKWCICWtxYd0xbEjCXVEz7SrQX9vWprgu4ifpiXSbpKhfXHV78YT2I RN9lr5ISkaDFzvzGcMppEUzlw50/GllHoGAzpPU4NIOpku6EeUROX+jK/A6Fd2Hs j28M95ax44d1JeAZ2anal5HD4BMH6z9jyVgYPTMOCj9JVNvXV9PZ7thgVW6EmS7w DcgxtP/w5Mj3C2sMCuRsy4E4iOqx1jgKhBzeeGq9N4lb7yJHTKJ3ekkSHtogyGra dyL0SpJu4ZI6W9xuhwN8UYamMbnd+azTQAs7ggKJ25C4xJPGUHvgjiju/pOrF6Fl YCPLgrm1eC8e9z216iGKj5qSPi5j4DHpG12uA5AwYgQZJkLYUyfhKc7F26r/fRSA fs4kpXoQnsBfrBvEDE50piCSLEFGwx/yKHUC7Goao5oKwduD9rzOMAyamcBTfUpY CU0q4lSqIuR/MVREv9zmDi2j7UOS+xDCAMvw4sQnwP3d3z7dO7k= =LSpE -----END PGP SIGNATURE----- --cvo6efs4un35zhrv--