mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
arm64: dts: qcom: sdm850-lenovo-yoga-c630: add routing for second USB connector
On Lenovo Yoga C630 second (left) Type-C port is not connected to the SoC directly. Instead it has a USB hub, which also powers on the onboard USB camera. Describe these signal lines properly. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250608-c630-ports-v1-1-e4951db96efa@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
e2a01c3b10
commit
c02716951e
|
|
@ -421,9 +421,46 @@ connector@1 {
|
|||
data-role = "host";
|
||||
|
||||
/*
|
||||
* connected to the onboard USB hub, orientation is
|
||||
* handled by the controller
|
||||
* connected to the onboard USB hub, each pair of lanes
|
||||
* (and D+/D- pair) is connected to a separate port on
|
||||
* the hub.
|
||||
*/
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
ucsi1_hs_in_1: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&usb_hub_2_1>;
|
||||
};
|
||||
|
||||
ucsi1_hs_in_2: endpoint@2 {
|
||||
reg = <2>;
|
||||
remote-endpoint = <&usb_hub_2_2>;
|
||||
};
|
||||
};
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
ucsi1_ss_in_1: endpoint@1 {
|
||||
reg = <1>;
|
||||
remote-endpoint = <&usb_hub_3_1>;
|
||||
};
|
||||
|
||||
ucsi1_ss_in_2: endpoint@2 {
|
||||
reg = <2>;
|
||||
remote-endpoint = <&usb_hub_3_2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -842,6 +879,69 @@ &usb_2 {
|
|||
|
||||
&usb_2_dwc3 {
|
||||
dr_mode = "host";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
usb_hub_2_x: hub@1 {
|
||||
compatible = "usb5e3,610";
|
||||
reg = <1>;
|
||||
peer-hub = <&usb_hub_3_x>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
camera@3 {
|
||||
compatible = "usb4f2,b61e";
|
||||
reg = <3>;
|
||||
};
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
usb_hub_2_1: endpoint {
|
||||
remote-endpoint = <&ucsi1_hs_in_1>;
|
||||
};
|
||||
};
|
||||
|
||||
port@2 {
|
||||
reg = <2>;
|
||||
|
||||
usb_hub_2_2: endpoint {
|
||||
remote-endpoint = <&ucsi1_hs_in_2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
usb_hub_3_x: hub@2 {
|
||||
compatible = "usb5e3,620";
|
||||
reg = <2>;
|
||||
peer-hub = <&usb_hub_2_x>;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
port@1 {
|
||||
reg = <1>;
|
||||
|
||||
usb_hub_3_1: endpoint {
|
||||
remote-endpoint = <&ucsi1_ss_in_1>;
|
||||
};
|
||||
};
|
||||
|
||||
port@2 {
|
||||
reg = <2>;
|
||||
|
||||
usb_hub_3_2: endpoint {
|
||||
remote-endpoint = <&ucsi1_ss_in_2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&usb_2_hsphy {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user