hekate/bdk
CTCaer d258c82d52 bdk: sdmmc: add UHS DDR200 support
The bdk flag BDK_SDMMC_UHS_DDR200_SUPPORT can be used to enable it.

SD Card DDR200 (DDR208) support

Proper procedure:
1. Check that Vendor Specific Command System is supported.
   Used as Enable DDR200 Bus.
2. Enable DDR200 bus mode via setting 14 to Group 2 via CMD6.
   Access Mode group is left to default 0 (SDR12).
3. Setup clock to 200 or 208 MHz.
4. Set host to DDR bus mode that supports such high clocks.
   Some hosts have special mode, others use DDR50 and others HS400.
5. Execute Tuning.

The true validation that this value in Group 2 activates it, is that DDR50 bus
and clocks/timings work fully after that point.

On Tegra X1, that can be done with DDR50 host mode.
Tuning though can't be done automatically on any DDR mode.
So it needs to be done manually and selected tap will be applied from the
biggest sampling window.

Finally, all that simply works, because the marketing materials for DDR200 are
basically overstatements to sell the feature. DDR200 is simply SDR104 in DDR mode,
so sampling on rising and falling edge and with variable output data window.
It can be supported by any host that is fast enough to support DDR at 200/208MHz
and can do hw/sw tuning for finding the proper sampling window in that mode.

Using a SDMMC controller on DDR200 mode at 400MHz, has latency allowance implications. The MC/EMC must be clocked enough to be able to serve the requests in time (512B in 1.28 ns).
2023-03-31 08:54:13 +03:00
..
display bdk: stylistic corrections 2023-02-11 23:46:38 +02:00
ianos bdk: small refactor 2022-10-11 06:16:38 +03:00
input bdk: stylistic corrections 2023-02-11 23:46:38 +02:00
libs bdk: slight refactor 2022-12-19 05:22:55 +02:00
mem bdk: stylistic corrections 2023-02-11 23:46:38 +02:00
power bdk: max77621: ckkadv is basically an enum 2023-02-22 13:00:36 +02:00
rtc bdk: stylistic corrections 2023-02-11 23:46:38 +02:00
sec bdk: stylistic corrections 2023-02-11 23:46:38 +02:00
soc bdk: sdmmc: add UHS DDR200 support 2023-03-31 08:54:13 +03:00
storage bdk: sdmmc: add UHS DDR200 support 2023-03-31 08:54:13 +03:00
thermal bdk: stylistic corrections 2023-02-11 23:46:38 +02:00
usb bdk: stylistic corrections 2023-02-11 23:46:38 +02:00
utils bdk: stylistic corrections 2023-02-11 23:46:38 +02:00
bdk.h bdk: Add driver for VIC 2022-10-11 06:41:38 +03:00
exception_handlers.S bdk: fiq: watchdog handling 2022-06-29 12:12:03 +03:00
fatfs_cfg.h bdk: add global header 2022-01-15 23:58:27 +02:00
fatfs_conf.h bdk: add global header 2022-01-15 23:58:27 +02:00
gfx_utils.h Utilize hekate's BDK for hekate main and Nyx 2020-06-14 16:45:45 +03:00
memory_map.h bdk: update memory map with more used addresses 2022-06-29 12:13:04 +03:00
module.h ianos: add extensions magic 2021-04-11 10:30:24 +03:00