On 4/1/2023 7:17 PM, Yang Xiwen wrote:
It adds compatible "hisilicon,hi3798mv200-dw-mshc" for HC2910 SoC
Hi3798MV200 to probe this mmc driver.

It would be better if you could write more information, about
why it reuse the data structure of hi6220_mmc_data.

Regards,
Peng.


Signed-off-by: Yang Xiwen <forbidden...@outlook.com>
---
  drivers/mmc/hi6220_dw_mmc.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c
index 2cec5b9ae3..71962cd47e 100644
--- a/drivers/mmc/hi6220_dw_mmc.c
+++ b/drivers/mmc/hi6220_dw_mmc.c
@@ -100,6 +100,8 @@ static const struct udevice_id hi6220_dwmmc_ids[] = {
          .data = (ulong)&hi6220_mmc_data },
        { .compatible = "hisilicon,hi3798cv200-dw-mshc",
          .data = (ulong)&hi6220_mmc_data },
+       { .compatible = "hisilicon,hi3798mv200-dw-mshc",
+         .data = (ulong)&hi6220_mmc_data },
        { .compatible = "hisilicon,hi3660-dw-mshc",
          .data = (ulong)&hi3660_mmc_data },
        { }

Reply via email to