devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vignesh Raman <vignesh.raman@collabora.com>
To: dri-devel@lists.freedesktop.org
Cc: helen.koike@collabora.com, guilherme.gallo@collabora.com,
	sergi.blanch.torne@collabora.com, david.heidelberg@collabora.com,
	daniels@collabora.com, gustavo.padovan@collabora.com,
	angelogioacchino.delregno@collabora.com, emma@anholt.net,
	robclark@freedesktop.org, robdclark@google.com,
	anholt@google.com, robdclark@gmail.com, airlied@gmail.com,
	daniel@ffwll.ch, jani.nikula@linux.intel.com, mripard@kernel.org,
	dmitry.baryshkov@linaro.org, matthias.bgg@gmail.com,
	agross@kernel.org, andersson@kernel.org,
	konrad.dybcio@linaro.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mediatek@lists.infradead.org,
	virtualization@lists.linux-foundation.org,
	linux-arm-msm@vger.kernel.org
Subject: [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode
Date: Fri,  8 Sep 2023 20:52:18 +0530	[thread overview]
Message-ID: <20230908152225.432139-3-vignesh.raman@collabora.com> (raw)
In-Reply-To: <20230908152225.432139-1-vignesh.raman@collabora.com>

Due to the presence of the fastboot micro cable in the CI farm,
it causes the hardware to remain in gadget mode instead of host mode.
So it doesn't find the network, which results in failure to mount root
fs via NFS.

Add an overlay dtso file that sets the dr_mode to host, allowing
the USB controllers to work in host mode. This dtso file will be used
in drm-ci, mesa-ci.

Overlay DT file uses the sugar syntax [suggested by Dmitry Baryshkov and Maxime Ripard]

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com>
Signed-off-by: Vignesh Raman <vignesh.raman@collabora.com>
---

v3:
  - New patch in the series to add device tree overlay in arch/arm64/boot/dts/qcom

---
 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
new file mode 100644
index 000000000000..a82c26b7eae8
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-usb-host.dtso
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+/dts-v1/;
+/plugin/;
+
+&usb {
+         dr_mode = "host";
+};
-- 
2.40.1


  parent reply	other threads:[~2023-09-08 15:23 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-08 15:22 [PATCH v3 0/9] drm: ci: fixes Vignesh Raman
2023-09-08 15:22 ` [PATCH v3 1/9] drm: ci: igt_runner: Remove todo Vignesh Raman
2023-09-12 16:50   ` Helen Koike
2023-09-08 15:22 ` Vignesh Raman [this message]
2023-09-11  7:56   ` [PATCH v3 2/9] arm64: dts: qcom: apq8016-sbc: Add overlay for usb host mode Maxime Ripard
2023-09-11  8:09   ` Krzysztof Kozlowski
2023-09-11 11:50   ` Konrad Dybcio
2023-09-11 12:38     ` Vignesh Raman
2023-09-12 16:51   ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 3/9] drm: ci: Force db410c to " Vignesh Raman
2023-09-11  7:56   ` Maxime Ripard
2023-09-12 16:52   ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 4/9] drm: ci: virtio: Update ci variables Vignesh Raman
2023-09-12 16:52   ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 5/9] drm: ci: Enable regulator Vignesh Raman
2023-09-12 16:53   ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 6/9] arm64: defconfig: Enable DA9211 regulator Vignesh Raman
2023-09-11  9:04   ` AngeloGioacchino Del Regno
2023-09-12 16:56   ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 7/9] drm: ci: Update xfails Vignesh Raman
2023-09-08 15:22 ` [PATCH v3 8/9] drm: ci: Enable new jobs Vignesh Raman
2023-09-12 17:01   ` Helen Koike
2023-09-08 15:22 ` [PATCH v3 9/9] drm: ci: Use scripts/config to enable/disable configs Vignesh Raman
2023-09-12 17:01   ` Helen Koike
2023-09-11  8:06 ` [PATCH v3 0/9] drm: ci: fixes Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230908152225.432139-3-vignesh.raman@collabora.com \
    --to=vignesh.raman@collabora.com \
    --cc=agross@kernel.org \
    --cc=airlied@gmail.com \
    --cc=andersson@kernel.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=anholt@google.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel@ffwll.ch \
    --cc=daniels@collabora.com \
    --cc=david.heidelberg@collabora.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=emma@anholt.net \
    --cc=guilherme.gallo@collabora.com \
    --cc=gustavo.padovan@collabora.com \
    --cc=helen.koike@collabora.com \
    --cc=jani.nikula@linux.intel.com \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=mripard@kernel.org \
    --cc=robclark@freedesktop.org \
    --cc=robdclark@gmail.com \
    --cc=robdclark@google.com \
    --cc=robh+dt@kernel.org \
    --cc=sergi.blanch.torne@collabora.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).