From ae085455e3437e8683ad447189a0138acef3f8da Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Wed, 4 Mar 2026 21:29:59 +0100 Subject: [PATCH] dwc2: explicitly force host mode for USB_DR_MODE_HOST - Add dwc2_force_mode(hsotg, true) call in USB_DR_MODE_HOST case - Ensures proper host mode initialization for Rockchip platforms - Applies to both 6.18 and 6.19 kernel patches --- .../patches.armbian/general-dwc2-fix-wait-time.patch | 1 + .../patches.armbian/general-dwc2-fix-wait-time.patch | 1 + 2 files changed, 2 insertions(+) diff --git a/patch/kernel/archive/rockchip-6.18/patches.armbian/general-dwc2-fix-wait-time.patch b/patch/kernel/archive/rockchip-6.18/patches.armbian/general-dwc2-fix-wait-time.patch index 9c8232bf55..c2d05ee2c1 100644 --- a/patch/kernel/archive/rockchip-6.18/patches.armbian/general-dwc2-fix-wait-time.patch +++ b/patch/kernel/archive/rockchip-6.18/patches.armbian/general-dwc2-fix-wait-time.patch @@ -35,6 +35,7 @@ index 111111111111..222222222222 100644 + switch (hsotg->dr_mode) { case USB_DR_MODE_HOST: + dwc2_force_mode(hsotg, true); /* * NOTE: This is required for some rockchip soc based * platforms on their host-only dwc2. diff --git a/patch/kernel/archive/rockchip-6.19/patches.armbian/general-dwc2-fix-wait-time.patch b/patch/kernel/archive/rockchip-6.19/patches.armbian/general-dwc2-fix-wait-time.patch index 9c8232bf55..c2d05ee2c1 100644 --- a/patch/kernel/archive/rockchip-6.19/patches.armbian/general-dwc2-fix-wait-time.patch +++ b/patch/kernel/archive/rockchip-6.19/patches.armbian/general-dwc2-fix-wait-time.patch @@ -35,6 +35,7 @@ index 111111111111..222222222222 100644 + switch (hsotg->dr_mode) { case USB_DR_MODE_HOST: + dwc2_force_mode(hsotg, true); /* * NOTE: This is required for some rockchip soc based * platforms on their host-only dwc2.