Re: [PATCH v2] phy: rockchip: naneng-combphy: Consolidate SSC configuration

From: Heiko Stuebner

Date: Tue Mar 10 2026 - 04:40:53 EST


Am Donnerstag, 5. März 2026, 08:40:50 Mitteleuropäische Normalzeit schrieb Shawn Lin:
> The PCIe SSC configuration for the RK3588 and RK3576 SoCs required
> additional tuning which is missing. When adding these same SSC
> configurations for both of these two SoCs, as well as upcoming
> platforms, it's obvious the SSC setup code was largely duplicated
> across the platform-specific configuration functions. This becomes
> harder to maintain as more platforms are added.
>
> So extract the common SSC logic into a shared helper function,
> rk_combphy_common_cfg_ssc(). This cleans up the per-platform drivers
> and centralizes the standard configuration as possible.
>
> Signed-off-by: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>


Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>