mmc: tegra: allow disabling external clock loopback
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sat, 25 Mar 2017 00:18:22 +0000 (01:18 +0100)
committerTom Warren <twarren@nvidia.com>
Sat, 1 Apr 2017 22:45:04 +0000 (15:45 -0700)
commit4119b7098c8ef83105946502bc7098dec67bd15d
tree07a2386cf7bf20d8ac676f1eb5ebff87c8add303
parentf38f5f4bcf8027041e8c5b9ea3bc1ae905510bc0
mmc: tegra: allow disabling external clock loopback

Introduce CONFIG_TEGRA124_MMC_DISABLE_EXT_LOOPBACK to disable the external clock
loopback and use the internal one on SDMMC3 as per the SDMMC_VENDOR_MISC_CNTRL_0
register's SDMMC_SPARE1 bits being set to 0xfffd according to the TRM.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/tegra_mmc.h
drivers/mmc/Kconfig
drivers/mmc/tegra_mmc.c