U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Armstrong <neil.armstrong@linaro.org>
To: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>,
	u-boot@lists.u-boot-project.org, Simon Glass <sjg@chromium.org>,
	Sumit Garg <sumit.garg@kernel.org>,
	u-boot-qcom@groups.io
Cc: Tom Rini <trini@konsulko.com>,
	Bhupesh Sharma <bhupesh.linux@gmail.com>,
	Neha Malcom Francis <n-francis@ti.com>,
	Johan Jonker <jbx6244@gmail.com>,
	Casey Connolly <casey.connolly@linaro.org>,
	Carlo Caione <ccaione@baylibre.com>,
	Anshul Dalal <anshuld@ti.com>,
	Petr Hodina <petr.hodina@protonmail.com>,
	Michael Srba <Michael.Srba@seznam.cz>,
	Jonas Karlman <jonas@kwiboo.se>,
	Quentin Schulz <u-boot@0leil.net>,
	Kever Yang <kever.yang@rock-chips.com>,
	Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>,
	David Lechner <dlechner@baylibre.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Alexey Charkov <alchark@flipper.net>, Peng Fan <peng.fan@nxp.com>,
	Daniel Golle <daniel@makrotopia.org>,
	Sumit Garg <sumit.garg@oss.qualcomm.com>
Subject: Re: [PATCH v4 5/9] phy: qcom: add SPL_PHY_QCOM_QMP_UFS for SPL UFS boot
Date: Tue, 20 Oct 2026 10:52:23 +0200	[thread overview]
Message-ID: <19ddc00a-38de-4950-a451-7a502f9c19fa@linaro.org> (raw)
In-Reply-To: <20261019-spl_ufs-v4-5-61432d0b258c@oss.qualcomm.com>

On 10/19/26 12:49, Balaji Selvanathan wrote:
> Add a new SPL_PHY_QCOM_QMP_UFS Kconfig option to enable the
> Qualcomm QMP UFS PHY driver in SPL on Snapdragon platforms.
> This is a prerequisite for UFS boot support in SPL.
> 
> Switch the phy-qcom-qmp-ufs.o Makefile rule to use the $(PHASE_)
> prefix so the correct config symbol is selected automatically
> for both SPL and U-Boot proper builds.
> 
> Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
> Reviewed-by: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
> Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
> ---
> Changes in v4:
> - No changes in v4
> 
> Changes in v3:
> - No changes in v3
> ---
>   drivers/phy/qcom/Kconfig  | 7 +++++++
>   drivers/phy/qcom/Makefile | 2 +-
>   2 files changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/phy/qcom/Kconfig b/drivers/phy/qcom/Kconfig
> index 1fdadaccb12..8890854f3f0 100644
> --- a/drivers/phy/qcom/Kconfig
> +++ b/drivers/phy/qcom/Kconfig
> @@ -32,6 +32,13 @@ config PHY_QCOM_QMP_UFS
>   	help
>   	  Enable this to support the UFS QMP PHY on various Qualcomm chipsets.
>   
> +config SPL_PHY_QCOM_QMP_UFS
> +	bool "Qualcomm QMP UFS PHY driver in SPL"
> +	depends on SPL_PHY && ARCH_SNAPDRAGON
> +	help
> +	  Enable this to support the UFS QMP PHY in SPL on various Qualcomm chipsets.
> +	  This is required for UFS boot support in SPL.
> +
>   config PHY_QCOM_QUSB2
>   	bool "Qualcomm USB QUSB2 PHY driver"
>   	depends on PHY && ARCH_SNAPDRAGON
> diff --git a/drivers/phy/qcom/Makefile b/drivers/phy/qcom/Makefile
> index 714013dc572..ec99fab4468 100644
> --- a/drivers/phy/qcom/Makefile
> +++ b/drivers/phy/qcom/Makefile
> @@ -2,7 +2,7 @@ obj-$(CONFIG_PHY_QCOM_IPQ4019_USB) += phy-qcom-ipq4019-usb.o
>   obj-$(CONFIG_MSM8916_USB_PHY) += msm8916-usbh-phy.o
>   obj-$(CONFIG_PHY_QCOM_QMP_COMBO) += phy-qcom-qmp-combo.o
>   obj-$(CONFIG_PHY_QCOM_QMP_PCIE) += phy-qcom-qmp-pcie.o
> -obj-$(CONFIG_PHY_QCOM_QMP_UFS) += phy-qcom-qmp-ufs.o
> +obj-$(CONFIG_$(PHASE_)PHY_QCOM_QMP_UFS) += phy-qcom-qmp-ufs.o
>   obj-$(CONFIG_PHY_QCOM_QUSB2) += phy-qcom-qusb2.o
>   obj-$(CONFIG_PHY_QCOM_USB_SNPS_FEMTO_V2) += phy-qcom-snps-femto-v2.o
>   obj-$(CONFIG_PHY_QCOM_SNPS_EUSB2) += phy-qcom-snps-eusb2.o
> 

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

Thanks,
Neil

  reply	other threads:[~2026-10-20  8:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19 10:48 [PATCH v4 0/9] spl: ufs: add UFS boot support for Qualcomm Snapdragon in SPL Balaji Selvanathan
2026-10-19 10:48 ` [PATCH v4 1/9] spl: ufs: rename SPL_UFS_SUPPORT config to SPL_UFS Balaji Selvanathan
2026-10-19 10:48 ` [PATCH v4 2/9] lib: update charset.o build rule to use SPL_UFS Balaji Selvanathan
2026-10-19 10:58   ` Alexey Charkov
2026-10-19 10:48 ` [PATCH v4 3/9] configs: rename SPL_UFS_SUPPORT to SPL_UFS Balaji Selvanathan
2026-10-20  8:51   ` Neil Armstrong
2026-10-19 10:48 ` [PATCH v4 4/9] ufs: qcom: add SPL_UFS_QCOM Kconfig and SPL build support Balaji Selvanathan
2026-10-20  8:52   ` Neil Armstrong
2026-10-19 10:49 ` [PATCH v4 5/9] phy: qcom: add SPL_PHY_QCOM_QMP_UFS for SPL UFS boot Balaji Selvanathan
2026-10-20  8:52   ` Neil Armstrong [this message]
2026-10-19 10:49 ` [PATCH v4 6/9] spl: ufs: add Kconfig choice for U-Boot location method Balaji Selvanathan
2026-10-20  8:53   ` Neil Armstrong
2026-10-19 10:49 ` [PATCH v4 7/9] part: introduce SPL_PARTITION_GET_INFO and select it from consumers Balaji Selvanathan
2026-10-19 10:49 ` [PATCH v4 8/9] spl: add UFS boot mode defines to spl.h Balaji Selvanathan
2026-10-20  8:57   ` Neil Armstrong
2026-10-19 10:49 ` [PATCH v4 9/9] spl: ufs: add partition-based U-Boot loading support Balaji Selvanathan
2026-10-20  8:56   ` Neil Armstrong

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=19ddc00a-38de-4950-a451-7a502f9c19fa@linaro.org \
    --to=neil.armstrong@linaro.org \
    --cc=Michael.Srba@seznam.cz \
    --cc=alchark@flipper.net \
    --cc=anshuld@ti.com \
    --cc=balaji.selvanathan@oss.qualcomm.com \
    --cc=bhupesh.linux@gmail.com \
    --cc=casey.connolly@linaro.org \
    --cc=ccaione@baylibre.com \
    --cc=daniel@makrotopia.org \
    --cc=dlechner@baylibre.com \
    --cc=jbx6244@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=n-francis@ti.com \
    --cc=peng.fan@nxp.com \
    --cc=petr.hodina@protonmail.com \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@kernel.org \
    --cc=sumit.garg@oss.qualcomm.com \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@groups.io \
    --cc=u-boot@0leil.net \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=varadarajan.narayanan@oss.qualcomm.com \
    --cc=xypron.glpk@gmx.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