mmc: sdhci_am654: Add Support for TI's AM62 SoC
authorAswath Govindraju <a-govindraju@ti.com>
Fri, 18 Feb 2022 07:28:40 +0000 (12:58 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 28 Feb 2022 12:23:51 +0000 (13:23 +0100)
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>
Link: https://lore.kernel.org/r/20220218072840.5629-1-a-govindraju@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci_am654.c

index b4891bb2664856028bb7d677b47866fcb1d4df8f..e54fe24d47e734ff2f337ffe7ab9a5cb37e71640 100644 (file)
@@ -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);