clk: qcom: gcc-msm8994: Add modem reset
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Thu, 23 Sep 2021 16:26:40 +0000 (18:26 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 13 Oct 2021 22:20:23 +0000 (15:20 -0700)
This will be required to support the modem.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210923162645.23257-7-konrad.dybcio@somainline.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-msm8994.c
include/dt-bindings/clock/qcom,gcc-msm8994.h

index 2ed206e..7545e97 100644 (file)
@@ -2685,6 +2685,7 @@ static struct gdsc *gcc_msm8994_gdscs[] = {
 static const struct qcom_reset_map gcc_msm8994_resets[] = {
        [USB3_PHY_RESET] = { 0x1400 },
        [USB3PHY_PHY_RESET] = { 0x1404 },
+       [MSS_RESET] = { 0x1680 },
        [PCIE_PHY_0_RESET] = { 0x1b18 },
        [PCIE_PHY_1_RESET] = { 0x1b98 },
        [QUSB2_PHY_RESET] = { 0x04b8 },
index dcb4981..f6836f4 100644 (file)
 #define PCIE_PHY_0_RESET               2
 #define PCIE_PHY_1_RESET               3
 #define QUSB2_PHY_RESET                        4
+#define MSS_RESET                              5
 
 #endif