Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: xenon: add AP807 compatible string

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>

authored by

Marcin Wojtas and committed by
Ulf Hansson
7214d792 783be176

+1
+1
drivers/mmc/host/sdhci-xenon.c
··· 689 689 690 690 static const struct of_device_id sdhci_xenon_dt_ids[] = { 691 691 { .compatible = "marvell,armada-ap806-sdhci", .data = (void *)XENON_AP806}, 692 + { .compatible = "marvell,armada-ap807-sdhci", .data = (void *)XENON_AP807}, 692 693 { .compatible = "marvell,armada-cp110-sdhci", .data = (void *)XENON_CP110}, 693 694 { .compatible = "marvell,armada-3700-sdhci", .data = (void *)XENON_A3700}, 694 695 {}