[PATCH 1/3] mmc: sdhci_am654: Read ti, strobe-sel property from device tree

Aswath Govindraju a-govindraju at ti.com
Tue May 25 11:38:23 CEST 2021


Read the strobe select value from the device tree property ti,strobe-sel,
required for HS400 speed mode

Fixes: a20008eabd95 ("mmc: am654_sdhci: Add Support for configuring PHY in J721e")
Signed-off-by: Aswath Govindraju <a-govindraju at ti.com>
---
 drivers/mmc/am654_sdhci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/am654_sdhci.c b/drivers/mmc/am654_sdhci.c
index a86d96aacd2b..4305967d7845 100644
--- a/drivers/mmc/am654_sdhci.c
+++ b/drivers/mmc/am654_sdhci.c
@@ -619,6 +619,7 @@ static int am654_sdhci_of_to_plat(struct udevice *dev)
 		}
 	}
 
+	dev_read_u32(dev, "ti,strobe-sel", &plat->strb_sel);
 	dev_read_u32(dev, "ti,clkbuf-sel", &plat->clkbuf_sel);
 
 	ret = mmc_of_parse(dev, cfg);
-- 
2.17.1



More information about the U-Boot mailing list