[PATCH v2] of: base: Add of_get_available_child_by_name()
Biju Das
biju.das.jz at bp.renesas.com
Mon Feb 3 17:17:08 UTC 2025
Hi Rob,
+Cc relevant subsystems.
> -----Original Message-----
> From: Rob Herring <robh at kernel.org>
> Sent: 03 February 2025 16:53
> Subject: Re: [PATCH v2] of: base: Add of_get_available_child_by_name()
>
> On Sat, Feb 1, 2025 at 3:31 AM Biju Das <biju.das.jz at bp.renesas.com> wrote:
> >
> > There are lot of drivers using of_get_child_by_name() followed by
> > of_device_is_available() to find the available child node by name for
> > a given parent. Provide a helper for these users to simplify the code.
> >
> > Suggested-by: Geert Uytterhoeven <geert+renesas at glider.be>
> > Signed-off-by: Biju Das <biju.das.jz at bp.renesas.com>
>
> Reviewed-by: Rob Herring <robh at kernel.org>
>
> > ---
> > v1->v2:
> > * Updated commit description.
> > * Updated kerneldoc comment block
> > * Avoided code duplication by using of_get_child_by_name().
> >
> > Note:
> > grep showed the below files will be the users for this new API.
> > I will be updating these drivers once this patch is in mainline.
>
> No need to wait. Please convert all the net ones and send this patch with them.
Thanks for the feedback.
Subsequently, I have send the patches. However, Andrew[1]/Krystoff[2]
mentioned me to wait till this patch appear in -rc ,
Can it be fast tracked to 6.14-rcX?? Otherwise, it needs to wait till 6.15-rc1
and other patches will then appear on 6.16-rc1.
[1] https://lore.kernel.org/all/96fbccd3-fd79-4b2f-8f41-bd0e3fdb2c69@lunn.ch/
[2] https://lore.kernel.org/all/7fe9dad9-85e2-4cf0-98bc-cca20ff62df5@kernel.org/
Cheers,
Biju
More information about the dri-devel
mailing list