All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mmc: sdhci_am654: Add Support for TI's AM62 SoC
@ 2022-02-18  7:28 Aswath Govindraju
  2022-02-28 17:05 ` Ulf Hansson
  0 siblings, 1 reply; 2+ messages in thread
From: Aswath Govindraju @ 2022-02-18  7:28 UTC (permalink / raw)
  Cc: Vignesh Raghavendra, Aswath Govindraju, Adrian Hunter,
	Ulf Hansson, linux-mmc, linux-kernel

Add support for the controller present on the AM62x SoC.

There are instances:
sdhci0: 8bit bus width, max 200 MBps
sdhci1: 4bit bus width, max 100 MBps
sdhci2: 4bit bus width, max 100 MBps

The PHY used for 8 bit instance is same as the PHY for the 4 bit instance.
Therefore, introduce a new bus width independent compatible for AM62 SoC
that uses the driver data required for 4 bit instance.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
---
 drivers/mmc/host/sdhci_am654.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c
index b4891bb26648..e54fe24d47e7 100644
--- a/drivers/mmc/host/sdhci_am654.c
+++ b/drivers/mmc/host/sdhci_am654.c
@@ -745,6 +745,10 @@ static const struct of_device_id sdhci_am654_of_match[] = {
 		.compatible = "ti,am64-sdhci-4bit",
 		.data = &sdhci_j721e_4bit_drvdata,
 	},
+	{
+		.compatible = "ti,am62-sdhci",
+		.data = &sdhci_j721e_4bit_drvdata,
+	},
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, sdhci_am654_of_match);
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mmc: sdhci_am654: Add Support for TI's AM62 SoC
  2022-02-18  7:28 [PATCH] mmc: sdhci_am654: Add Support for TI's AM62 SoC Aswath Govindraju
@ 2022-02-28 17:05 ` Ulf Hansson
  0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2022-02-28 17:05 UTC (permalink / raw)
  To: Aswath Govindraju
  Cc: Vignesh Raghavendra, Adrian Hunter, linux-mmc, linux-kernel

On Fri, 18 Feb 2022 at 08:28, Aswath Govindraju <a-govindraju@ti.com> wrote:
>
> Add support for the controller present on the AM62x SoC.
>
> There are instances:
> sdhci0: 8bit bus width, max 200 MBps
> sdhci1: 4bit bus width, max 100 MBps
> sdhci2: 4bit bus width, max 100 MBps
>
> The PHY used for 8 bit instance is same as the PHY for the 4 bit instance.
> Therefore, introduce a new bus width independent compatible for AM62 SoC
> that uses the driver data required for 4 bit instance.
>
> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>

Applied for next, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/host/sdhci_am654.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c
> index b4891bb26648..e54fe24d47e7 100644
> --- a/drivers/mmc/host/sdhci_am654.c
> +++ b/drivers/mmc/host/sdhci_am654.c
> @@ -745,6 +745,10 @@ static const struct of_device_id sdhci_am654_of_match[] = {
>                 .compatible = "ti,am64-sdhci-4bit",
>                 .data = &sdhci_j721e_4bit_drvdata,
>         },
> +       {
> +               .compatible = "ti,am62-sdhci",
> +               .data = &sdhci_j721e_4bit_drvdata,
> +       },
>         { /* sentinel */ }
>  };
>  MODULE_DEVICE_TABLE(of, sdhci_am654_of_match);
> --
> 2.17.1
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-28 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18  7:28 [PATCH] mmc: sdhci_am654: Add Support for TI's AM62 SoC Aswath Govindraju
2022-02-28 17:05 ` 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.