phy: qcom: phy-qcom-snps-eusb2: Add missing write from init sequence
authorLuca Weiss <luca.weiss@fairphone.com>
Tue, 15 Jul 2025 07:29:36 +0000 (09:29 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 22 Jul 2025 12:35:45 +0000 (18:05 +0530)
commit7f5f703210109366c1e1b685086c9b0a4897ea54
treebdf5429277308131cfb92e60e93815078b096a9b
parentbb39f49a433312ba7558b7cc44cfd9131b46bce1
phy: qcom: phy-qcom-snps-eusb2: Add missing write from init sequence

As per a commit from Qualcomm's downstream 6.1 kernel[0], the init
sequence is missing setting the CMN_CTRL_OVERRIDE_EN bit back to 0 at
the end, as per the 'latest' HPG revision (as of November 2023).

[0] https://git.codelinaro.org/clo/la/kernel/qcom/-/commit/b77774a89e3fda3246e09dd39e16e2ab43cd1329

Fixes: 80090810f5d3 ("phy: qcom: Add QCOM SNPS eUSB2 driver")
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20250715-sm7635-eusb-phy-v3-3-6c3224085eb6@fairphone.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/phy-snps-eusb2.c