]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
clk: qcom: gcc-sc8180x: Add missing USB MP resets
authorBjorn Andersson <quic_bjorande@quicinc.com>
Wed, 31 Jul 2024 03:24:39 +0000 (20:24 -0700)
committerBjorn Andersson <andersson@kernel.org>
Thu, 1 Aug 2024 02:51:03 +0000 (21:51 -0500)
The USB multiport controller needs a few additional resets, add these to
the driver.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240730-sc8180x-usb-mp-v2-2-a7dc4265b553@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-sc8180x.c

index ad135bfa4c7686a15895371d0269e1690ea0dbe5..113f9513b2df115f558bbfcf5473df03f47eeb0a 100644 (file)
@@ -4546,6 +4546,10 @@ static const struct qcom_reset_map gcc_sc8180x_resets[] = {
        [GCC_USB3_PHY_SEC_BCR] = { 0x50018 },
        [GCC_USB3PHY_PHY_SEC_BCR] = { 0x5001c },
        [GCC_USB3_DP_PHY_SEC_BCR] = { 0x50020 },
+       [GCC_USB3_UNIPHY_MP0_BCR] = { 0x50024 },
+       [GCC_USB3_UNIPHY_MP1_BCR] = { 0x50028 },
+       [GCC_USB3UNIPHY_PHY_MP0_BCR] = { 0x5002c },
+       [GCC_USB3UNIPHY_PHY_MP1_BCR] = { 0x50030 },
        [GCC_SDCC2_BCR] = { 0x14000 },
        [GCC_SDCC4_BCR] = { 0x16000 },
        [GCC_TSIF_BCR] = { 0x36000 },