mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 10 Jun 2019 19:13:40 +0000 (00:43 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 17 Jul 2019 15:12:08 +0000 (11:12 -0400)
commitd1c0a2200afb398f67a0c2c84948a079b44290a1
tree08b8e5f14b316139b4b7b8006aa7c7dcef4fdc43
parent5a6098fff0b42aa1f48c02ee499dec1bcb625575
mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS timings

The HOST_CONTROL2 register is a part of SDHC v3.00 and not just specific
to arasan/zynq controllers. Add the same to sdhci.h.

Also create a common API to set UHS timings in HOST_CONTROL2.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/mmc/sdhci.c
drivers/mmc/zynq_sdhci.c
include/sdhci.h