On Tue, 3 Oct 2023 at 10:13, Neil Armstrong <neil.armstrong@xxxxxxxxxx> wrote: > > On 02/10/2023 19:26, Dmitry Baryshkov wrote: > > 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? > > I checked, and no, the UCSI implementation is based on the UCSI 1.x spec, > and doesn't have the UCSI 2.x new bits. Ack, thanks for the confirmation. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> > > Neil > > > > >> > >> Acked-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx> > >> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx> > >> --- > > > > > -- With best wishes Dmitry