mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
ARM: dts: msm: Add UCSI connector to USB port on Parrot
Add graph nodes representing the USB connector and its remote endpoints to the UCSI device and the USB controller respectively. Add 'usb-role-switch' properties to the DWC3 devices and update its dual-role mode to 'otg'. This is in order to describe a connection between the pmic_glink and the DWC3 device to allow the former to notify the USB controller when to start up in USB host or peripheral mode. Change-Id: I2672c643579beb72d061f12566e03f3771176fd3
This commit is contained in:
@@ -146,3 +146,29 @@
|
||||
|
||||
cd-gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&usb0 {
|
||||
usb-role-switch;
|
||||
extcon = <&eud>;
|
||||
|
||||
dwc3@a600000 {
|
||||
usb-role-switch;
|
||||
dr_mode = "otg";
|
||||
};
|
||||
|
||||
port {
|
||||
usb_port0: endpoint {
|
||||
remote-endpoint = <&usb_port0_connector>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ucsi {
|
||||
connector {
|
||||
port {
|
||||
usb_port0_connector: endpoint {
|
||||
remote-endpoint = <&usb_port0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -8,3 +8,29 @@
|
||||
&battery_charger {
|
||||
qcom,thermal-mitigation = <3000000 1500000 1000000 500000>;
|
||||
};
|
||||
|
||||
&usb0 {
|
||||
usb-role-switch;
|
||||
extcon = <&eud>;
|
||||
|
||||
dwc3@a600000 {
|
||||
usb-role-switch;
|
||||
dr_mode = "otg";
|
||||
};
|
||||
|
||||
port {
|
||||
usb_port0: endpoint {
|
||||
remote-endpoint = <&usb_port0_connector>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ucsi {
|
||||
connector {
|
||||
port {
|
||||
usb_port0_connector: endpoint {
|
||||
remote-endpoint = <&usb_port0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -11,3 +11,29 @@
|
||||
6000000 5500000 5000000 4500000 4000000 3500000
|
||||
3000000 2500000 2000000 1500000 1000000 500000>;
|
||||
};
|
||||
|
||||
&usb0 {
|
||||
usb-role-switch;
|
||||
extcon = <&eud>;
|
||||
|
||||
dwc3@a600000 {
|
||||
usb-role-switch;
|
||||
dr_mode = "otg";
|
||||
};
|
||||
|
||||
port {
|
||||
usb_port0: endpoint {
|
||||
remote-endpoint = <&usb_port0_connector>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&ucsi {
|
||||
connector {
|
||||
port {
|
||||
usb_port0_connector: endpoint {
|
||||
remote-endpoint = <&usb_port0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user