On Thu, Aug 21, 2025 at 03:39:05PM +0000, Sven Peter wrote: > CD321x supports various alternate modes and stores information once > these are entered into separate status registers. Read those when they > are active when reading TPS_DATA_STATUS to prepare supporting these. > > Signed-off-by: Sven Peter <sven@xxxxxxxxxx> > --- > drivers/usb/typec/tipd/core.c | 81 ++++++++++++++++++++++++++++++++++++++++--- > 1 file changed, 77 insertions(+), 4 deletions(-) > > diff --git a/drivers/usb/typec/tipd/core.c b/drivers/usb/typec/tipd/core.c > index 51b0f3be8b66a743ddc3ea96c1b25f597a1e8f6c..59d270eb50ea3dc49ad32ff71f8354e23c1083c9 100644 > --- a/drivers/usb/typec/tipd/core.c > +++ b/drivers/usb/typec/tipd/core.c > @@ -35,14 +35,19 @@ > #define TPS_REG_INT_MASK2 0x17 > #define TPS_REG_INT_CLEAR1 0x18 > #define TPS_REG_INT_CLEAR2 0x19 > -#define TPS_REG_SYSTEM_POWER_STATE 0x20 > #define TPS_REG_STATUS 0x1a > +#define TPS_REG_SYSTEM_POWER_STATE 0x20 > +#define TPS_REG_USB4_STATUS 0x24 > +#define TPS_REG_DP_SID_STATUS 0x58 TPS_REG_DP_SID_STATUS is added twice, below in the correct order > #define TPS_REG_SYSTEM_CONF 0x28 > #define TPS_REG_CTRL_CONF 0x29 > #define TPS_REG_BOOT_STATUS 0x2D > #define TPS_REG_POWER_STATUS 0x3f > #define TPS_REG_PD_STATUS 0x40 > #define TPS_REG_RX_IDENTITY_SOP 0x48 > +#define TPS_REG_CF_VID_STATUS 0x5e > +#define TPS_REG_DP_SID_STATUS 0x58 here Janne