[PATCH 2/3] net: designware: rockchip: remove unnecessary clock pclk_xpcs

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Jan 13 21:24:00 PST 2022


Hello Sascha,

On 11.11.21 15:03, Michael Riesch wrote:
> The pclk_xpcs clock is not used in the mainline Linux driver and
> only rarely specified in the mainline dts files. Drop it in order
> to avoid errors when the mainline dts files are used.
> 
> Signed-off-by: Michael Riesch <michael.riesch at wolfvision.net>

Can you cherry-pick this one patch? I have code depending on it.

> ---
>  drivers/net/designware_rockchip.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/net/designware_rockchip.c b/drivers/net/designware_rockchip.c
> index e4f74f646..7acbd723b 100644
> --- a/drivers/net/designware_rockchip.c
> +++ b/drivers/net/designware_rockchip.c
> @@ -44,7 +44,6 @@ enum {
>  	CLK_MAC_PCLK,
>  	CLK_MAC_SPEED,
>  	CLK_PTP_REF,
> -	CLK_XPCS_PCLK,
>  };
>  
>  static const struct clk_bulk_data rk_gmac_clks[] = {
> @@ -56,7 +55,6 @@ static const struct clk_bulk_data rk_gmac_clks[] = {
>  	[CLK_MAC_PCLK]    = { .id = "pclk_mac" },
>  	[CLK_MAC_SPEED]   = { .id = "clk_mac_speed" },
>  	[CLK_PTP_REF]     = { .id = "ptp_ref" },
> -	[CLK_XPCS_PCLK]   = { .id = "pclk_xpcs" },
>  };
>  
>  static inline struct eqos_rk_gmac *to_rk_gmac(struct eqos *eqos)
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list