lkml.org 
[lkml]   [2023]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH/RFT] pinctrl: renesas: rzv2m: Handle non-unique subnode names
Date
Hi Linus W,

> Subject: Re: [PATCH/RFT] pinctrl: renesas: rzv2m: Handle non-unique
> subnode names
>
> On Mon, Jul 3, 2023 at 5:07 PM Geert Uytterhoeven
> <geert+renesas@glider.be> wrote:
>
> > The eMMC and SDHI pin control configuration nodes in DT have subnodes
> > with the same names ("data" and "ctrl"). As the RZ/V2M pin control
> > driver considers only the names of the subnodes, this leads to
> > conflicts:
> >
> > pinctrl-rzv2m b6250000.pinctrl: pin P8_2 already requested by
> 85000000.mmc; cannot claim for 85020000.mmc
> > pinctrl-rzv2m b6250000.pinctrl: pin-130 (85020000.mmc) status -22
> > renesas_sdhi_internal_dmac 85020000.mmc: Error applying setting,
> > reverse things back
> >
> > Fix this by constructing unique names from the node names of both the
> > pin control configuration node and its child node, where appropriate.
> >
> > Reported by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
> > Fixes: 92a9b825257614af ("pinctrl: renesas: Add RZ/V2M pin and gpio
> > controller driver")
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > Untested on real hardware.
> > The RZ/G2L pin control drivers needs a similar fix.
>
> If I need to merge this for fixes it's be great if we could also include
> a fix for RX/G2L.
>
> Anyway, I expect a pull request for renesas fixes or some explicit
> instruction on what to do when it's tested and confirmed working.

OK, I will prepare a similar patch for RZ/G2L and will test and confirm.

Cheers,
Biju
\
 
 \ /
  Last update: 2023-07-04 11:14    [W:0.074 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site