From: "Alim Akhtar" <alim.akhtar@samsung.com>
To: "'Sowon Na'" <sowon.na@samsung.com>, <robh@kernel.org>,
<krzk@kernel.org>, <conor+dt@kernel.org>, <vkoul@kernel.org>,
<kishon@kernel.org>
Cc: <krzk+dt@kernel.org>, <linux-kernel@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-samsung-soc@vger.kernel.org>
Subject: RE: [PATCH 4/5] scsi: ufs: exynos: add support for ExynosAutov920 SoC
Date: Thu, 17 Jul 2025 09:56:39 +0530 [thread overview]
Message-ID: <1eab01dbf6d2$feed4810$fcc7d830$@samsung.com> (raw)
In-Reply-To: <20250702013316.2837427-5-sowon.na@samsung.com>
> -----Original Message-----
> From: Sowon Na <sowon.na@samsung.com>
> Sent: Wednesday, July 2, 2025 7:03 AM
> To: robh@kernel.org; krzk@kernel.org; conor+dt@kernel.org;
> vkoul@kernel.org; alim.akhtar@samsung.com; kishon@kernel.org
> Cc: krzk+dt@kernel.org; linux-kernel@vger.kernel.org;
> devicetree@vger.kernel.org; linux-samsung-soc@vger.kernel.org;
> sowon.na@samsung.com
> Subject: [PATCH 4/5] scsi: ufs: exynos: add support for ExynosAutov920 SoC
>
> Add a dedicated compatible and drv_data with associated hooks for
> ExynosAutov920 SoC, Samsung Autotomotive SoC series.
>
> ExynosAutov920 has the UFSHCI 3.1 compliant UFS controller.
>
> Signed-off-by: Sowon Na <sowon.na@samsung.com>
> ---
> drivers/ufs/host/ufs-exynos.c | 130
> +++++++++++++++++++++++++++++++---
> 1 file changed, 120 insertions(+), 10 deletions(-)
>
[snip]
> struct phy *generic_phy = ufs->phy;
> int ret = 0;
>
> - if (ufs->avail_ln_rx == 0 || ufs->avail_ln_tx == 0) {
> - ufshcd_dme_get(hba,
> UIC_ARG_MIB(PA_AVAILRXDATALANES),
> - &ufs->avail_ln_rx);
> - ufshcd_dme_get(hba,
> UIC_ARG_MIB(PA_AVAILTXDATALANES),
> - &ufs->avail_ln_tx);
> - WARN(ufs->avail_ln_rx != ufs->avail_ln_tx,
> - "available data lane is not equal(rx:%d, tx:%d)\n",
> - ufs->avail_ln_rx, ufs->avail_ln_tx);
> - }
> -
Why you are moving these changes from exynos_ufs_phy_init() to exynos_ufs_pre_link()?
If at all this is needed, this need to be a separate patch, not related to adding exynosautov920 support.
> phy_set_bus_width(generic_phy, ufs->avail_ln_rx);
>
> if (generic_phy->power_count) {
> @@ -1065,6 +1148,16 @@ static int exynos_ufs_pre_link(struct ufs_hba
> *hba)
> /* unipro */
> exynos_ufs_config_unipro(ufs);
>
> + if (ufs->avail_ln_rx == 0 || ufs->avail_ln_tx == 0) {
> + ufshcd_dme_get(hba,
> UIC_ARG_MIB(PA_AVAILRXDATALANES),
> + &ufs->avail_ln_rx);
> + ufshcd_dme_get(hba,
> UIC_ARG_MIB(PA_AVAILTXDATALANES),
> + &ufs->avail_ln_tx);
> + WARN(ufs->avail_ln_rx != ufs->avail_ln_tx,
> + "available data lane is not equal(rx:%d, tx:%d)\n",
> + ufs->avail_ln_rx, ufs->avail_ln_tx);
> + }
> +
next prev parent reply other threads:[~2025-07-17 4:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20250702013332epcas2p168d0293f0b7385b0cca88c649fe9c813@epcas2p1.samsung.com>
2025-07-02 1:33 ` [PATCH 0/5] ufs-exynos support for ExynosAutov920 Sowon Na
2025-07-02 1:33 ` [PATCH 1/5] phy: samsung-ufs: update calibration settings for EVT2 Sowon Na
2025-07-17 3:32 ` Alim Akhtar
2025-07-02 1:33 ` [PATCH 2/5] dt-bindings: ufs: exynos: add ExynosAutov920 compatible string Sowon Na
2025-07-16 8:39 ` Krzysztof Kozlowski
2025-07-17 3:34 ` Alim Akhtar
2025-07-02 1:33 ` [PATCH 3/5] dt-bindings: soc: samsung: exynos-sysreg: add hsi2 for ExynosAutov920 Sowon Na
2025-07-16 8:41 ` Krzysztof Kozlowski
2025-07-16 8:42 ` (subset) " Krzysztof Kozlowski
2025-07-02 1:33 ` [PATCH 4/5] scsi: ufs: exynos: add support for ExynosAutov920 SoC Sowon Na
2025-07-17 4:26 ` Alim Akhtar [this message]
2025-07-02 1:33 ` [PATCH 5/5] arm64: dts: exynosautov920: enable support for ufs device Sowon Na
2025-07-02 6:08 ` Krzysztof Kozlowski
2025-07-02 1:33 ` [PATCH 0/5] ufs-exynos support for ExynosAutov920 Sowon Na
2026-04-01 5:29 ` Alim Akhtar
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='1eab01dbf6d2$feed4810$fcc7d830$@samsung.com' \
--to=alim.akhtar@samsung.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sowon.na@samsung.com \
--cc=vkoul@kernel.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