Hi Mats,
On Fri, Mar 03, 2017 at 08:27:08PM +0100, Mats Karrman wrote:
Got it.No, the "DP controller" just talks DP and knows nothing about Type-C or USB PD.My system is a bit different. It's an i.MX6 SoC with the typec phy and DP controller connectedIs this "DP controller" a controller that is capable of taking care of
directly to the SoC and it's using DTB/OF.
the USB Power Delivery communication with the partner regarding
DisplayPort alternate mode?
It takes a video stream from the SoC and turns it into a DP link, set up and orchestrated
by the corresponding driver. And all the driver needs from Type-C is the plugged in / interrupt /
plugged out events.
The analog switching between USB / safe / DP signal levels in the Type-C connector is, I think,The DP controller would provide the driver and the USB PD phy
best handled by the software doing the USB PD negotiation / Altmode handling (using some GPIOs).
So, both the DP controller and the USB PD phy are I2C devices, and now I have to make them bothDo we need to further standardize attributes under (each) specific alternate mode toI'm not completely sure what kind of system you have, but I would
include things such as HPD for the DP mode?
imagine that if we had the bus, your DP controller driver would be the
port (and partner) alternate mode driver. The bus would bind you to
the typec phy.
attach to the AM bus as well?
(actually, the typec class) the device.
Would it be a problem to register these I2C devices with some other
subsystem, was it extcon or something like AM bus? It really would not
be that uncommon. Or have I misunderstood your question?