Skip to content

Commit 189f737

Browse files
rashmia-AUlf Hansson
authored andcommitted
mmc: sdhci-of-arasan: Remove Intel Thunder Bay SOC support
Remove Thunder Bay specific code as the product got cancelled and there are no end customers or users. Signed-off-by: A, Rashmi <rashmi.a@intel.com> Reviewed-by: Hunter, Adrian <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20230316120549.21486-2-rashmi.a@intel.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent cf26790 commit 189f737

1 file changed

Lines changed: 1 addition & 28 deletions

File tree

drivers/mmc/host/sdhci-of-arasan.c

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,6 @@ static const struct sdhci_arasan_soc_ctl_map intel_lgm_sdxc_soc_ctl_map = {
193193
.hiword_update = false,
194194
};
195195

196-
static const struct sdhci_arasan_soc_ctl_map thunderbay_soc_ctl_map = {
197-
.baseclkfreq = { .reg = 0x0, .width = 8, .shift = 14 },
198-
.clockmultiplier = { .reg = 0x4, .width = 8, .shift = 14 },
199-
.support64b = { .reg = 0x4, .width = 1, .shift = 24 },
200-
.hiword_update = false,
201-
};
202-
203196
static const struct sdhci_arasan_soc_ctl_map intel_keembay_soc_ctl_map = {
204197
.baseclkfreq = { .reg = 0x0, .width = 8, .shift = 14 },
205198
.clockmultiplier = { .reg = 0x4, .width = 8, .shift = 14 },
@@ -465,15 +458,6 @@ static const struct sdhci_pltfm_data sdhci_arasan_cqe_pdata = {
465458
SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN,
466459
};
467460

468-
static const struct sdhci_pltfm_data sdhci_arasan_thunderbay_pdata = {
469-
.ops = &sdhci_arasan_cqe_ops,
470-
.quirks = SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN | SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
471-
.quirks2 = SDHCI_QUIRK2_PRESET_VALUE_BROKEN |
472-
SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN |
473-
SDHCI_QUIRK2_STOP_WITH_TC |
474-
SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400,
475-
};
476-
477461
#ifdef CONFIG_PM_SLEEP
478462
/**
479463
* sdhci_arasan_suspend - Suspend method for the driver
@@ -1150,12 +1134,6 @@ static struct sdhci_arasan_of_data sdhci_arasan_generic_data = {
11501134
.clk_ops = &arasan_clk_ops,
11511135
};
11521136

1153-
static const struct sdhci_arasan_of_data sdhci_arasan_thunderbay_data = {
1154-
.soc_ctl_map = &thunderbay_soc_ctl_map,
1155-
.pdata = &sdhci_arasan_thunderbay_pdata,
1156-
.clk_ops = &arasan_clk_ops,
1157-
};
1158-
11591137
static const struct sdhci_pltfm_data sdhci_keembay_emmc_pdata = {
11601138
.ops = &sdhci_arasan_cqe_ops,
11611139
.quirks = SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN |
@@ -1289,10 +1267,6 @@ static const struct of_device_id sdhci_arasan_of_match[] = {
12891267
.compatible = "intel,keembay-sdhci-5.1-sdio",
12901268
.data = &intel_keembay_sdio_data,
12911269
},
1292-
{
1293-
.compatible = "intel,thunderbay-sdhci-5.1",
1294-
.data = &sdhci_arasan_thunderbay_data,
1295-
},
12961270
/* Generic compatible below here */
12971271
{
12981272
.compatible = "arasan,sdhci-8.9a",
@@ -1723,8 +1697,7 @@ static int sdhci_arasan_probe(struct platform_device *pdev)
17231697

17241698
if (of_device_is_compatible(np, "intel,keembay-sdhci-5.1-emmc") ||
17251699
of_device_is_compatible(np, "intel,keembay-sdhci-5.1-sd") ||
1726-
of_device_is_compatible(np, "intel,keembay-sdhci-5.1-sdio") ||
1727-
of_device_is_compatible(np, "intel,thunderbay-sdhci-5.1")) {
1700+
of_device_is_compatible(np, "intel,keembay-sdhci-5.1-sdio")) {
17281701
sdhci_arasan_update_clockmultiplier(host, 0x0);
17291702
sdhci_arasan_update_support64b(host, 0x0);
17301703

0 commit comments

Comments
 (0)