Re: Display Alt mode with TPS6598x driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, Dec 28, 2020 at 07:37:11PM +0530, Shah, Nehal-bakulchandra wrote:
> On 11/26/2020 9:48 PM, Shah, Nehal-bakulchandra wrote:
> > On 11/26/2020 5:47 PM, Heikki Krogerus wrote:
> >> On Wed, Nov 25, 2020 at 08:51:24PM +0530, Shah, Nehal-bakulchandra wrote:
> >>> 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,
> > 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?.

ucsi_displayport_exit() ends up being called when the displayport
altmode driver (drivers/usb/typec/altmodes/displayport.c) executes
typec_altmode_exit().

Br,

-- 
heikki



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux