linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dzmitry Sankouski <dsankouski@gmail.com>
To: Lee Jones <lee@kernel.org>
Cc: Sebastian Reichel <sre@kernel.org>,
	Chanwoo Choi <cw00.choi@samsung.com>,
	 Krzysztof Kozlowski <krzk@kernel.org>,
	Rob Herring <robh@kernel.org>, Conor Dooley <conor+dt@kernel.org>,
	 Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Pavel Machek <pavel@ucw.cz>,  Hans de Goede <hdegoede@redhat.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	 Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>,
	Purism Kernel Team <kernel@puri.sm>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	 devicetree@vger.kernel.org, linux-input@vger.kernel.org,
	 linux-leds@vger.kernel.org
Subject: Re: [PATCH v14 07/10] mfd: simple-mfd-i2c: Add MAX77705 support
Date: Thu, 9 Jan 2025 15:53:44 +0300	[thread overview]
Message-ID: <CABTCjFCMky1kRZ0a8q999_WNdeOhqsDwtqxMCcWsmUoWv_rhDw@mail.gmail.com> (raw)
In-Reply-To: <20250109120308.GI6763@google.com>

чт, 9 янв. 2025 г. в 15:03, Lee Jones <lee@kernel.org>:
>
> On Thu, 09 Jan 2025, Lee Jones wrote:
>
> > On Wed, 08 Jan 2025, Dzmitry Sankouski wrote:
> >
> > > Add MAX77705 support - fuel gauge and hwmon devices.
> > > Hwmon provides charger input and system bus measurements.
> > >
> > > Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
> > > ---
> > > Changes in v13:
> > > - remove compatible from cells
> > > - change mfd compatible to match max77705 fuel gauge node
> > > ---
> > >  drivers/mfd/simple-mfd-i2c.c | 11 +++++++++++
> > >  1 file changed, 11 insertions(+)
> > >
> > > diff --git a/drivers/mfd/simple-mfd-i2c.c b/drivers/mfd/simple-mfd-i2c.c
> > > index 6eda79533208..22159913bea0 100644
> > > --- a/drivers/mfd/simple-mfd-i2c.c
> > > +++ b/drivers/mfd/simple-mfd-i2c.c
> > > @@ -83,11 +83,22 @@ static const struct simple_mfd_data maxim_max5970 = {
> > >     .mfd_cell_size = ARRAY_SIZE(max5970_cells),
> > >  };
> > >
> > > +static const struct mfd_cell max77705_sensor_cells[] = {
> > > +   { .name = "max77705-battery" },
> > > +   { .name = "max77705-hwmon", },
> > > +};
>
> Why not register these from the proper MFD driver?
>

Because the fuel gauge address is different from the max77705 mfd device.

-- 
Best regards and thanks for review,
Dzmitry

  reply	other threads:[~2025-01-09 12:53 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08 14:13 [PATCH v14 00/10] Add support for Maxim Integrated MAX77705 PMIC Dzmitry Sankouski
2025-01-08 14:13 ` [PATCH v14 01/10] power: supply: add undervoltage health status property Dzmitry Sankouski
2025-01-08 14:13 ` [PATCH v14 02/10] dt-bindings: power: supply: max17042: add max77705 support Dzmitry Sankouski
2025-01-08 14:13 ` [PATCH v14 03/10] dt-bindings: power: supply: add maxim,max77705 charger Dzmitry Sankouski
2025-01-08 14:13 ` [PATCH v14 04/10] dt-bindings: mfd: add maxim,max77705 Dzmitry Sankouski
2025-01-08 14:13 ` [PATCH v14 05/10] power: supply: max17042: add max77705 fuel gauge support Dzmitry Sankouski
2025-01-08 14:13 ` [PATCH v14 06/10] power: supply: max77705: Add charger driver for Maxim 77705 Dzmitry Sankouski
2025-01-16  0:16   ` Sebastian Reichel
2025-01-16 12:44     ` Dzmitry Sankouski
2025-01-08 14:13 ` [PATCH v14 07/10] mfd: simple-mfd-i2c: Add MAX77705 support Dzmitry Sankouski
2025-01-09 12:01   ` Lee Jones
2025-01-09 12:03     ` Lee Jones
2025-01-09 12:53       ` Dzmitry Sankouski [this message]
2025-01-13 13:35         ` Dzmitry Sankouski
2025-01-15 18:57     ` Dzmitry Sankouski
2025-01-21 10:15       ` Lee Jones
2025-01-22 15:19         ` Dzmitry Sankouski
2025-01-08 14:13 ` [PATCH v14 08/10] mfd: Add new driver for MAX77705 PMIC Dzmitry Sankouski
2025-01-09 12:21   ` Lee Jones
2025-01-13 17:42     ` Dzmitry Sankouski
2025-01-08 14:13 ` [PATCH v14 09/10] input: max77693: add max77705 haptic support Dzmitry Sankouski
2025-01-08 14:13 ` [PATCH v14 10/10] leds: max77705: Add LEDs support Dzmitry Sankouski
2025-01-15 22:02 ` (subset) [PATCH v14 00/10] Add support for Maxim Integrated MAX77705 PMIC 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=CABTCjFCMky1kRZ0a8q999_WNdeOhqsDwtqxMCcWsmUoWv_rhDw@mail.gmail.com \
    --to=dsankouski@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=cw00.choi@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=kernel@puri.sm \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=pavel@ucw.cz \
    --cc=robh@kernel.org \
    --cc=sebastian.krzyszkowiak@puri.sm \
    --cc=sre@kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).