mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations
authorAndrew Jeffery <andrew@aj.id.au>
Thu, 14 Jan 2021 03:14:31 +0000 (13:44 +1030)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Feb 2021 10:54:47 +0000 (11:54 +0100)
commit0bbcd22556ef203b29e39a6ce1bd7e9523b6032e
treec64e100e740fa7462eeb46d9f05d2ed0cb5f02df
parent0c53dc321a507c78fdd15a682f42175a131b1763
mmc: sdhci-of-aspeed: Add KUnit tests for phase calculations

Converting degrees of phase to logic delays is irritating to test on
hardware, so lets exercise the function using KUnit.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20210114031433.2388532-5-andrew@aj.id.au
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig
drivers/mmc/host/sdhci-of-aspeed-test.c [new file with mode: 0644]
drivers/mmc/host/sdhci-of-aspeed.c