mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
usb: panel type-c need support adb and u-disk [1/1]
PD#SWPL-9127 Problem: the id pin of the type-c is aways high, whether it is connected to u disk or usb cable. Solution: It need set vbus high when the usb mode is host only. Verify: test passed on sm1 Change-Id: I4ff8a9b5419b54828ecd797a78d149da98535dee Signed-off-by: he.he <he.he@amlogic.com>
This commit is contained in:
@@ -1659,15 +1659,15 @@
|
||||
&usb3_phy_v2 {
|
||||
status = "okay";
|
||||
portnum = <1>;
|
||||
otg = <1>;
|
||||
gpio-vbus-power = "GPIOH_6";
|
||||
gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
|
||||
otg = <0>;
|
||||
/*gpio-vbus-power = "GPIOH_6";*/
|
||||
/*gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;*/
|
||||
};
|
||||
|
||||
&dwc2_a {
|
||||
status = "okay";
|
||||
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
|
||||
controller-type = <3>;
|
||||
controller-type = <1>;
|
||||
};
|
||||
ðmac {
|
||||
status = "okay";
|
||||
|
||||
@@ -1659,15 +1659,15 @@
|
||||
&usb3_phy_v2 {
|
||||
status = "okay";
|
||||
portnum = <1>;
|
||||
otg = <1>;
|
||||
gpio-vbus-power = "GPIOH_6";
|
||||
gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
|
||||
otg = <0>;
|
||||
/*gpio-vbus-power = "GPIOH_6";*/
|
||||
/*gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;*/
|
||||
};
|
||||
|
||||
&dwc2_a {
|
||||
status = "okay";
|
||||
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
|
||||
controller-type = <3>;
|
||||
controller-type = <1>;
|
||||
};
|
||||
ðmac {
|
||||
status = "okay";
|
||||
|
||||
@@ -1645,15 +1645,15 @@
|
||||
&usb3_phy_v2 {
|
||||
status = "okay";
|
||||
portnum = <1>;
|
||||
otg = <1>;
|
||||
gpio-vbus-power = "GPIOH_6";
|
||||
gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
|
||||
otg = <0>;
|
||||
/*gpio-vbus-power = "GPIOH_6";*/
|
||||
/*gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;*/
|
||||
};
|
||||
|
||||
&dwc2_a {
|
||||
status = "okay";
|
||||
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
|
||||
controller-type = <3>;
|
||||
controller-type = <1>;
|
||||
};
|
||||
ðmac {
|
||||
status = "okay";
|
||||
|
||||
@@ -1646,15 +1646,15 @@
|
||||
&usb3_phy_v2 {
|
||||
status = "okay";
|
||||
portnum = <1>;
|
||||
otg = <1>;
|
||||
gpio-vbus-power = "GPIOH_6";
|
||||
gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
|
||||
otg = <0>;
|
||||
/*gpio-vbus-power = "GPIOH_6";*/
|
||||
/*gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;*/
|
||||
};
|
||||
|
||||
&dwc2_a {
|
||||
status = "okay";
|
||||
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
|
||||
controller-type = <3>;
|
||||
controller-type = <1>;
|
||||
};
|
||||
ðmac {
|
||||
status = "okay";
|
||||
|
||||
Reference in New Issue
Block a user