mmc: xenon: add AP807 compatible string
authorMarcin Wojtas <mw@semihalf.com>
Tue, 12 Jan 2021 09:46:53 +0000 (11:46 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Feb 2021 10:54:45 +0000 (11:54 +0100)
This patch adds new compatible string to differentiate
between the controllers versions included in the AP807
north bridge. Thanks to this change, the SoCs which use
AP807 will not run unintentionally in the 'slow mode'
with disabled UHS modes.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
Link: https://lore.kernel.org/r/20210112094655.12274-3-kostap@marvell.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-xenon.c

index d19eef5f725f88d2df7847e6cf97e3669d52cbfa..666cee4c7f7c672de22a86668987d5359514756d 100644 (file)
@@ -689,6 +689,7 @@ static const struct dev_pm_ops sdhci_xenon_dev_pm_ops = {
 
 static const struct of_device_id sdhci_xenon_dt_ids[] = {
        { .compatible = "marvell,armada-ap806-sdhci", .data = (void *)XENON_AP806},
+       { .compatible = "marvell,armada-ap807-sdhci", .data = (void *)XENON_AP807},
        { .compatible = "marvell,armada-cp110-sdhci", .data =  (void *)XENON_CP110},
        { .compatible = "marvell,armada-3700-sdhci", .data =  (void *)XENON_A3700},
        {}