Skip to content

Commit

Permalink
pinctrl: qcom: sc7280: Fix SDC_QDSD_PINGROUP and UFS_RESET offsets
Browse files Browse the repository at this point in the history
commit 07abd8d upstream.

The offsets for SDC_QDSD_PINGROUP and UFS_RESET were off by 0x100000
due to an issue in the scripts generating the data.

Fixes: ecb4545: ("pinctrl: qcom: Add sc7280 pinctrl driver")
Reported-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1614662511-26519-1-git-send-email-rnayak@codeaurora.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Rajendra Nayak authored and gregkh committed Apr 7, 2021
1 parent 7274dd0 commit c1fd5af
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/pinctrl/qcom/pinctrl-sc7280.c
Expand Up @@ -1439,14 +1439,14 @@ static const struct msm_pingroup sc7280_groups[] = {
[172] = PINGROUP(172, qdss, _, _, _, _, _, _, _, _),
[173] = PINGROUP(173, qdss, _, _, _, _, _, _, _, _),
[174] = PINGROUP(174, qdss, _, _, _, _, _, _, _, _),
[175] = UFS_RESET(ufs_reset, 0x1be000),
[176] = SDC_QDSD_PINGROUP(sdc1_rclk, 0x1b3000, 15, 0),
[177] = SDC_QDSD_PINGROUP(sdc1_clk, 0x1b3000, 13, 6),
[178] = SDC_QDSD_PINGROUP(sdc1_cmd, 0x1b3000, 11, 3),
[179] = SDC_QDSD_PINGROUP(sdc1_data, 0x1b3000, 9, 0),
[180] = SDC_QDSD_PINGROUP(sdc2_clk, 0x1b4000, 14, 6),
[181] = SDC_QDSD_PINGROUP(sdc2_cmd, 0x1b4000, 11, 3),
[182] = SDC_QDSD_PINGROUP(sdc2_data, 0x1b4000, 9, 0),
[175] = UFS_RESET(ufs_reset, 0xbe000),
[176] = SDC_QDSD_PINGROUP(sdc1_rclk, 0xb3000, 15, 0),
[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),
[180] = SDC_QDSD_PINGROUP(sdc2_clk, 0xb4000, 14, 6),
[181] = SDC_QDSD_PINGROUP(sdc2_cmd, 0xb4000, 11, 3),
[182] = SDC_QDSD_PINGROUP(sdc2_data, 0xb4000, 9, 0),
};

static const struct msm_pinctrl_soc_data sc7280_pinctrl = {
Expand Down

0 comments on commit c1fd5af

Please sign in to comment.