From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: "Konrad Dybcio" <konrad.dybcio@oss.qualcomm.com>,
"Mark Brown" <broonie@kernel.org>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Hans de Goede" <hdegoede@redhat.com>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Chen-Yu Tsai" <wens@csie.org>,
"Matti Vaittinen" <mazziesaccount@gmail.com>,
"Pali Rohár" <pali@kernel.org>,
"Paul Cercueil" <paul@crapouillou.net>,
"Samuel Holland" <samuel@sholland.org>,
"David Lechner" <david@lechnology.com>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Marek Szyprowski" <m.szyprowski@samsung.com>,
"Sebastian Krzyszkowiak" <sebastian.krzyszkowiak@puri.sm>,
"Purism Kernel Team" <kernel@puri.sm>,
"Bartosz Golaszewski" <brgl@bgdev.pl>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Matthias Brugger" <matthias.bgg@gmail.com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora.com>,
"Orson Zhai" <orsonzhai@gmail.com>,
"Baolin Wang" <baolin.wang@linux.alibaba.com>,
"Chunyan Zhang" <zhang.lyra@gmail.com>,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-usb@vger.kernel.org
Subject: Re: [PATCH 3/7] usb: common: usb-conn-gpio: switch psy_cfg from of_node to fwnode
Date: Sat, 8 Mar 2025 18:27:32 +0100 [thread overview]
Message-ID: <2025030831-various-monthly-4ae0@gregkh> (raw)
In-Reply-To: <eqfqv2tkfretqzvt74o5dvj5yixkfc3h3my4bhskvhtsrbmtwp@poryvs4oipnp>
On Sat, Mar 08, 2025 at 05:33:05PM +0100, Sebastian Reichel wrote:
> Hi,
>
> On Sat, Mar 08, 2025 at 10:34:45AM +0100, Konrad Dybcio wrote:
> > On 8.03.2025 6:57 AM, Greg Kroah-Hartman wrote:
> > > On Sat, Mar 08, 2025 at 02:10:29AM +0100, Sebastian Reichel wrote:
> > >> On Tue, Feb 25, 2025 at 04:32:50AM +0100, Greg Kroah-Hartman wrote:
> > >>> On Tue, Feb 25, 2025 at 12:21:36AM +0100, Sebastian Reichel wrote:
> > >>>> In order to remove .of_node from the power_supply_config struct,
> > >>>> use .fwnode instead.
> > >>>>
> > >>>> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> > >>>> ---
> > >>>> drivers/usb/common/usb-conn-gpio.c | 2 +-
> > >>>> 1 file changed, 1 insertion(+), 1 deletion(-)
> > >>>>
> > >>>> diff --git a/drivers/usb/common/usb-conn-gpio.c b/drivers/usb/common/usb-conn-gpio.c
> > >>>> index aa710b50791b0282be0a6a26cffdd981b794acaa..1e36be2a28fd5ca5e1495b7923e4d3e25d7cedef 100644
> > >>>> --- a/drivers/usb/common/usb-conn-gpio.c
> > >>>> +++ b/drivers/usb/common/usb-conn-gpio.c
> > >>>> @@ -158,7 +158,7 @@ static int usb_conn_psy_register(struct usb_conn_info *info)
> > >>>> struct device *dev = info->dev;
> > >>>> struct power_supply_desc *desc = &info->desc;
> > >>>> struct power_supply_config cfg = {
> > >>>> - .of_node = dev->of_node,
> > >>>> + .fwnode = dev_fwnode(dev),
> > >>>> };
> > >>>>
> > >>>> desc->name = "usb-charger";
> > >>>>
> > >>>> --
> > >>>> 2.47.2
> > >>>
> > >>> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> > >>
> > >> Please just merge this patch through the USB tree.
> > >>
> > >> There are no dependencies and I will send a new version for the
> > >> later patches, but they won't make it to 6.15 as I want enough
> > >> time in linux-next for them. This patch is rather simple and
> > >> getting it merged now means we avoid immutable branches or
> > >> merging through the wrong tree in the 6.16 cycle.
> > >
> > > Attempting to merge a single patch out of a series is hard with our
> > > current tools, you know that.
>
> Sorry, I did not know your tooling has issues with that. AFAIK most
> maintainers are using b4 nowadays, which makes it really easy. Might
> be I am biased because I mostly work on ARM stuff where series often
> have patches for the driver and the device tree and thus merging
> partial patch series is basically the norm.
I do use b4, but it wants to suck the whole series down. If I want to
pick an individual one out, I have to manually cut the message-id out
of the email and type out the command and pick the individual commit
out (or use the -P 3 as was said).
But that's a world away from me just hitting a single key in my email
client to suck down the whole thread and apply it to my tree.
For those of us who have to apply a lot of patches, automation is key.
When sending a patch series that wants to be split across multiple
trees, that makes it harder for everyone.
Anyway, I can take this as is, I've spent more time typing this than it
would have taken me to dig out just the single email. Give me a few
days to catch up with it...
thanks,
greg k-h
next prev parent reply other threads:[~2025-03-08 17:28 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-24 23:21 [PATCH 0/7] power: supply: core: convert to fwnode Sebastian Reichel
2025-02-24 23:21 ` [PATCH 1/7] power: supply: core: get rid of of_node Sebastian Reichel
2025-02-25 10:47 ` AngeloGioacchino Del Regno
2025-02-25 11:14 ` Matti Vaittinen
2025-02-25 13:11 ` Sebastian Reichel
2025-02-25 13:25 ` Matti Vaittinen
2025-02-24 23:21 ` [PATCH 2/7] regulator: act8865-regulator: switch psy_cfg from of_node to fwnode Sebastian Reichel
2025-03-12 0:12 ` Sebastian Reichel
2025-03-12 12:34 ` Mark Brown
2025-02-24 23:21 ` [PATCH 3/7] usb: common: usb-conn-gpio: " Sebastian Reichel
2025-02-25 3:32 ` Greg Kroah-Hartman
2025-03-08 1:10 ` Sebastian Reichel
2025-03-08 5:57 ` Greg Kroah-Hartman
2025-03-08 9:34 ` Konrad Dybcio
2025-03-08 16:33 ` Sebastian Reichel
2025-03-08 17:27 ` Greg Kroah-Hartman [this message]
2025-03-08 18:27 ` Konrad Dybcio
2025-03-21 16:36 ` Konstantin Ryabitsev
2025-03-22 3:44 ` Greg Kroah-Hartman
2025-04-11 12:45 ` Greg Kroah-Hartman
2025-02-25 10:50 ` AngeloGioacchino Del Regno
2025-02-24 23:21 ` [PATCH 4/7] power: supply: all: " Sebastian Reichel
2025-02-25 2:40 ` Chen-Yu Tsai
2025-02-25 3:39 ` Baolin Wang
2025-02-25 10:47 ` AngeloGioacchino Del Regno
2025-02-24 23:21 ` [PATCH 5/7] power: supply: core: remove of_node from power_supply_config Sebastian Reichel
2025-02-25 10:49 ` AngeloGioacchino Del Regno
2025-02-24 23:21 ` [PATCH 6/7] power: supply: core: battery-info: fully switch to fwnode Sebastian Reichel
2025-02-25 10:49 ` AngeloGioacchino Del Regno
2025-02-24 23:21 ` [PATCH 7/7] power: supply: core: convert to fwnnode Sebastian Reichel
2025-02-25 10:49 ` AngeloGioacchino Del Regno
2025-02-25 13:16 ` Hans de Goede
2025-02-25 21:22 ` Sebastian Reichel
2025-03-08 0:45 ` (subset) [PATCH 0/7] power: supply: core: convert to fwnode 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=2025030831-various-monthly-4ae0@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=baolin.wang@linux.alibaba.com \
--cc=brgl@bgdev.pl \
--cc=broonie@kernel.org \
--cc=david@lechnology.com \
--cc=hdegoede@redhat.com \
--cc=kernel@puri.sm \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=matthias.bgg@gmail.com \
--cc=mazziesaccount@gmail.com \
--cc=orsonzhai@gmail.com \
--cc=pali@kernel.org \
--cc=paul@crapouillou.net \
--cc=samuel@sholland.org \
--cc=sebastian.krzyszkowiak@puri.sm \
--cc=sebastian.reichel@collabora.com \
--cc=wens@csie.org \
--cc=zhang.lyra@gmail.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