Display Alt mode with TPS6598x driver
Hi Heikki,
I am working on the project with PD controller as TPS6598x. The current implementation of TPS6598x does not invoke display alt mode driver .
Can you help me to understand how to achieve this?
Thanks and regards
Nehal Shah
Quoted 6 lines · Nehal-bakulchandra
Hi Heikki,
I am working on the project with PD controller as TPS6598x. The current implementation of TPS6598x does not invoke display alt mode driver .
Can you help me to understand how to achieve this?
You should be able to get an idea how to achieve that for example by checking how we did it for UCSI: drivers/usb/typec/ucsi/displayport.c
I think you should start by first only registering the alternate mode without any control. That way you should not need to deal with anything else except the DP SID Status register.
After that we can add control as the next step.
If you need more help, let me know.
Br,
Signature · 1 line
heikki
Hi Heikki,
Quoted 14 lines · Heikki Krogerus
Quoted 6 lines · Nehal-bakulchandra
Hi Heikki,
I am working on the project with PD controller as TPS6598x. The current implementation of TPS6598x does not invoke display alt mode driver .
Can you help me to understand how to achieve this?
You should be able to get an idea how to achieve that for example by checking how we did it for UCSI:
drivers/usb/typec/ucsi/displayport.cI think you should start by first only registering the alternate mode without any control. That way you should not need to deal with anything else except the DP SID Status register.
Quoted 5 lines
After that we can add control as the next step.
If you need more help, let me know.
Br,
Thanks for the input. I will have a look.
regards
Nehal
Hi Heikki,
Quoted 19 lines · Nehal-bakulchandra
Hi Heikki,
Quoted 16 lines · Heikki Krogerus
Quoted 6 lines · Nehal-bakulchandra
Hi Heikki,
I am working on the project with PD controller as TPS6598x. The current implementation of TPS6598x does not invoke display alt mode driver .
Can you help me to understand how to achieve this?
You should be able to get an idea how to achieve that for example by checking how we did it for UCSI:
drivers/usb/typec/ucsi/displayport.cI think you should start by first only registering the alternate mode without any control. That way you should not need to deal with anything else except the DP SID Status register.
After that we can add control as the next step.
Quoted 8 lines
Quoted 3 lines
If you need more help, let me know.
Br,
Thanks for the input. I will have a look.
regards
Nehal
I am not able to understand who will trigger ucsi_displayport_exit ? for enter mode , i understood it goes through vdm statemachine. But how exit is getting triggered?.
Thanks
Nehal Shah
Quoted 1 line
Hi,
Quoted 23 lines · Nehal-bakulchandra
Quoted 22 lines · Nehal-bakulchandra
Quoted 14 lines · Heikki Krogerus
Quoted 6 lines · Nehal-bakulchandra
Hi Heikki,
I am working on the project with PD controller as TPS6598x. The current implementation of TPS6598x does not invoke display alt mode driver .
Can you help me to understand how to achieve this?
You should be able to get an idea how to achieve that for example by checking how we did it for UCSI:
drivers/usb/typec/ucsi/displayport.cI think you should start by first only registering the alternate mode without any control. That way you should not need to deal with anything else except the DP SID Status register.
Quoted 5 lines
After that we can add control as the next step.
If you need more help, let me know.
Br,
Thanks for the input. I will have a look.
Quoted 7 lines
Quoted 3 lines
regards
Nehal
I am not able to understand who will trigger
ucsi_displayport_exit? for enter mode , i understood it goes through vdm statemachine. But how exit is getting triggered?.
ucsi_displayport_exit() ends up being called when the displayport altmode driver (drivers/usb/typec/altmodes/displayport.c) executes typec_altmode_exit().
Br,
Signature · 1 line
heikki