diff --git a/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/uis7885-2h10-overlay.dts b/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/uis7885-2h10-overlay.dts index 1111111..2222222 100644 --- a/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/uis7885-2h10-overlay.dts +++ b/source_sync_rls_25c/layers/meta-unisoc/recipes-kernel/linux/linux-unisoc-5.4/uis7885/uis7885-2h10-overlay.dts @@ -475,7 +475,8 @@ }; &usb { - extcon = <&extcon_gpio>, <&pmic_typec>; + /delete-property/ extcon; + dr-mode = "host"; vbus-supply = <&vddvbus>; status = "okay"; }; @@ -481,6 +481,27 @@ }; &ap_gpio { + usb_hub_level_en { + gpio-hog; + gpios = <41 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "hub-ldo-en"; + }; + + usb_host_sw1 { + gpio-hog; + gpios = <188 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "usb-host-sw1"; + }; + + usba_5V { + gpio-hog; + gpios = <146 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "usba_5V"; + }; + hdmi_5v_en { gpio-hog; gpios = <187 GPIO_ACTIVE_HIGH>; @@ -518,7 +539,8 @@ }; &usb3 { - extcon = <&extcon_gpio>, <&pmic_typec>; + /delete-property/ extcon; + dr_mode = "host"; vbus-supply = <&vddvbus>; status = "okay"; }; diff --git a/source_sync_rls_25c/source/kernel/kernel5.4/arch/arm64/boot/dts/sprd/uis7885-2h10-overlay.dts b/source_sync_rls_25c/source/kernel/kernel5.4/arch/arm64/boot/dts/sprd/uis7885-2h10-overlay.dts index 1111111..2222222 100644 --- a/source_sync_rls_25c/source/kernel/kernel5.4/arch/arm64/boot/dts/sprd/uis7885-2h10-overlay.dts +++ b/source_sync_rls_25c/source/kernel/kernel5.4/arch/arm64/boot/dts/sprd/uis7885-2h10-overlay.dts @@ -475,7 +475,8 @@ }; &usb { - extcon = <&extcon_gpio>, <&pmic_typec>; + /delete-property/ extcon; + dr-mode = "host"; vbus-supply = <&vddvbus>; status = "okay"; }; @@ -481,6 +481,27 @@ }; &ap_gpio { + usb_hub_level_en { + gpio-hog; + gpios = <41 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "hub-ldo-en"; + }; + + usb_host_sw1 { + gpio-hog; + gpios = <188 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "usb-host-sw1"; + }; + + usba_5V { + gpio-hog; + gpios = <146 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "usba_5V"; + }; + hdmi_5v_en { gpio-hog; gpios = <187 GPIO_ACTIVE_HIGH>; @@ -518,7 +539,8 @@ }; &usb3 { - extcon = <&extcon_gpio>, <&pmic_typec>; + /delete-property/ extcon; + dr_mode = "host"; vbus-supply = <&vddvbus>; status = "okay"; };