U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sumit Garg <sumit.garg@kernel.org>
To: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
Cc: trini@konsulko.com, casey.connolly@linaro.org,
	neil.armstrong@linaro.org, peng.fan@nxp.com,
	jh80.chung@samsung.com, lukma@denx.de,
	marek.vasut+renesas@mailbox.org, michal.simek@amd.com,
	alexeymin@postmarketos.org, u-boot@lists.denx.de,
	u-boot-qcom@groups.io
Subject: Re: [RESEND v2 5/6] dts: ipq9574-rdp433-u-boot: Enable USB device mode and MMC
Date: Fri, 19 Dec 2025 20:11:29 +0530	[thread overview]
Message-ID: <aUVkGe7PSVF5wble@sumit-xelite> (raw)
In-Reply-To: <20251218061557.1999367-6-varadarajan.narayanan@oss.qualcomm.com>

On Thu, Dec 18, 2025 at 11:45:56AM +0530, Varadarajan Narayanan wrote:
> Enable MMC and USB device mode by default to be able to use
> fastboot for flashing images to IPQ9574 based boards.
> 
> Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
> ---
>  arch/arm/dts/ipq9574-rdp433-u-boot.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/dts/ipq9574-rdp433-u-boot.dtsi b/arch/arm/dts/ipq9574-rdp433-u-boot.dtsi
> index 390e2338d65..9f04c0c1077 100644
> --- a/arch/arm/dts/ipq9574-rdp433-u-boot.dtsi
> +++ b/arch/arm/dts/ipq9574-rdp433-u-boot.dtsi
> @@ -22,4 +22,10 @@
>  	 * reset done sdhci_init() times out.
>  	 */
>  	resets = <&gcc GCC_SDCC_BCR>;
> +
> +	status = "okay";

Why it's not enabled in upstream kernel DT?

> +};
> +
> +&usb_0_dwc3 {
> +	dr_mode = "peripheral";

I suppose then you would rather want "otg" mode in upstream DT which
will default to "peripheral" in U-Boot. And in Linux you should then be
able to support both modes.

-Sumit

>  };
> -- 
> 2.34.1
> 

  reply	other threads:[~2025-12-19 14:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-18  6:15 [RESEND v2 0/6] Enable fastboot support for IPQ9574 based boards Varadarajan Narayanan
2025-12-18  6:15 ` [RESEND v2 1/6] clk/qcom: Add USB related clocks for IPQ9574 Varadarajan Narayanan
2025-12-19 13:58   ` Sumit Garg
2026-01-12 14:56   ` Casey Connolly
2025-12-18  6:15 ` [RESEND v2 2/6] phy: Add IPQ9574 support to Qualcomm QUSB2 phy Varadarajan Narayanan
2025-12-19 14:00   ` Sumit Garg
2026-01-12 14:56   ` Casey Connolly
2025-12-18  6:15 ` [RESEND v2 3/6] phy: qcom: Add QMP USB PHY driver Varadarajan Narayanan
2025-12-19 14:13   ` Sumit Garg
2025-12-18  6:15 ` [RESEND v2 4/6] configs: ipq9574: Enable fastboot support Varadarajan Narayanan
2025-12-19 14:29   ` Sumit Garg
2025-12-22  8:44     ` Varadarajan Narayanan
2026-01-12 14:56     ` Casey Connolly
2025-12-18  6:15 ` [RESEND v2 5/6] dts: ipq9574-rdp433-u-boot: Enable USB device mode and MMC Varadarajan Narayanan
2025-12-19 14:41   ` Sumit Garg [this message]
2025-12-18  6:15 ` [RESEND v2 6/6] doc: board/qualcomm: Update RDP flashing instructions Varadarajan Narayanan
2025-12-19 14:43   ` Sumit Garg
2025-12-23  5:11     ` Varadarajan Narayanan
2025-12-23  8:27       ` Sumit Garg

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=aUVkGe7PSVF5wble@sumit-xelite \
    --to=sumit.garg@kernel.org \
    --cc=alexeymin@postmarketos.org \
    --cc=casey.connolly@linaro.org \
    --cc=jh80.chung@samsung.com \
    --cc=lukma@denx.de \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=michal.simek@amd.com \
    --cc=neil.armstrong@linaro.org \
    --cc=peng.fan@nxp.com \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@groups.io \
    --cc=u-boot@lists.denx.de \
    --cc=varadarajan.narayanan@oss.qualcomm.com \
    /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