Re: [PATCH 1/1] usb: typec: displayport: Receive DP Status Update NAK request exit dp altmode
From: Heikki Krogerus
Date: Thu Apr 10 2025 - 04:26:40 EST
On Thu, Apr 10, 2025 at 09:10:02AM +0200, Greg KH wrote:
> On Thu, Feb 13, 2025 at 03:52:04PM +0200, Heikki Krogerus wrote:
> > On Sun, Feb 09, 2025 at 03:19:26PM +0800, joswang wrote:
> > > From: Jos Wang <joswang@xxxxxxxxxx>
> > >
> > > Although some Type-C DRD devices that do not support the DP Sink
> > > function (such as Huawei Mate 40Pro), the Source Port initiates
> > > Enter Mode CMD, but the device responds to Enter Mode ACK, the
> > > Source port then initiates DP Status Update CMD, and the device
> > > responds to DP Status Update NAK.
> > >
> > > As PD2.0 spec ("6.4.4.3.4 Enter Mode Command"),A DR_Swap Message
> > > Shall Not be sent during Modal Operation between the Port Partners.
> > > At this time, the source port initiates DR_Swap message through the
> > > "echo device > /sys/class/typec/port0/data_role" command to switch
> > > the data role from host to device. The device will initiate a Hard
> > > Reset for recovery, resulting in the failure of data role swap.
> > >
> > > Therefore, when DP Status Update NAK is received, Exit Mode CMD is
> > > initiated to exit the currently entered DP altmode.
> > >
> > > Signed-off-by: Jos Wang <joswang@xxxxxxxxxx>
> >
> > This looks okay to me, but Benson, can you take a look at this?
>
> What ever happened to this patch?
Sorry Greg.
Reviewed-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
--
heikki