]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: sdhci-of-aspeed: Configure the SDHCIs as specified by the devicetree.
authorSteven Lee <steven_lee@aspeedtech.com>
Mon, 24 May 2021 07:32:56 +0000 (15:32 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 May 2021 14:08:50 +0000 (16:08 +0200)
commit47f4bdf989c095bbe7389b5423d3c09cb84fa313
treeb3a111a538906aadbded46b2850db7084abf1e76
parent57a6b5d77071aef4ac8384d654c7c1c62275e344
mmc: sdhci-of-aspeed: Configure the SDHCIs as specified by the devicetree.

The hardware provides capability configuration registers for each SDHCI
in the global configuration space for the SD controller. Writes to the
global capability registers are mirrored to the capability registers in
the associated SDHCI. Configuration of the capabilities must be written
through the mirror registers prior to initialisation of the SDHCI.

Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210524073308.9328-5-steven_lee@aspeedtech.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-aspeed.c