linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Reichel <sebastian.reichel@collabora.com>
To: Nikita Travkin <nikita@trvn.ru>
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
Date: Fri, 6 Aug 2021 23:25:54 +0200	[thread overview]
Message-ID: <20210806212554.gpm7ozkn6nbc7oey@earth.universe> (raw)
In-Reply-To: <20210727170345.115004-2-nikita@trvn.ru>

[-- Attachment #1: Type: text/plain, Size: 1392 bytes --]

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.
> 
> Signed-off-by: Nikita Travkin <nikita@trvn.ru>
> ---

Thanks, queued.

-- Sebastian

>  drivers/power/supply/max17042_battery.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supply/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[] = {
>  	{ .compatible = "maxim,max17047" },
>  	{ .compatible = "maxim,max17050" },
>  	{ .compatible = "maxim,max17055" },
> +	{ .compatible = "maxim,max77849-battery" },
>  	{ },
>  };
>  MODULE_DEVICE_TABLE(of, max17042_dt_match);
> @@ -1206,6 +1207,7 @@ static const struct i2c_device_id max17042_id[] = {
>  	{ "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);
> -- 
> 2.30.2
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-08-06 21:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27 17:03 [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery Nikita Travkin
2021-07-27 17:03 ` [PATCH 2/2] power: supply: max17042_battery: Add support for MAX77849 Fuel-Gauge Nikita Travkin
2021-08-06 21:25   ` Sebastian Reichel [this message]
2021-08-02 20:55 ` [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery Rob Herring
2021-08-06 21:25 ` Sebastian Reichel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210806212554.gpm7ozkn6nbc7oey@earth.universe \
    --to=sebastian.reichel@collabora.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=nikita@trvn.ru \
    --cc=robh+dt@kernel.org \
    --subject='Re: [PATCH 2/2] power: supply: max17042_battery: Add support for MAX77849 Fuel-Gauge' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).