Re: [PATCH v2 2/4] usb: ucsi: glink: use the connector orientation GPIO to provide switch events

From: Dmitry Baryshkov
Date: Mon Oct 02 2023 - 13:26:35 EST


On Mon, 2 Oct 2023 at 13:21, Neil Armstrong <neil.armstrong@xxxxxxxxxx> wrote:
>
> On SM8550, the non-altmode orientation is not given anymore within
> altmode events, even with USB SVIDs events.
>
> On the other side, the Type-C connector orientation is correctly
> reported by a signal from the PMIC.
>
> Take this gpio signal when we detect some Type-C port activity
> to notify any Type-C switches tied to the Type-C port connectors.

Have you checked, which UCSI version is implemented on SM8550?
Is there any chance of GET_CONNECTOR_STATUS / bit 86 actually
reflecting the correct orientation?

>
> Acked-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> ---


--
With best wishes
Dmitry