mmc: sdhci-of-aspeed: Add AST2600 bus clock support
authorAndrew Jeffery <andrew@aj.id.au>
Thu, 14 Jan 2021 03:14:30 +0000 (13:44 +1030)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Feb 2021 10:54:47 +0000 (11:54 +0100)
commit0c53dc321a507c78fdd15a682f42175a131b1763
treef6e73eab667117e20cbfacac9a9b42381e8573fa
parent2fc88f92359df753fc892f3b3d0e1d69ef6c620c
mmc: sdhci-of-aspeed: Add AST2600 bus clock support

The AST2600 can achieve HS200 speeds with a change to the bus clock
divisor behaviour. The divisor can also be more accurate with respect
to the requested clock rate, but keep the one-hot behaviour for
backwards compatibility with the AST2400 and AST2500.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20210114031433.2388532-4-andrew@aj.id.au
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-aspeed.c