Skip to content

Commit 78d2b54

Browse files
Heikki Krogerusgregkh
authored andcommitted
platform: x86: intel_cht_int33fe: Add connection for the DP alt mode
Adding a connection for the DisplayPort alternate mode. PI3USB30532 is used for muxing the port to DisplayPort on CHT platforms. The connection allows the alternate mode device to get handle to the mux, and therefore make it possible to use the USB Type-C connector as DisplayPort. Acked-by: Andy Shevchenko <[email protected]> Acked-by: Hans de Goede <[email protected]> Tested-by: Hans de Goede <[email protected]> Signed-off-by: Heikki Krogerus <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 140a4ec commit 78d2b54

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

drivers/platform/x86/intel_cht_int33fe.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct cht_int33fe_data {
3434
struct i2c_client *fusb302;
3535
struct i2c_client *pi3usb30532;
3636
/* Contain a list-head must be per device */
37-
struct device_connection connections[4];
37+
struct device_connection connections[5];
3838
};
3939

4040
/*
@@ -181,8 +181,11 @@ static int cht_int33fe_probe(struct i2c_client *client)
181181
data->connections[1].endpoint[1] = "i2c-pi3usb30532";
182182
data->connections[1].id = "typec-mux";
183183
data->connections[2].endpoint[0] = "i2c-fusb302";
184-
data->connections[2].endpoint[1] = "intel_xhci_usb_sw-role-switch";
185-
data->connections[2].id = "usb-role-switch";
184+
data->connections[2].endpoint[1] = "i2c-pi3usb30532";
185+
data->connections[2].id = "idff01m01";
186+
data->connections[3].endpoint[0] = "i2c-fusb302";
187+
data->connections[3].endpoint[1] = "intel_xhci_usb_sw-role-switch";
188+
data->connections[3].id = "usb-role-switch";
186189

187190
device_connections_add(data->connections);
188191

0 commit comments

Comments
 (0)