ARM: tegra: ouya: Fix eMMC on specific bootloaders
authorPeter Geis <pgwipeout@gmail.com>
Thu, 7 Jan 2021 16:56:59 +0000 (16:56 +0000)
committerThierry Reding <treding@nvidia.com>
Fri, 29 Jan 2021 16:08:03 +0000 (17:08 +0100)
commit3029a563ac0ccd39b9dc53eadfb9c0e3fb57a449
tree1a6d2d6bc68495911010dc9ed9d550f07346c466
parent5c8fe583cce542aa0b84adc939ce85293de36e5e
ARM: tegra: ouya: Fix eMMC on specific bootloaders

Ouya fails to detect the eMMC module when booted via certain bootloaders.
Fastboot and hard-kexec bootloaders fail while u-boot does not. It was
discovered that the issue manifests if the sdmmc4 alternate configuration
clock pin is input disabled.

Ouya uses sdmmc4 in the primary pin configuration. It is unknown why this
occurs, though it is likely related to other eMMC limitations experienced
on Ouya.

For now, fix it by enabling input on cam_mclk_pcc0.

Fixes: d7195ac5c9c5 ("ARM: tegra: Add device-tree for Ouya")
Reported-by: Matt Merhar <mattmerhar@protonmail.com>
Tested-by: Matt Merhar <mattmerhar@protonmail.com>
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-ouya.dts