mmc: Parse HS400 DT properties
PATCH 1/1 mmc: Parse HS400 DT properties
Add HS400 properties parsing support to mmc_of_parse().
Signed-off-by Marek Vasut <[email protected]>
Cc Tom Rini <[email protected]>
Cc Jaehoon Chung <[email protected]>
Cc Jean-Jacques Hiblot <[email protected]>
Cc Kishon Vijay Abraham I <[email protected]>
Cc Peng Fan <[email protected]>
Cc Simon Glass <[email protected]>
--- drivers/mmc/mmc-uclass.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/mmc/mmc-uclass.c +4 -0
@@ -166,6 +166,10 @@ int mmc_of_parse(struct udevice *dev, struct mmc_config *cfg) cfg->host_caps |=MMC_CAP (MMC_HS_200 );if (dev_read_bool (dev,"mmc-hs200-1_2v" )) cfg->host_caps |=MMC_CAP (MMC_HS_200 ); +if (dev_read_bool (dev,"mmc-hs400-1_8v" )) + cfg->host_caps |=MMC_CAP (MMC_HS_400 ); +if (dev_read_bool (dev,"mmc-hs400-1_2v" )) + cfg->host_caps |=MMC_CAP (MMC_HS_400 );return 0 ; }
Signature · 1 line
2.18.0
PATCH 1/1 mmc: Parse HS400 DT properties
Quoted 41 lines
-----Original Message-----
From: Marek Vasut [mailto:marek.vasut at gmail.com]
Sent: 2018年11月14日 7:39
To: u-boot at lists.denx.de
Cc: Marek Vasut <[email protected]>; Tom Rini <[email protected]>; Jaehoon Chung <[email protected]>; Jean-Jacques Hiblot <[email protected]>; Kishon Vijay Abraham I <[email protected]>; Peng Fan <[email protected]>; Simon Glass <[email protected]>
Subject: [PATCH] mmc: Parse HS400 DT propertiesAdd HS400 properties parsing support to
mmc_of_parse().Signed-off-by Marek Vasut <[email protected]>Cc Tom Rini <[email protected]>Cc Jaehoon Chung <[email protected]>Cc Jean-Jacques Hiblot <[email protected]>Cc Kishon Vijay Abraham I <[email protected]>Cc Peng Fan <[email protected]>Cc Simon Glass <[email protected]>--- drivers/mmc/mmc-uclass.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/mmc/mmc-uclass.c index renamed from drivers/mmc/mmc-uclass.c +0
-0
f73f07254b..76225b7939100644drivers/mmc/mmc-uclass.c +4
-0@@ -166,6 +166,10 @@ int mmc_of_parse(struct udevice *dev, struct mmc_config *cfg) cfg->host_caps |= MMC_CAP(MMC_HS_200);if (dev_read_bool (dev,"mmc-hs200-1_2v" )) cfg->host_caps |=MMC_CAP (MMC_HS_200 ); +if (dev_read_bool (dev,"mmc-hs400-1_8v" )) + cfg->host_caps |=MMC_CAP (MMC_HS_400 ); +if (dev_read_bool (dev,"mmc-hs400-1_2v" )) + cfg->host_caps |=MMC_CAP (MMC_HS_400 );return 0 ;
Quoted 1 line
}
Reviewed-by Peng Fan <[email protected]>
Quoted 2 lines
--
2.18.0
PATCH 1/1 mmc: Parse HS400 DT properties
In reply to Marek VasutQuoted 9 lines · Marek Vasut
Add HS400 properties parsing support to
mmc_of_parse().Signed-off-by Marek Vasut <[email protected]>Cc Tom Rini <[email protected]>Cc Jaehoon Chung <[email protected]>Cc Jean-Jacques Hiblot <[email protected]>Cc Kishon Vijay Abraham I <[email protected]>Cc Peng Fan <[email protected]>Cc Simon Glass <[email protected]>
Quoted 3 lines
--- drivers/mmc/mmc-uclass.c | 4 ++++ 1 file changed, 4 insertions(+)
Reviewed-by Simon Glass <[email protected]>