u-boot-brain/arch/arm/include/asm/arch-tegra
Tom Warren a482f32992 mmc: t210: Fix 'bad' SD-card clock when doing 400KHz card detect
According to the HW team, for some reason the normal clock select code
picks what appears to be a perfectly valid 375KHz SD card clock, based
on the CAR clock source and SDMMC1 controller register settings (CAR =
408MHz PLLP0 divided by 68 for 6MHz, then a SD Clock Control register
divisor of 16 = 375KHz). But the resulting SD card clock, as measured by
the HW team, is 700KHz, which is out-of-spec. So the WAR is to use the
values given in the TRM PLLP table to generate a 400KHz SD-clock (CAR
clock of 24.7MHz, SD Clock Control divisor of 62) only for SDMMC1 on
T210 when the requested clock is <= 400KHz. Note that as far as I can
tell, the other requests for clocks in the Tegra MMC driver result in
valid SD clocks.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2020-04-02 14:30:01 -07:00
..
ap.h
apb_misc.h
board.h
bpmp_abi.h
cboot.h ARM: tegra: Implement cboot_get_ethaddr() 2019-06-05 09:16:34 -07:00
clk_rst.h
clock.h
dc.h
funcmux.h
fuse.h
gp_padctrl.h
gpio.h
gpu.h
ivc.h
pinmux.h
pmc.h ARM: tegra: Support TZ-only access to PMC 2019-06-05 09:16:34 -07:00
pmu.h ARM: tegra: Use common header for PMU declarations 2019-06-05 09:16:33 -07:00
powergate.h
pwm.h
scu.h
sys_proto.h
tegra_ahub.h
tegra_i2c.h
tegra_i2s.h tegra: sound: Add an I2S driver 2019-05-24 10:14:03 -07:00
tegra_mmc.h mmc: t210: Fix 'bad' SD-card clock when doing 400KHz card detect 2020-04-02 14:30:01 -07:00
tegra.h ARM: tegra: Support TZ-only access to PMC 2019-06-05 09:16:34 -07:00
timer.h
uart.h
usb.h
warmboot.h
xusb-padctl.h t210: do not enable PLLE and UPHY PLL HW PWRSEQ 2020-04-02 14:30:01 -07:00