* [PATCH 0/2] usb: typec: ucsi: glink: fix and improve orientation handling
@ 2024-11-06 15:45 Dmitry Baryshkov
2024-11-06 15:45 ` [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status Dmitry Baryshkov
2024-11-06 15:45 ` [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports Dmitry Baryshkov
0 siblings, 2 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2024-11-06 15:45 UTC (permalink / raw)
To: Heikki Krogerus, Greg Kroah-Hartman
Cc: Heikki Krogerus, linux-usb, linux-kernel, linux-arm-msm,
Abel Vesa, Johan Hovold
Fix an off-by-one issue which resulted in USB-C connector #2 orientation
being reported as unknown. While we are at it, correct the way we set
orientation_aware flag for the USB-C connectors.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
Dmitry Baryshkov (2):
usb: typec: ucsi: glink: fix off-by-one in connector_status
usb: typec: ucsi: glink: be more precise on orientation-aware ports
drivers/usb/typec/ucsi/ucsi_glink.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
base-commit: 0a2598971f04649933bd38f5db241b3bf23c04ec
change-id: 20241106-ucsi-glue-fixes-a20e2b2a0e3a
Best regards,
--
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status
2024-11-06 15:45 [PATCH 0/2] usb: typec: ucsi: glink: fix and improve orientation handling Dmitry Baryshkov
@ 2024-11-06 15:45 ` Dmitry Baryshkov
2024-11-07 5:17 ` Greg Kroah-Hartman
` (2 more replies)
2024-11-06 15:45 ` [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports Dmitry Baryshkov
1 sibling, 3 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2024-11-06 15:45 UTC (permalink / raw)
To: Heikki Krogerus, Greg Kroah-Hartman
Cc: Heikki Krogerus, linux-usb, linux-kernel, linux-arm-msm,
Abel Vesa, Johan Hovold
UCSI connector's indices start from 1 up to 3, PMIC_GLINK_MAX_PORTS.
Correct the condition in the pmic_glink_ucsi_connector_status()
callback, fixing Type-C orientation reporting for the third USB-C
connector.
Fixes: 76716fd5bf09 ("usb: typec: ucsi: glink: move GPIO reading into connector_status callback")
Reported-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
drivers/usb/typec/ucsi/ucsi_glink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c
index 3e4d88ab338e50d4265df15fc960907c36675282..2e12758000a7d2d62f6e0b273cb29eafa631122c 100644
--- a/drivers/usb/typec/ucsi/ucsi_glink.c
+++ b/drivers/usb/typec/ucsi/ucsi_glink.c
@@ -185,7 +185,7 @@ static void pmic_glink_ucsi_connector_status(struct ucsi_connector *con)
struct pmic_glink_ucsi *ucsi = ucsi_get_drvdata(con->ucsi);
int orientation;
- if (con->num >= PMIC_GLINK_MAX_PORTS ||
+ if (con->num > PMIC_GLINK_MAX_PORTS ||
!ucsi->port_orientation[con->num - 1])
return;
--
2.39.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports
2024-11-06 15:45 [PATCH 0/2] usb: typec: ucsi: glink: fix and improve orientation handling Dmitry Baryshkov
2024-11-06 15:45 ` [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status Dmitry Baryshkov
@ 2024-11-06 15:45 ` Dmitry Baryshkov
2024-11-06 17:13 ` Abel Vesa
` (3 more replies)
1 sibling, 4 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2024-11-06 15:45 UTC (permalink / raw)
To: Heikki Krogerus, Greg Kroah-Hartman
Cc: Heikki Krogerus, linux-usb, linux-kernel, linux-arm-msm,
Abel Vesa, Johan Hovold
Instead of checking if any of the USB-C ports have orientation GPIO and
thus is orientation-aware, check for the GPIO for the port being
registered.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
drivers/usb/typec/ucsi/ucsi_glink.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c
index 2e12758000a7d2d62f6e0b273cb29eafa631122c..90948cd6d2972402465a2adaba3e1ed055cf0cfa 100644
--- a/drivers/usb/typec/ucsi/ucsi_glink.c
+++ b/drivers/usb/typec/ucsi/ucsi_glink.c
@@ -172,12 +172,12 @@ static int pmic_glink_ucsi_async_control(struct ucsi *__ucsi, u64 command)
static void pmic_glink_ucsi_update_connector(struct ucsi_connector *con)
{
struct pmic_glink_ucsi *ucsi = ucsi_get_drvdata(con->ucsi);
- int i;
- for (i = 0; i < PMIC_GLINK_MAX_PORTS; i++) {
- if (ucsi->port_orientation[i])
- con->typec_cap.orientation_aware = true;
- }
+ if (con->num > PMIC_GLINK_MAX_PORTS ||
+ !ucsi->port_orientation[con->num - 1])
+ return;
+
+ con->typec_cap.orientation_aware = true;
}
static void pmic_glink_ucsi_connector_status(struct ucsi_connector *con)
--
2.39.5
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports
2024-11-06 15:45 ` [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports Dmitry Baryshkov
@ 2024-11-06 17:13 ` Abel Vesa
2024-11-07 5:18 ` Greg Kroah-Hartman
` (2 subsequent siblings)
3 siblings, 0 replies; 12+ messages in thread
From: Abel Vesa @ 2024-11-06 17:13 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Heikki Krogerus, Greg Kroah-Hartman, Heikki Krogerus, linux-usb,
linux-kernel, linux-arm-msm, Johan Hovold
On 24-11-06 17:45:55, Dmitry Baryshkov wrote:
> Instead of checking if any of the USB-C ports have orientation GPIO and
> thus is orientation-aware, check for the GPIO for the port being
> registered.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
> ---
> drivers/usb/typec/ucsi/ucsi_glink.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c
> index 2e12758000a7d2d62f6e0b273cb29eafa631122c..90948cd6d2972402465a2adaba3e1ed055cf0cfa 100644
> --- a/drivers/usb/typec/ucsi/ucsi_glink.c
> +++ b/drivers/usb/typec/ucsi/ucsi_glink.c
> @@ -172,12 +172,12 @@ static int pmic_glink_ucsi_async_control(struct ucsi *__ucsi, u64 command)
> static void pmic_glink_ucsi_update_connector(struct ucsi_connector *con)
> {
> struct pmic_glink_ucsi *ucsi = ucsi_get_drvdata(con->ucsi);
> - int i;
>
> - for (i = 0; i < PMIC_GLINK_MAX_PORTS; i++) {
> - if (ucsi->port_orientation[i])
> - con->typec_cap.orientation_aware = true;
> - }
> + if (con->num > PMIC_GLINK_MAX_PORTS ||
> + !ucsi->port_orientation[con->num - 1])
> + return;
> +
> + con->typec_cap.orientation_aware = true;
> }
>
> static void pmic_glink_ucsi_connector_status(struct ucsi_connector *con)
>
> --
> 2.39.5
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status
2024-11-06 15:45 ` [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status Dmitry Baryshkov
@ 2024-11-07 5:17 ` Greg Kroah-Hartman
2024-11-07 11:04 ` Dmitry Baryshkov
2024-11-07 8:36 ` neil.armstrong
2024-11-08 15:56 ` Johan Hovold
2 siblings, 1 reply; 12+ messages in thread
From: Greg Kroah-Hartman @ 2024-11-07 5:17 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Heikki Krogerus, Heikki Krogerus, linux-usb, linux-kernel,
linux-arm-msm, Abel Vesa, Johan Hovold
On Wed, Nov 06, 2024 at 05:45:54PM +0200, Dmitry Baryshkov wrote:
> UCSI connector's indices start from 1 up to 3, PMIC_GLINK_MAX_PORTS.
> Correct the condition in the pmic_glink_ucsi_connector_status()
> callback, fixing Type-C orientation reporting for the third USB-C
> connector.
>
> Fixes: 76716fd5bf09 ("usb: typec: ucsi: glink: move GPIO reading into connector_status callback")
> Reported-by: Abel Vesa <abel.vesa@linaro.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> drivers/usb/typec/ucsi/ucsi_glink.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- You have marked a patch with a "Fixes:" tag for a commit that is in an
older released kernel, yet you do not have a cc: stable line in the
signed-off-by area at all, which means that the patch will not be
applied to any older kernel releases. To properly fix this, please
follow the documented rules in the
Documentation/process/stable-kernel-rules.rst file for how to resolve
this.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports
2024-11-06 15:45 ` [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports Dmitry Baryshkov
2024-11-06 17:13 ` Abel Vesa
@ 2024-11-07 5:18 ` Greg Kroah-Hartman
2024-11-07 10:02 ` Dmitry Baryshkov
2024-11-07 8:37 ` neil.armstrong
2024-11-08 15:57 ` Johan Hovold
3 siblings, 1 reply; 12+ messages in thread
From: Greg Kroah-Hartman @ 2024-11-07 5:18 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Heikki Krogerus, Heikki Krogerus, linux-usb, linux-kernel,
linux-arm-msm, Abel Vesa, Johan Hovold
On Wed, Nov 06, 2024 at 05:45:55PM +0200, Dmitry Baryshkov wrote:
> Instead of checking if any of the USB-C ports have orientation GPIO and
> thus is orientation-aware, check for the GPIO for the port being
> registered.
What is the visible affect of this change?
Does it fix an existing bug?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status
2024-11-06 15:45 ` [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status Dmitry Baryshkov
2024-11-07 5:17 ` Greg Kroah-Hartman
@ 2024-11-07 8:36 ` neil.armstrong
2024-11-08 15:56 ` Johan Hovold
2 siblings, 0 replies; 12+ messages in thread
From: neil.armstrong @ 2024-11-07 8:36 UTC (permalink / raw)
To: Dmitry Baryshkov, Heikki Krogerus, Greg Kroah-Hartman
Cc: Heikki Krogerus, linux-usb, linux-kernel, linux-arm-msm,
Abel Vesa, Johan Hovold
On 06/11/2024 16:45, Dmitry Baryshkov wrote:
> UCSI connector's indices start from 1 up to 3, PMIC_GLINK_MAX_PORTS.
> Correct the condition in the pmic_glink_ucsi_connector_status()
> callback, fixing Type-C orientation reporting for the third USB-C
> connector.
>
> Fixes: 76716fd5bf09 ("usb: typec: ucsi: glink: move GPIO reading into connector_status callback")
> Reported-by: Abel Vesa <abel.vesa@linaro.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> drivers/usb/typec/ucsi/ucsi_glink.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c
> index 3e4d88ab338e50d4265df15fc960907c36675282..2e12758000a7d2d62f6e0b273cb29eafa631122c 100644
> --- a/drivers/usb/typec/ucsi/ucsi_glink.c
> +++ b/drivers/usb/typec/ucsi/ucsi_glink.c
> @@ -185,7 +185,7 @@ static void pmic_glink_ucsi_connector_status(struct ucsi_connector *con)
> struct pmic_glink_ucsi *ucsi = ucsi_get_drvdata(con->ucsi);
> int orientation;
>
> - if (con->num >= PMIC_GLINK_MAX_PORTS ||
> + if (con->num > PMIC_GLINK_MAX_PORTS ||
> !ucsi->port_orientation[con->num - 1])
> return;
>
>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports
2024-11-06 15:45 ` [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports Dmitry Baryshkov
2024-11-06 17:13 ` Abel Vesa
2024-11-07 5:18 ` Greg Kroah-Hartman
@ 2024-11-07 8:37 ` neil.armstrong
2024-11-08 15:57 ` Johan Hovold
3 siblings, 0 replies; 12+ messages in thread
From: neil.armstrong @ 2024-11-07 8:37 UTC (permalink / raw)
To: Dmitry Baryshkov, Heikki Krogerus, Greg Kroah-Hartman
Cc: Heikki Krogerus, linux-usb, linux-kernel, linux-arm-msm,
Abel Vesa, Johan Hovold
On 06/11/2024 16:45, Dmitry Baryshkov wrote:
> Instead of checking if any of the USB-C ports have orientation GPIO and
> thus is orientation-aware, check for the GPIO for the port being
> registered.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
> drivers/usb/typec/ucsi/ucsi_glink.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/usb/typec/ucsi/ucsi_glink.c b/drivers/usb/typec/ucsi/ucsi_glink.c
> index 2e12758000a7d2d62f6e0b273cb29eafa631122c..90948cd6d2972402465a2adaba3e1ed055cf0cfa 100644
> --- a/drivers/usb/typec/ucsi/ucsi_glink.c
> +++ b/drivers/usb/typec/ucsi/ucsi_glink.c
> @@ -172,12 +172,12 @@ static int pmic_glink_ucsi_async_control(struct ucsi *__ucsi, u64 command)
> static void pmic_glink_ucsi_update_connector(struct ucsi_connector *con)
> {
> struct pmic_glink_ucsi *ucsi = ucsi_get_drvdata(con->ucsi);
> - int i;
>
> - for (i = 0; i < PMIC_GLINK_MAX_PORTS; i++) {
> - if (ucsi->port_orientation[i])
> - con->typec_cap.orientation_aware = true;
> - }
> + if (con->num > PMIC_GLINK_MAX_PORTS ||
> + !ucsi->port_orientation[con->num - 1])
> + return;
> +
> + con->typec_cap.orientation_aware = true;
> }
>
> static void pmic_glink_ucsi_connector_status(struct ucsi_connector *con)
>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports
2024-11-07 5:18 ` Greg Kroah-Hartman
@ 2024-11-07 10:02 ` Dmitry Baryshkov
0 siblings, 0 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2024-11-07 10:02 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Heikki Krogerus, Heikki Krogerus, linux-usb, linux-kernel,
linux-arm-msm, Abel Vesa, Johan Hovold
On Thu, 7 Nov 2024 at 05:19, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> On Wed, Nov 06, 2024 at 05:45:55PM +0200, Dmitry Baryshkov wrote:
> > Instead of checking if any of the USB-C ports have orientation GPIO and
> > thus is orientation-aware, check for the GPIO for the port being
> > registered.
>
> What is the visible affect of this change?
Currently no visible effects. In future it will allow us to specify
that portA is orientation aware, while portB for some reason doesn't
have a corresponding GPIO so it is not orientation-aware and can not
report such events.
> Does it fix an existing bug?
No, otherwise I'd have added the Fixes: tag.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status
2024-11-07 5:17 ` Greg Kroah-Hartman
@ 2024-11-07 11:04 ` Dmitry Baryshkov
0 siblings, 0 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2024-11-07 11:04 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Heikki Krogerus, Heikki Krogerus, linux-usb, linux-kernel,
linux-arm-msm, Abel Vesa, Johan Hovold
On Thu, Nov 07, 2024 at 06:17:17AM +0100, Greg Kroah-Hartman wrote:
> On Wed, Nov 06, 2024 at 05:45:54PM +0200, Dmitry Baryshkov wrote:
> > UCSI connector's indices start from 1 up to 3, PMIC_GLINK_MAX_PORTS.
> > Correct the condition in the pmic_glink_ucsi_connector_status()
> > callback, fixing Type-C orientation reporting for the third USB-C
> > connector.
> >
> > Fixes: 76716fd5bf09 ("usb: typec: ucsi: glink: move GPIO reading into connector_status callback")
> > Reported-by: Abel Vesa <abel.vesa@linaro.org>
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> > ---
> > drivers/usb/typec/ucsi/ucsi_glink.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Hi,
>
> This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
> a patch that has triggered this response. He used to manually respond
> to these common problems, but in order to save his sanity (he kept
> writing the same thing over and over, yet to different people), I was
> created. Hopefully you will not take offence and will fix the problem
> in your patch and resubmit it so that it can be accepted into the Linux
> kernel tree.
>
> You are receiving this message because of the following common error(s)
> as indicated below:
>
> - You have marked a patch with a "Fixes:" tag for a commit that is in an
> older released kernel, yet you do not have a cc: stable line in the
> signed-off-by area at all, which means that the patch will not be
> applied to any older kernel releases. To properly fix this, please
> follow the documented rules in the
> Documentation/process/stable-kernel-rules.rst file for how to resolve
> this.
I will resend it with CC:stable later today.
>
> If you wish to discuss this problem further, or you have questions about
> how to resolve this issue, please feel free to respond to this email and
> Greg will reply once he has dug out from the pending patches received
> from other developers.
>
> thanks,
>
> greg k-h's patch email bot
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status
2024-11-06 15:45 ` [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status Dmitry Baryshkov
2024-11-07 5:17 ` Greg Kroah-Hartman
2024-11-07 8:36 ` neil.armstrong
@ 2024-11-08 15:56 ` Johan Hovold
2 siblings, 0 replies; 12+ messages in thread
From: Johan Hovold @ 2024-11-08 15:56 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Heikki Krogerus, Greg Kroah-Hartman, Heikki Krogerus, linux-usb,
linux-kernel, linux-arm-msm, Abel Vesa, Johan Hovold
On Wed, Nov 06, 2024 at 05:45:54PM +0200, Dmitry Baryshkov wrote:
> UCSI connector's indices start from 1 up to 3, PMIC_GLINK_MAX_PORTS.
> Correct the condition in the pmic_glink_ucsi_connector_status()
> callback, fixing Type-C orientation reporting for the third USB-C
> connector.
>
> Fixes: 76716fd5bf09 ("usb: typec: ucsi: glink: move GPIO reading into connector_status callback")
> Reported-by: Abel Vesa <abel.vesa@linaro.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Nice find!
With CC-stable tag added:
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports
2024-11-06 15:45 ` [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports Dmitry Baryshkov
` (2 preceding siblings ...)
2024-11-07 8:37 ` neil.armstrong
@ 2024-11-08 15:57 ` Johan Hovold
3 siblings, 0 replies; 12+ messages in thread
From: Johan Hovold @ 2024-11-08 15:57 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Heikki Krogerus, Greg Kroah-Hartman, Heikki Krogerus, linux-usb,
linux-kernel, linux-arm-msm, Abel Vesa, Johan Hovold
On Wed, Nov 06, 2024 at 05:45:55PM +0200, Dmitry Baryshkov wrote:
> Instead of checking if any of the USB-C ports have orientation GPIO and
> thus is orientation-aware, check for the GPIO for the port being
> registered.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-11-08 15:57 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06 15:45 [PATCH 0/2] usb: typec: ucsi: glink: fix and improve orientation handling Dmitry Baryshkov
2024-11-06 15:45 ` [PATCH 1/2] usb: typec: ucsi: glink: fix off-by-one in connector_status Dmitry Baryshkov
2024-11-07 5:17 ` Greg Kroah-Hartman
2024-11-07 11:04 ` Dmitry Baryshkov
2024-11-07 8:36 ` neil.armstrong
2024-11-08 15:56 ` Johan Hovold
2024-11-06 15:45 ` [PATCH 2/2] usb: typec: ucsi: glink: be more precise on orientation-aware ports Dmitry Baryshkov
2024-11-06 17:13 ` Abel Vesa
2024-11-07 5:18 ` Greg Kroah-Hartman
2024-11-07 10:02 ` Dmitry Baryshkov
2024-11-07 8:37 ` neil.armstrong
2024-11-08 15:57 ` Johan Hovold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox