diff mbox series

[v2,01/12] drivers: mmc: am654_sdhci: Add new compatible for AM62 SoC

Message ID 20220525080850.94172-2-vigneshr@ti.com
State Accepted
Commit ed6d78146977ddd6d467131453f3761948d6a25b
Delegated to: Tom Rini
Headers show
Series TI: Add support for AM62 SoC | expand

Commit Message

Raghavendra, Vignesh May 25, 2022, 8:08 a.m. UTC
From: Aswath Govindraju <a-govindraju@ti.com>

The phy used in the 8 bit instance has been changed to the phy used in 4
bit instance on AM62 SoC. This implies the phy configuration required for
both the instances of mmc are similar. Therefore, add a new compatible
for AM62 SoC using the driver data of am64 4 bit instance.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
---
 drivers/mmc/am654_sdhci.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Jaehoon Chung May 25, 2022, 8:16 a.m. UTC | #1
On 5/25/22 17:08, Vignesh Raghavendra wrote:
> From: Aswath Govindraju <a-govindraju@ti.com>
> 
> The phy used in the 8 bit instance has been changed to the phy used in 4
> bit instance on AM62 SoC. This implies the phy configuration required for
> both the instances of mmc are similar. Therefore, add a new compatible
> for AM62 SoC using the driver data of am64 4 bit instance.
> 
> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>

Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>

Best Regards,
Jaehoon Chung

> ---
>  drivers/mmc/am654_sdhci.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
> index 4305967d78..42a6134364 100644
> --- a/drivers/mmc/am654_sdhci.c
> +++ b/drivers/mmc/am654_sdhci.c
> @@ -670,6 +670,10 @@ static const struct udevice_id am654_sdhci_ids[] = {
>  		.compatible = "ti,am64-sdhci-4bit",
>  		.data = (ulong)&sdhci_am64_4bit_drvdata,
>  	},
> +	{
> +		.compatible = "ti,am62-sdhci",
> +		.data = (ulong)&sdhci_am64_4bit_drvdata,
> +	},
>  	{ }
>  };
>
Tom Rini June 10, 2022, 9:39 p.m. UTC | #2
On Wed, May 25, 2022 at 01:38:39PM +0530, Vignesh Raghavendra wrote:

> From: Aswath Govindraju <a-govindraju@ti.com>
> 
> The phy used in the 8 bit instance has been changed to the phy used in 4
> bit instance on AM62 SoC. This implies the phy configuration required for
> both the instances of mmc are similar. Therefore, add a new compatible
> for AM62 SoC using the driver data of am64 4 bit instance.
> 
> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>

For the series, applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index 4305967d78..42a6134364 100644
--- a/drivers/mmc/am654_sdhci.c
+++ b/drivers/mmc/am654_sdhci.c
@@ -670,6 +670,10 @@  static const struct udevice_id am654_sdhci_ids[] = {
 		.compatible = "ti,am64-sdhci-4bit",
 		.data = (ulong)&sdhci_am64_4bit_drvdata,
 	},
+	{
+		.compatible = "ti,am62-sdhci",
+		.data = (ulong)&sdhci_am64_4bit_drvdata,
+	},
 	{ }
 };