Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp895760pxt; Fri, 6 Aug 2021 17:17:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWFi5QgoLlWZXsQiKkaJRgI8J341jJFGgyR7WWpYA8X00watNOsofdJFyTi1qmTCXD2HhX X-Received: by 2002:a92:b111:: with SMTP id t17mr87373ilh.208.1628295448601; Fri, 06 Aug 2021 17:17:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628295448; cv=none; d=google.com; s=arc-20160816; b=wr4BmuFnRuClJOea8AbN9g5pGFZYvi+TKqxwm8Dqmxwqmmj/cftj9dHfmc1dLx9/zc Nkgqm0VVpfrZTd50xUXtDLGYpeYdz0CGMDh3Eg8+VcHhG10eZIdltzuwDMcU270lSj/H 6SEfUE51rBeV/u2OAg47AmRX7I7w5Or6kzMgoFEHPAgwBNXgV4YyxY1bhqfxjz3s7rXC UE9dtQ6elmMDF3tqtJMXpjACe60ciNJm1lBT8CQj3u7M7XgeY1jNB+uvIFyYeuNhJxwN xvx8Yze2fqxVd7jw43ny6dQKXHvy5ejt2WJRh9HvtRKHP6S6hrx3cacPS0oGR1d0ID2j rw1Q== 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=Z/Q6G8kz9Q2CdZbdlIUKHVR8s+K6RkMDS6y0a7D/yDw=; b=pIVUa8eyJx/xLn7KGTWwQL/MJe5aQg541O1bDzl31eNI2b/oQfCQvqFeh9G8R++8pJ ghIjlu2Bspv8mWobP6ajOggwwehVu/Q4Z7+FXnHmpMqFFc1DUtrMVgCZ/+ADazTm/+aE ChJ2tBtWasqpRMLjsw9CJKtO7lVOCqiU+fPS8gBIam8aIi4xXpyV2BCCYc3MunEI4b8W KudYQsqcWmzbEfFHGhe98C+YVuddm9ZVMYoZ13FgwWzMNEEhgzfyW34Ko48nMDVls7aj tmRImh/10huZ2lu4t0/6A0SKVffyQt4rwG6B5S6PApKeSQ/CEto7smumxO5Th9Mj76Nq RBGA== 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 o1si2082964iou.79.2021.08.06.17.17.17; Fri, 06 Aug 2021 17:17:28 -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 S242302AbhHFV0P (ORCPT + 99 others); Fri, 6 Aug 2021 17:26:15 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:52310 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240338AbhHFV0N (ORCPT ); Fri, 6 Aug 2021 17:26:13 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 493D71F44DE2 Received: by earth.universe (Postfix, from userid 1000) id 5E3093C0C99; Fri, 6 Aug 2021 23:25:54 +0200 (CEST) Date: Fri, 6 Aug 2021 23:25:54 +0200 From: Sebastian Reichel To: Nikita Travkin Cc: robh+dt@kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] power: supply: max17042_battery: Add support for MAX77849 Fuel-Gauge Message-ID: <20210806212554.gpm7ozkn6nbc7oey@earth.universe> References: <20210727170345.115004-1-nikita@trvn.ru> <20210727170345.115004-2-nikita@trvn.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zetbnkzlogb3f54i" Content-Disposition: inline In-Reply-To: <20210727170345.115004-2-nikita@trvn.ru> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --zetbnkzlogb3f54i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Jul 27, 2021 at 10:03:45PM +0500, Nikita Travkin wrote: > MAX77849 is a combined fuel-gauge, charger and MUIC IC. Notably, > fuel-gauge has dedicated i2c lines and seems to be fully compatible > with max17047. Add new compatible for it reusing max17047 code paths. >=20 > Signed-off-by: Nikita Travkin > --- Thanks, queued. -- Sebastian > drivers/power/supply/max17042_battery.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supp= ly/max17042_battery.c > index ce2041b30a06..f28c90ea41b4 100644 > --- a/drivers/power/supply/max17042_battery.c > +++ b/drivers/power/supply/max17042_battery.c > @@ -1196,6 +1196,7 @@ static const struct of_device_id max17042_dt_match[= ] =3D { > { .compatible =3D "maxim,max17047" }, > { .compatible =3D "maxim,max17050" }, > { .compatible =3D "maxim,max17055" }, > + { .compatible =3D "maxim,max77849-battery" }, > { }, > }; > MODULE_DEVICE_TABLE(of, max17042_dt_match); > @@ -1206,6 +1207,7 @@ static const struct i2c_device_id max17042_id[] =3D= { > { "max17047", MAXIM_DEVICE_TYPE_MAX17047 }, > { "max17050", MAXIM_DEVICE_TYPE_MAX17050 }, > { "max17055", MAXIM_DEVICE_TYPE_MAX17055 }, > + { "max77849-battery", MAXIM_DEVICE_TYPE_MAX17047 }, > { } > }; > MODULE_DEVICE_TABLE(i2c, max17042_id); > --=20 > 2.30.2 >=20 --zetbnkzlogb3f54i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmENqOIACgkQ2O7X88g7 +pp19BAApIkuniJkn4z8m+Uer5ajFKZ1FGTSwq3ymbDmYZf8HqiQB6+TQ4N1EPhx 0ol/TY9Q6JlYrkL6It7+ll+ir5Ca95nh151E7BxwcTMwZbsrmWF319Xaxu+pFjwK ewdhbkhtFBtvQyX0lLJ/MN3PQVkI4BbQSGGnTV2AZ+9PrImWnPIYVoyYLtP7ACPL Boy11+u8IeX+ULmLDxFXQfcYFb7hKq5k931OScJrsiE/+nDSu96YyrdxokWqxyux AZtF+IK5Ax5b3FSYlhCFFQCbkY4Amt5LU+EglC1PHNxV6R/QFmsF1/3BgHLEzNv2 cQKuXYeTsds2JsZNfcqksB1HVazEVp7JxHXEB7k6u9VxhkM1/wZCla9tN/e1rgAp g3P5pqEMm5lLtV9l2AHu7qSckqKJnd0heGK93VdUhxAWAxIBCrVZnZLEmaHSricm UcYkeoWqlQ9sXrMln+hsCnB/AQNKeutRJN4/GtFlI1EpNXjlzCyfGVfW/E/M3+El i6//93k6qrbW7ZFSqt/rgPxlawby2fEQlcg4nAKEWH0PbL/zYn++G0a+L25iOX/h qVQs/bxVt8Neeh/QdW1H9kDNPwIPKs5qJUH7Cte7IP36VgW7HFLf7ViAIzQSkjxI FtSzXMewryoiP6B9nwMIYveXSxwWEVxH41Jf29dSo1Ljk+wmQpQ= =aATW -----END PGP SIGNATURE----- --zetbnkzlogb3f54i--