aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2021-02-19 14:20:54 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-02-19 16:00:45 +0000
commitff6a3b91a00143ac63617a1e038f0237e5bfb8cb (patch)
treeab74839c3d9132f9cbd990d206eae08d48f90314
parent281eeeb627a3e1580da0f6113df67ab0ed3ada35 (diff)
rpi: enable device mode
Use the dwc2 overlay to enable the usb-c on RPi4 to work in device mode. This will then enable QDB connection between the device and a host. Task-number: QTBUG-90843 Change-Id: If92f58e64ed1dceebdeffd0e190fedf022acf20d Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> (cherry picked from commit 453269de671c3f4d87ab8d6358a1d906454a1c23) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--meta-boot2qt-distro/conf/distro/include/raspberrypi.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc b/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
index 95b8f991..860e91a0 100644
--- a/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
+++ b/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
@@ -54,6 +54,9 @@ Enable the onboard ALSA audio \n\
dtparam=audio=on \n\
"
+# enable device mode from usb-c
+ENABLE_DWC2_PERIPHERAL_raspberrypi4 = "1"
+
MACHINE_FEATURES += "pitft"
MACHINE_GSTREAMER_1_0_PLUGIN += "gstreamer1.0-omx"