mmc: core: Extend mmc_of_parse() to check for mmc-ddr-3_3v
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 25 Jan 2017 11:45:43 +0000 (12:45 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:45 +0000 (13:20 +0100)
commitfb00f196fcce8078e162d09a1d7725032c2dfdc8
treebd49aaed631ec7dcc0291812aa6318f031f7e3db
parent41efc76e0c0414d1e38a9d974a544aa80a653956
mmc: core: Extend mmc_of_parse() to check for mmc-ddr-3_3v

When mmc_of_parse() finds the binding, it sets the mmc cap,
MMC_CAP_3_3V_DDR, which informs the core whether eMMC DDR at 3.3V I/O is
supported by the mmc host.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Tested-by: Jan Glauber <jglauber@cavium.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
drivers/mmc/core/host.c