[2/3] mmc: hi6220_dw_mmc: add compatible for Poplar support

Message ID 20190117040952.4024-3-shawn.guo@linaro.org
State Accepted
Commit 94f139a9ce649fb5b569181b2e4fcc927b5370c2
Headers show
Series
  • Enable mmc driver model for Poplar board
Related show

Commit Message

Shawn Guo Jan. 17, 2019, 4:09 a.m.
It adds compatible "hisilicon,hi3798cv200-dw-mshc" for Poplar SoC
Hi3798CV200 to probe this mmc driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
 drivers/mmc/hi6220_dw_mmc.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Manivannan Sadhasivam Jan. 17, 2019, 2:37 p.m. | #1
On Thu, Jan 17, 2019 at 12:09:51PM +0800, Shawn Guo wrote:
> It adds compatible "hisilicon,hi3798cv200-dw-mshc" for Poplar SoC
> Hi3798CV200 to probe this mmc driver.
> 
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Thanks,
Mani

> ---
>  drivers/mmc/hi6220_dw_mmc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c
> index cc58aff38cc4..effd1e4c7c84 100644
> --- a/drivers/mmc/hi6220_dw_mmc.c
> +++ b/drivers/mmc/hi6220_dw_mmc.c
> @@ -77,6 +77,7 @@ static int hi6220_dwmmc_bind(struct udevice *dev)
>  
>  static const struct udevice_id hi6220_dwmmc_ids[] = {
>  	{ .compatible = "hisilicon,hi6220-dw-mshc" },
> +	{ .compatible = "hisilicon,hi3798cv200-dw-mshc" },
>  	{ }
>  };
>  
> -- 
> 2.18.0
>

Patch

diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c
index cc58aff38cc4..effd1e4c7c84 100644
--- a/drivers/mmc/hi6220_dw_mmc.c
+++ b/drivers/mmc/hi6220_dw_mmc.c
@@ -77,6 +77,7 @@  static int hi6220_dwmmc_bind(struct udevice *dev)
 
 static const struct udevice_id hi6220_dwmmc_ids[] = {
 	{ .compatible = "hisilicon,hi6220-dw-mshc" },
+	{ .compatible = "hisilicon,hi3798cv200-dw-mshc" },
 	{ }
 };