diff options
author | Andrew Jeffery <andrew@aj.id.au> | 2021-01-14 06:14:29 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-02-01 13:54:47 +0300 |
commit | 2fc88f92359df753fc892f3b3d0e1d69ef6c620c (patch) | |
tree | 8cbebf1d34cffe32cad13670b09dc8f3dc6373ad /drivers/mmc/host/sdhci-of-at91.c | |
parent | 3561afa02605b398d1b98e1ce913ea6411cdc5dd (diff) | |
download | linux-2fc88f92359df753fc892f3b3d0e1d69ef6c620c.tar.xz |
mmc: sdhci-of-aspeed: Expose clock phase controls
The Aspeed SD/eMMC controllers expose configurable clock phase
correction by inserting delays of up to 15 logic elements in length into
the bus clock path. The hardware supports independent configuration for
both bus directions on a per-slot basis.
The timing delay per element encoded in the driver was experimentally
determined by scope measurements.
The phase controls for both slots are grouped together in a single
register of the global register block of the SD/MMC controller(s), which
drives the use of a locking scheme between the SDHCIs and the global
register set.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20210114031433.2388532-3-andrew@aj.id.au
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-of-at91.c')
0 files changed, 0 insertions, 0 deletions