aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-12-04 18:33:26 +0530
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2018-12-07 13:12:45 +0530
commitcfa9537e3a35ade9d2bba91143559d4e5a22397e (patch)
tree096766063f6c2f19dc2bab75c8e74634f4b3ef81
parente540864f6debaf8e81aa0e4ee368bf65bdb002c2 (diff)
mmc: dw_mmc: Add SD/MMC support for HI3670 SoC
HI3670 SoC is architecturally same as HI3660 SoC and the same Designware Mobile Storage Host controller IP block is reused. Hence, add the HI3670 compatible to K3 driver reusing the HI3660 driver. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
-rw-r--r--drivers/mmc/host/dw_mmc-k3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c
index 89cdb3d533bb..670b1ea11ed1 100644
--- a/drivers/mmc/host/dw_mmc-k3.c
+++ b/drivers/mmc/host/dw_mmc-k3.c
@@ -447,6 +447,7 @@ static const struct dw_mci_drv_data hi3660_data = {
static const struct of_device_id dw_mci_k3_match[] = {
{ .compatible = "hisilicon,hi3660-dw-mshc", .data = &hi3660_data, },
+ { .compatible = "hisilicon,hi3670-dw-mshc", .data = &hi3660_data, },
{ .compatible = "hisilicon,hi4511-dw-mshc", .data = &k3_drv_data, },
{ .compatible = "hisilicon,hi6220-dw-mshc", .data = &hi6220_data, },
{},