Re: [PATCH 1/2] clk: starfive: Add flags argument to JH71X0__MUX macro

From: Stephen Boyd
Date: Wed Dec 20 2023 - 23:38:22 EST


Quoting Cristian Ciocaltea (2023-12-19 15:24:39)
> From: Emil Renner Berthing <emil.renner.berthing@xxxxxxxxxxxxx>
>
> This flag is needed to add the CLK_SET_RATE_PARENT flag on the gmac_tx
> clock on the JH7100, which in turn is needed by the dwmac-starfive
> driver to set the clock properly for 1000, 100 and 10 Mbps links.
>
> This change was mostly made using coccinelle:
>
> @ match @
> expression idx, name, nparents;
> @@
> JH71X0__MUX(
> -idx, name, nparents,
> +idx, name, 0, nparents,
> ...)
>
> Signed-off-by: Emil Renner Berthing <emil.renner.berthing@xxxxxxxxxxxxx>
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@xxxxxxxxxxxxx>
> Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>
> ---

Applied to clk-next