* [PATCH v1 1/1] mmc: sdhci-of-dwcmshc: enable host V4 support for BlueField-3 SoC
@ 2023-01-11 18:14 Liming Sun
2023-01-13 11:37 ` Adrian Hunter
2023-01-16 12:16 ` Ulf Hansson
0 siblings, 2 replies; 3+ messages in thread
From: Liming Sun @ 2023-01-11 18:14 UTC (permalink / raw)
To: Adrian Hunter, Ulf Hansson, David Woods, Shawn Lin
Cc: Liming Sun, linux-mmc, linux-kernel
This commit enables SDHCI Host V4 support on Bluefield-3 SoC to be
consistent with the default setting in firmware(UEFI).
Reviewed-by: David Woods <davwoods@nvidia.com>
Signed-off-by: Liming Sun <limings@nvidia.com>
---
drivers/mmc/host/sdhci-of-dwcmshc.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
index a7343d4bc50e..49338670c89f 100644
--- a/drivers/mmc/host/sdhci-of-dwcmshc.c
+++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
@@ -528,6 +528,11 @@ static int dwcmshc_probe(struct platform_device *pdev)
goto err_clk;
}
+#ifdef CONFIG_ACPI
+ if (pltfm_data == &sdhci_dwcmshc_bf3_pdata)
+ sdhci_enable_v4_mode(host);
+#endif
+
host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
err = sdhci_setup_host(host);
--
2.30.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] mmc: sdhci-of-dwcmshc: enable host V4 support for BlueField-3 SoC
2023-01-11 18:14 [PATCH v1 1/1] mmc: sdhci-of-dwcmshc: enable host V4 support for BlueField-3 SoC Liming Sun
@ 2023-01-13 11:37 ` Adrian Hunter
2023-01-16 12:16 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Adrian Hunter @ 2023-01-13 11:37 UTC (permalink / raw)
To: Liming Sun, Ulf Hansson, David Woods, Shawn Lin; +Cc: linux-mmc, linux-kernel
On 11/01/23 20:14, Liming Sun wrote:
> This commit enables SDHCI Host V4 support on Bluefield-3 SoC to be
> consistent with the default setting in firmware(UEFI).
>
> Reviewed-by: David Woods <davwoods@nvidia.com>
> Signed-off-by: Liming Sun <limings@nvidia.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
> drivers/mmc/host/sdhci-of-dwcmshc.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
> index a7343d4bc50e..49338670c89f 100644
> --- a/drivers/mmc/host/sdhci-of-dwcmshc.c
> +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
> @@ -528,6 +528,11 @@ static int dwcmshc_probe(struct platform_device *pdev)
> goto err_clk;
> }
>
> +#ifdef CONFIG_ACPI
> + if (pltfm_data == &sdhci_dwcmshc_bf3_pdata)
> + sdhci_enable_v4_mode(host);
> +#endif
> +
> host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
>
> err = sdhci_setup_host(host);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 1/1] mmc: sdhci-of-dwcmshc: enable host V4 support for BlueField-3 SoC
2023-01-11 18:14 [PATCH v1 1/1] mmc: sdhci-of-dwcmshc: enable host V4 support for BlueField-3 SoC Liming Sun
2023-01-13 11:37 ` Adrian Hunter
@ 2023-01-16 12:16 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Ulf Hansson @ 2023-01-16 12:16 UTC (permalink / raw)
To: Liming Sun; +Cc: Adrian Hunter, David Woods, Shawn Lin, linux-mmc, linux-kernel
On Wed, 11 Jan 2023 at 19:15, Liming Sun <limings@nvidia.com> wrote:
>
> This commit enables SDHCI Host V4 support on Bluefield-3 SoC to be
> consistent with the default setting in firmware(UEFI).
>
> Reviewed-by: David Woods <davwoods@nvidia.com>
> Signed-off-by: Liming Sun <limings@nvidia.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/mmc/host/sdhci-of-dwcmshc.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-of-dwcmshc.c b/drivers/mmc/host/sdhci-of-dwcmshc.c
> index a7343d4bc50e..49338670c89f 100644
> --- a/drivers/mmc/host/sdhci-of-dwcmshc.c
> +++ b/drivers/mmc/host/sdhci-of-dwcmshc.c
> @@ -528,6 +528,11 @@ static int dwcmshc_probe(struct platform_device *pdev)
> goto err_clk;
> }
>
> +#ifdef CONFIG_ACPI
> + if (pltfm_data == &sdhci_dwcmshc_bf3_pdata)
> + sdhci_enable_v4_mode(host);
> +#endif
> +
> host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY;
>
> err = sdhci_setup_host(host);
> --
> 2.30.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-16 12:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-11 18:14 [PATCH v1 1/1] mmc: sdhci-of-dwcmshc: enable host V4 support for BlueField-3 SoC Liming Sun
2023-01-13 11:37 ` Adrian Hunter
2023-01-16 12:16 ` Ulf Hansson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.