* [PATCH] pinctrl: qcom: sdm845: Fix UFS_RESET pin
@ 2019-08-30 6:02 Stephen Boyd
2019-09-04 4:10 ` Bjorn Andersson
2019-09-04 13:24 ` Linus Walleij
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Boyd @ 2019-08-30 6:02 UTC (permalink / raw)
To: Bjorn Andersson
Cc: linux-kernel, linux-arm-msm, linux-gpio, Linus Walleij, Andy Gross
The UFS_RESET pin is the magical pin #150 now, not 153 per the
sdm845_groups array declared in this file. Fix the order of pins so that
UFS_RESET is 150 and the SDC pins follow after.
Fixes: 53a5372ce326 ("pinctrl: qcom: sdm845: Expose ufs_reset as gpio")
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
---
drivers/pinctrl/qcom/pinctrl-sdm845.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl/qcom/pinctrl-sdm845.c b/drivers/pinctrl/qcom/pinctrl-sdm845.c
index 39f498c09906..ce495970459d 100644
--- a/drivers/pinctrl/qcom/pinctrl-sdm845.c
+++ b/drivers/pinctrl/qcom/pinctrl-sdm845.c
@@ -262,10 +262,10 @@ static const struct pinctrl_pin_desc sdm845_pins[] = {
PINCTRL_PIN(147, "GPIO_147"),
PINCTRL_PIN(148, "GPIO_148"),
PINCTRL_PIN(149, "GPIO_149"),
- PINCTRL_PIN(150, "SDC2_CLK"),
- PINCTRL_PIN(151, "SDC2_CMD"),
- PINCTRL_PIN(152, "SDC2_DATA"),
- PINCTRL_PIN(153, "UFS_RESET"),
+ PINCTRL_PIN(150, "UFS_RESET"),
+ PINCTRL_PIN(151, "SDC2_CLK"),
+ PINCTRL_PIN(152, "SDC2_CMD"),
+ PINCTRL_PIN(153, "SDC2_DATA"),
};
#define DECLARE_MSM_GPIO_PINS(pin) \
--
Sent by a computer through tubes
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] pinctrl: qcom: sdm845: Fix UFS_RESET pin
2019-08-30 6:02 [PATCH] pinctrl: qcom: sdm845: Fix UFS_RESET pin Stephen Boyd
@ 2019-09-04 4:10 ` Bjorn Andersson
2019-09-04 13:24 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2019-09-04 4:10 UTC (permalink / raw)
To: Stephen Boyd
Cc: linux-kernel, linux-arm-msm, linux-gpio, Linus Walleij, Andy Gross
On Thu 29 Aug 23:02 PDT 2019, Stephen Boyd wrote:
> The UFS_RESET pin is the magical pin #150 now, not 153 per the
> sdm845_groups array declared in this file. Fix the order of pins so that
> UFS_RESET is 150 and the SDC pins follow after.
>
Woops, thanks
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> Fixes: 53a5372ce326 ("pinctrl: qcom: sdm845: Expose ufs_reset as gpio")
> Signed-off-by: Stephen Boyd <swboyd@chromium.org>
> ---
> drivers/pinctrl/qcom/pinctrl-sdm845.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/pinctrl/qcom/pinctrl-sdm845.c b/drivers/pinctrl/qcom/pinctrl-sdm845.c
> index 39f498c09906..ce495970459d 100644
> --- a/drivers/pinctrl/qcom/pinctrl-sdm845.c
> +++ b/drivers/pinctrl/qcom/pinctrl-sdm845.c
> @@ -262,10 +262,10 @@ static const struct pinctrl_pin_desc sdm845_pins[] = {
> PINCTRL_PIN(147, "GPIO_147"),
> PINCTRL_PIN(148, "GPIO_148"),
> PINCTRL_PIN(149, "GPIO_149"),
> - PINCTRL_PIN(150, "SDC2_CLK"),
> - PINCTRL_PIN(151, "SDC2_CMD"),
> - PINCTRL_PIN(152, "SDC2_DATA"),
> - PINCTRL_PIN(153, "UFS_RESET"),
> + PINCTRL_PIN(150, "UFS_RESET"),
> + PINCTRL_PIN(151, "SDC2_CLK"),
> + PINCTRL_PIN(152, "SDC2_CMD"),
> + PINCTRL_PIN(153, "SDC2_DATA"),
> };
>
> #define DECLARE_MSM_GPIO_PINS(pin) \
> --
> Sent by a computer through tubes
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] pinctrl: qcom: sdm845: Fix UFS_RESET pin
2019-08-30 6:02 [PATCH] pinctrl: qcom: sdm845: Fix UFS_RESET pin Stephen Boyd
2019-09-04 4:10 ` Bjorn Andersson
@ 2019-09-04 13:24 ` Linus Walleij
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2019-09-04 13:24 UTC (permalink / raw)
To: Stephen Boyd
Cc: Bjorn Andersson, linux-kernel, MSM, open list:GPIO SUBSYSTEM, Andy Gross
On Fri, Aug 30, 2019 at 8:02 AM Stephen Boyd <swboyd@chromium.org> wrote:
> The UFS_RESET pin is the magical pin #150 now, not 153 per the
> sdm845_groups array declared in this file. Fix the order of pins so that
> UFS_RESET is 150 and the SDC pins follow after.
>
> Fixes: 53a5372ce326 ("pinctrl: qcom: sdm845: Expose ufs_reset as gpio")
> Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Patch applied with Bjorn's ACK.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-04 13:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-30 6:02 [PATCH] pinctrl: qcom: sdm845: Fix UFS_RESET pin Stephen Boyd
2019-09-04 4:10 ` Bjorn Andersson
2019-09-04 13:24 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).