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

Diogo Ivo diogo.ivo.sx at renesas.com
Wed Nov 25 02:15:48 PST 2026


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 at vger.kernel.org
> Signed-off-by: Diogo Ivo <diogo.ivo.sx at renesas.com>
> ---
>   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 at renesas.com>

Gentle ping on this patch.

Thanks,
Diogo



More information about the linux-i3c mailing list