pinctrl: qcom: sc7280: Fix SDC1_RCLK configurations
authorRajendra Nayak <rnayak@codeaurora.org>
Tue, 2 Mar 2021 05:21:51 +0000 (10:51 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Mar 2021 23:53:00 +0000 (00:53 +0100)
Fix SDC1_RCLK configurations which are in a different register so fix the
offset from 0xb3000 to 0xb3004.

Fixes: ecb454594c43: ("pinctrl: qcom: Add sc7280 pinctrl driver")
Reported-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1614662511-26519-2-git-send-email-rnayak@codeaurora.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/pinctrl-sc7280.c

index 49c434788304b4137ca7f01f46177d79c322514c..9d41abfca37ea2bf7d8c3ffe87b48d638c8494a6 100644 (file)
@@ -1440,7 +1440,7 @@ static const struct msm_pingroup sc7280_groups[] = {
        [173] = PINGROUP(173, qdss, _, _, _, _, _, _, _, _),
        [174] = PINGROUP(174, qdss, _, _, _, _, _, _, _, _),
        [175] = UFS_RESET(ufs_reset, 0xbe000),
-       [176] = SDC_QDSD_PINGROUP(sdc1_rclk, 0xb3000, 15, 0),
+       [176] = SDC_QDSD_PINGROUP(sdc1_rclk, 0xb3004, 0, 6),
        [177] = SDC_QDSD_PINGROUP(sdc1_clk, 0xb3000, 13, 6),
        [178] = SDC_QDSD_PINGROUP(sdc1_cmd, 0xb3000, 11, 3),
        [179] = SDC_QDSD_PINGROUP(sdc1_data, 0xb3000, 9, 0),