[PATCH 4/5] phy: qcom: snps-femto-v2: Move PHY init registers to config tables

Konrad Dybcio konrad.dybcio at oss.qualcomm.com
Tue Aug 25 01:56:57 PDT 2026


On 8/24/26 8:37 AM, Varadarajan Narayanan wrote:
> The driver currently programs the common PHY register sequence directly in
> qcom_snps_hsphy_init(), with the fixed register writes split around the
> override parameter handling. This makes it hard to support SoCs that need a
> different sequence or different values.

[...]

> +	{ USB2_PHY_USB_PHY_REFCLK_CTRL, REFCLK_SEL_DEFAULT, REFCLK_SEL_MASK },

This seems to be a pre-existing bug (swapped mask/val)

Konrad



More information about the linux-phy mailing list