pmaports/device/linux-purism-librem5/0001-force-host-mode-for-usb.patch
Clayton Craft 048a5524f5
purism-librem5: add patch for enabling host usb mode on devkit (!925)
This addresses the issue here, but only for the devkit:
https://source.puri.sm/Librem5/linux-next/issues/114

I didn't patch the dts for the phone because:
1) I don't have one to test
2) it might negatively impact batter life (I'm only speculating)

[ci:skip-build]: already built successfully in CI
2020-02-07 19:16:13 +01:00

13 lines
434 B
Diff

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
index 3c7201a..204e188 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts
@@ -1044,7 +1044,7 @@
&usb_dwc3_0 {
#address-cells = <1>;
#size-cells = <0>;
- dr_mode = "otg";
+ dr_mode = "host";
status = "okay";
port@0 {