OSDN Git Service

mmc: sdhci-of-arasan: Add support to set clock phase delays for SD
authorManish Narani <manish.narani@xilinx.com>
Wed, 20 Nov 2019 06:47:26 +0000 (12:17 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 20 Nov 2019 12:55:55 +0000 (13:55 +0100)
commitf3dafc374a82929c679a0e791f43cc53268af952
tree4208d889ba5c07b348a9bbe41e5911652ebc834b
parentfec81c5bca2499b4a263667860018c2ce47f4f51
mmc: sdhci-of-arasan: Add support to set clock phase delays for SD

Add support to read Clock Phase Delays from the DT and set it via
clk_set_phase() API from clock framework. Some of the controllers might
have their own handling of setting clock delays, for this keep the
set_clk_delays as function pointer which can be assigned controller
specific handling of the same.

Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-arasan.c