Re: [PATCH] i3c: renesas: Fix MDYAD(x) field length

From: Alexandre Belloni

Date: Wed Dec 02 2026 - 17:15:29 EST


On 25/11/2026 10:15:48+0000, Diogo Ivo wrote:
> Hi all,
>
> On 10/1/2026 4:10 PM, Diogo Ivo wrote:
> > Fix the length of the MDYAD(x) macro to be 7 bits as it represents an
> > I3C address, which is 7 bits. The length of this field was confirmed on
> > the documentation of the RZ/G3{E,L,S} SoCs.
> >
> > Fixes: d028219a9f148 ("i3c: master: Add basic driver for the Renesas I3C controller")
> > Cc: stable@xxxxxxxxxxxxxxx
> > Signed-off-by: Diogo Ivo <diogo.ivo.sx@xxxxxxxxxxx>
> > ---
> > drivers/i3c/master/renesas-i3c.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/i3c/master/renesas-i3c.c b/drivers/i3c/master/renesas-i3c.c
> > index 28c0927a0179..8b264f72e55c 100644
> > --- a/drivers/i3c/master/renesas-i3c.c
> > +++ b/drivers/i3c/master/renesas-i3c.c
> > @@ -37,7 +37,7 @@
> > #define BCTL_BUSE BIT(31)
> > #define MSDVAD 0x18
> > -#define MSDVAD_MDYAD(x) FIELD_PREP(GENMASK(21, 16), x)
> > +#define MSDVAD_MDYAD(x) FIELD_PREP(GENMASK(22, 16), x)
> > #define MSDVAD_MDYADV BIT(31)
> > #define RSTCTL 0x20
> >
> > ---
> > base-commit: 66b734f67a4a0a4c2313afb89033d5ab8b8f7523
> > change-id: 20261001-divo-ssgrlpcsrc-2966-i3c_mdyad-0ba701c9add9
> >
> > Best regards,
> > --
> > Diogo Ivo <diogo.ivo.sx@xxxxxxxxxxx>
>
> Gentle ping on this patch.

This doesn't apply, please rebase.


--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com