Re: ucsi and DRD controller interaction

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

 



Adding linux-usb mailing list.

On Mon, Apr 20, 2020 at 07:09:17PM +0530, Shah, Nehal-bakulchandra wrote:
> Hi Heikki ,
> 
> I need some pointer from you, so in a system where I have UCSI driver for DRD
> Controller, then how call stack will be?
> 
> I am unable to comprehend the flow from UCSI infrastructure to DRD controller
> code base.

Do you need to tell the negotiated data role to your USB controller
driver from the UCSI driver? For that we would need to know which USB
controller, or more precisely, which USB port is connected to the
USB Type-C connector in question.

That would require ACPI tables to be able to describe the connection
between the USB Type-C connector and the USB port (and the connection
between DisplayPort and the USB Type-C connector etc.). Unfortunately
there is currently no documented way of doing that, however, there is
a proposal for a document the defines how the USB Type-C connectors
should be described in ACPI in general. The proposal does consider
this problem as well. For this the solution is to use _DSD device
properties "usb2-port" and "usb3-port" that have references to the
correct USB port nodes as values.

Which USB controller are you using btw?

thanks,

-- 
heikki



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux