Re: [PATCH] dmaengine: sh: rcar-dmac: remove r8a779a0 settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Morimoto-san,

On Mon, Nov 25, 2024 at 1:48 AM Kuninori Morimoto
<kuninori.morimoto.gx@xxxxxxxxxxx> wrote:
> Historically r8a779a0 SoC specific compatible was added to rcar-dmac,
> but it is same as Gen4 today, and r8a779a0 SoC DT has both SoC and Gen4
> compatible. SoC specific compatible is no longer needed. Let's remove it.
>
>         static const struct of_device_id rcar_dmac_of_ids[] = {
>                 ...
>                 }, {
>                         .compatible = "renesas,rcar-gen4-dmac",
> =>                      .data = &rcar_gen4_dmac_data,
>                 }, {
>                         .compatible = "renesas,dmac-r8a779a0",
> =>                      .data = &rcar_gen4_dmac_data,
>                 },
>
>         dmacX: dma-controller@XXXXX {
> =>              compatible = "renesas,dmac-r8a779a0",
> =>                           "renesas,rcar-gen4-dmac";
>                 ...
>         };
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>

Thanks for your patch!

> --- a/drivers/dma/sh/rcar-dmac.c
> +++ b/drivers/dma/sh/rcar-dmac.c
> @@ -2022,9 +2022,6 @@ static const struct of_device_id rcar_dmac_of_ids[] = {
>         }, {
>                 .compatible = "renesas,rcar-gen4-dmac",
>                 .data = &rcar_gen4_dmac_data,
> -       }, {
> -               .compatible = "renesas,dmac-r8a779a0",
> -               .data = &rcar_gen4_dmac_data,
>         },
>         { /* Sentinel */ }
>  };

This compatible value was retained in the driver because of DT
backwards compatibility: DTBs created between v5.12 and v5.19 use only
"renesas,dmac-r8a779a0".

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux