public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: Dzmitry Sankouski <dsankouski@gmail.com>,
	Chanwoo Choi <cw00.choi@samsung.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Luca Ceresoli <luca.ceresoli@bootlin.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: Re: [PATCH v3 1/9] mfd: max77705: max77705_charger: move active discharge setting to mfd parent
Date: Tue, 16 Sep 2025 09:45:59 +0100	[thread overview]
Message-ID: <20250916084559.GI1637058@google.com> (raw)
In-Reply-To: <rwnwaen5hqoeieiubishsrzn3wnmhhpbaurx6oukos7ysjoppm@uh6m22r2cdps>

On Mon, 15 Sep 2025, Sebastian Reichel wrote:

> Hi,
> 
> On Thu, Sep 11, 2025 at 08:57:09PM +0300, Dzmitry Sankouski wrote:
> > Active discharge setting is a part of MFD top level i2c device, hence
> > cannot be controlled by charger. Writing to MAX77705_PMIC_REG_MAINCTRL1
> > register from charger driver is a mistake.
> >
> > Move active discharge setting to MFD parent driver.
> 
> This is quite confusing to read without knowing the driver. I think
> it's betterly described like this:
> 
> Active discharge setting is a part of MFD top level register range,
> hence cannot be controlled by the charger regmap, which only offers
> access to the charger registers.
> 
> Move active discharge setting to MFD parent driver to fix the issue.
> 
> > 
> > Fixes: a6a494c8e3ce ("power: supply: max77705: Add charger driver for Maxim 77705")
> > 
> 
> No newline after Fixes:
> 
> > Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
> > ---
> >  drivers/mfd/max77705.c                  | 3 +++
> >  drivers/power/supply/max77705_charger.c | 3 ---
> >  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> I think it's sensible to use 'mfd: max77705:' prefix for this patch,
> otherwise Lee easily misses that this patchset has anything to do
> with his subsystem :)

=:-)

-- 
Lee Jones [李琼斯]

  reply	other threads:[~2025-09-16  8:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-11 17:57 [PATCH v3 0/9] power: supply: fixes and improvements for max77(705,976) chargers Dzmitry Sankouski
2025-09-11 17:57 ` [PATCH v3 1/9] power: supply: max77705_charger: move active discharge setting to mfd parent Dzmitry Sankouski
2025-09-15 15:42   ` [PATCH v3 1/9] mfd: max77705: " Sebastian Reichel
2025-09-16  8:45     ` Lee Jones [this message]
2025-09-16  8:43   ` [PATCH v3 1/9] power: supply: " Lee Jones
2025-09-11 17:57 ` [PATCH v3 2/9] power: supply: max77705_charger: refactoring: rename charger to chg Dzmitry Sankouski
2025-09-11 17:57 ` [PATCH v3 3/9] power: supply: max77705_charger: use regfields for config registers Dzmitry Sankouski
2025-09-11 17:57 ` [PATCH v3 4/9] power: supply: max77705_charger: return error when config fails Dzmitry Sankouski
2025-09-11 17:57 ` [PATCH v3 5/9] power: supply: max77705_charger: add writable properties Dzmitry Sankouski
2025-09-11 17:57 ` [PATCH v3 6/9] power: supply: max77705_charger: rework interrupts Dzmitry Sankouski
2025-09-15 15:34   ` Sebastian Reichel
2025-09-11 17:57 ` [PATCH v3 7/9] power: supply: max77705_charger: use REGMAP_IRQ_REG_LINE macro Dzmitry Sankouski
2025-09-11 17:57 ` [PATCH v3 8/9] power: supply: max77705_charger: implement aicl feature Dzmitry Sankouski
2025-09-11 17:57 ` [PATCH v3 9/9] power: supply: max77976_charger: fix constant current reporting Dzmitry Sankouski
2025-09-15 15: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=20250916084559.GI1637058@google.com \
    --to=lee@kernel.org \
    --cc=cw00.choi@samsung.com \
    --cc=dsankouski@gmail.com \
    --cc=krzk@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=sebastian.reichel@collabora.com \
    /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