U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Caleb Connolly <caleb.connolly@linaro.org>
To: Sumit Garg <sumit.garg@kernel.org>, u-boot@lists.denx.de
Cc: neil.armstrong@linaro.org, trini@konsulko.com,
	Sumit Garg <sumit.garg@oss.qualcomm.com>
Subject: Re: [PATCH 1/2] arm: dts: Add override for RB1
Date: Tue, 8 Apr 2025 14:17:29 +0200	[thread overview]
Message-ID: <baa7e896-a286-47ed-bd9a-18338978fc0d@linaro.org> (raw)
In-Reply-To: <20250407132810.35149-2-sumit.garg@kernel.org>



On 4/7/25 15:28, Sumit Garg wrote:
> From: Sumit Garg <sumit.garg@oss.qualcomm.com>
> 
> Add U-Boot override for RB1 to for USB in host mode as OTG mode isn't
> supported. Also, disable sdhc_2 as it's currently not supported, sdhc_1
> works fine though.
> 
> Signed-off-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
> ---
>   arch/arm/dts/qrb2210-rb1-u-boot.dtsi | 11 +++++++++++
>   1 file changed, 11 insertions(+)
>   create mode 100644 arch/arm/dts/qrb2210-rb1-u-boot.dtsi
> 
> diff --git a/arch/arm/dts/qrb2210-rb1-u-boot.dtsi b/arch/arm/dts/qrb2210-rb1-u-boot.dtsi
> new file mode 100644
> index 00000000000..1e136ee405a
> --- /dev/null
> +++ b/arch/arm/dts/qrb2210-rb1-u-boot.dtsi
> @@ -0,0 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0
> +
> +/* This is usually OTG but U-Boot doesn't support that properly */
> +&usb_dwc3 {
> +	dr_mode = "host";
> +};
> +
> +/* SDHC_2 isn't supported in U-Boot as of now */

I'd rather avoid disabling this here, I guess it's just missing clocks 
and regulators which doesn't justify modifying DT. An error that mmc1 
couldn't be enabled seems fine to me?> +&sdhc_2 {
> +	status = "disabled";
> +};
-- 
Caleb (they/them)


  reply	other threads:[~2025-04-08 12:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-07 13:28 [PATCH 0/2] RB1 fixes Sumit Garg
2025-04-07 13:28 ` [PATCH 1/2] arm: dts: Add override for RB1 Sumit Garg
2025-04-08 12:17   ` Caleb Connolly [this message]
2025-04-08 13:46     ` Sumit Garg
2025-04-08 14:43       ` Caleb Connolly
2025-04-09 12:35         ` Sumit Garg
2025-04-09 17:23           ` Caleb Connolly
2025-04-10  8:11             ` Sumit Garg
2025-04-07 13:28 ` [PATCH 2/2] qcom_defconfig: Disable MMC HS200 mode support Sumit Garg
2025-04-07 14:30   ` Caleb Connolly
2025-04-08  4:29     ` Sumit Garg
2025-04-08 12:13       ` Caleb Connolly
2025-04-09 12:36         ` Sumit Garg
  -- strict thread matches above, loose matches on Subject: below --
2025-04-07 13:21 [PATCH 0/2] RB1 fixes Sumit Garg
2025-04-07 13:21 ` [PATCH 1/2] arm: dts: Add override for RB1 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=baa7e896-a286-47ed-bd9a-18338978fc0d@linaro.org \
    --to=caleb.connolly@linaro.org \
    --cc=neil.armstrong@linaro.org \
    --cc=sumit.garg@kernel.org \
    --cc=sumit.garg@oss.qualcomm.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /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