]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: sdhci_am654: Read ti, strobe-sel property from device tree
authorAswath Govindraju <a-govindraju@ti.com>
Tue, 25 May 2021 09:38:23 +0000 (15:08 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 27 Jul 2021 05:26:09 +0000 (10:56 +0530)
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@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Link: https://lore.kernel.org/r/20210525093826.10390-2-a-govindraju@ti.com
drivers/mmc/am654_sdhci.c

index a86d96aacd2ba669484abd7c35865a5a835ceb3f..4305967d78457a59dde10b11ce0e06e52aec1aa4 100644 (file)
@@ -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);