mmc: sdhci-omap: Handle voltages to add support omap4
authorTony Lindgren <tony@atomide.com>
Fri, 15 Oct 2021 10:47:16 +0000 (13:47 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 19 Oct 2021 11:01:46 +0000 (13:01 +0200)
commitde5ccd2af71fc616d7112420054478b84622eb5d
tree75593323ce8ea42e9b75347a794a3447ee0ee92b
parent5310a776b277f5bc3554a1e88be5c420700ca373
mmc: sdhci-omap: Handle voltages to add support omap4

In order to start deprecating the custom omap_hsmmc.c in favor of the
generic sdhci-omap driver, we need to add support for voltages for earlier
SoCs.

The PBIAS regulator on omap4 and earlier only supports nominal values of
1.8V and 3.0V, while omap5 and later support nominal values of 1.8V and
3.3V IO voltage.

This gets omap4/5 working with sdhci-omap driver.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20211015104720.52240-3-tony@atomide.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-omap.c