u-boot/drivers
Alper Nebi Yasak c48021d184 rockchip: sdhci: Add HS400 Enhanced Strobe support for RK3568
On RK3568, a register bit must be set to enable Enhanced Strobe.
However, it appears that the address of this register may differ from
vendor to vendor and should be read from the underlying MMC IP. Let the
Rockchip SDHCI driver read this address and set the relevant bit when
Enhanced Strobe configuration is requested.

The IP uses a custom mode select value (0x7) for HS400, use that instead
of the common but non-standard SDHCI_CTRL_HS400 value (0x5). Also add
some necessary DLL_STRBIN and DLL_TXCLK configuration for HS400.

Additionally, a bit signifying that the connected hardware is an eMMC
chip must be set to enable Data Strobe for HS400 and HS400ES modes. Also
make the driver set this bit as appropriate.

This is partly ported from Linux's Synopsys DWC MSHC driver which
happens to be the underlying IP. (drivers/mmc/host/sdhci-of-dwcmshc.c in
Linux tree).

Co-developed-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2022-03-16 18:10:41 +09:00
..
adc
ata Xilinx changes for v2022.04-rc3 2022-02-21 08:32:02 -05:00
axi
bios_emulator
block Convert CONFIG_SYS_IDE_MAXBUS et al to Kconfig 2022-02-09 09:16:47 -05:00
bootcount bootcount: fix printf() code 2022-01-28 17:58:41 -05:00
bus
button button: adc: set state to pressed when the voltage is closest to nominal 2022-02-11 09:00:47 -05:00
cache
clk clk: ccf: correct the test on the parent uclass in clk_enable/clk_disable 2022-02-25 01:41:04 -05:00
core acpi: Tidy up the item list 2022-01-25 11:44:36 -07:00
cpu
crypto crypto: aspeed: fix polling RSA status wrong issue 2022-02-21 08:35:40 -05:00
ddr ddr: marvell: a38x: fix BYTE_HOMOGENEOUS_SPLIT_OUT decision 2022-02-17 14:17:07 +01:00
demo
dfu DFU: Check the number of arguments and argument string strictly 2022-02-11 11:29:23 -05:00
dma drivers: dma: Add support for J721S2 2022-02-08 09:41:27 -05:00
fastboot fastboot: only look up real partition names when no alias exists 2022-01-28 11:30:39 -05:00
firmware Xilinx changes for v2022.04-rc3 2022-02-21 08:32:02 -05:00
fpga arm: socfpga: arria10: Enable double peripheral RBF configuration 2021-12-17 12:58:01 +08:00
gpio gpio: add sl28cpld driver 2022-02-28 11:59:35 +05:30
hwspinlock treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
i2c ti: i2c: fix probe_chip() return value 2022-02-21 08:39:52 -05:00
input input: apple: Add support for Apple SPI keyboard 2022-02-10 16:44:23 -05:00
iommu iommu: Add M1 Pro/Max support to Apple DART driver 2022-02-21 08:35:40 -05:00
led
mailbox mailbox: apple: Add driver for Apple IOP mailbox 2022-02-10 16:44:23 -05:00
memory
misc misc: add sl28cpld base driver 2022-02-28 11:59:35 +05:30
mmc rockchip: sdhci: Add HS400 Enhanced Strobe support for RK3568 2022-03-16 18:10:41 +09:00
mtd mtd: spi-nor-ids: Enable quad read for Gigadevice gd25lq128 2022-03-12 01:10:01 +05:30
mux treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
net net: ravb: Add tx/rx delay flag checks and support for rgmii-rxid 2022-02-25 21:42:07 +01:00
nvme nvme: apple: Add driver for Apple NVMe storage controller 2022-02-10 16:44:23 -05:00
pch
pci pci: pci_mvebu: Cleanup macro names 2022-03-04 08:38:05 +01:00
pci_endpoint
phy phy: cadence: Sierra: Move the link operations from serdes phy to link device 2022-03-14 12:44:51 -04:00
pinctrl arm64: a37xx: pinctrl: Fix PWM pins indexes 2022-03-04 08:38:05 +01:00
power Xilinx changes for v2022.04-rc3 2022-02-21 08:32:02 -05:00
pwm exynos: pwm: Deal with a PWM at 100% 2021-11-09 11:57:22 +09:00
qe configs: fsl: migrate FMAN/QE specific defines to Kconfig 2021-11-09 17:18:23 +05:30
ram ram: k3-ddrss: Add support for J721S2 SoC 2022-02-08 09:41:27 -05:00
reboot-mode
remoteproc remoteproc: ipu: Add driver to bring up ipu 2022-02-08 11:00:03 -05:00
reset reset: dra7: Add a reset driver 2022-02-08 09:41:27 -05:00
rng clk: Add clk_get_by_name_optional 2022-02-25 01:41:04 -05:00
rtc drivers: rtc: fix null pointer access in armada38x_rtc_reset 2022-03-04 08:38:05 +01:00
scsi Convert CONFIG_SCSI_AHCI_PLAT et al to Kconfig 2022-02-09 09:16:48 -05:00
serial drivers: serial: Make sure we really return a serial device 2022-03-08 08:42:43 -05:00
smem
soc soc: soc_ti_k3: update j721e revision numbering 2022-02-08 09:41:27 -05:00
sound doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
spi driver: spi: add bcm iproc qspi support 2022-02-24 13:42:50 +05:30
spmi spmi: msm: add arbiter version 5 support 2021-10-31 08:46:44 -04:00
sysinfo
sysreset Xilinx changes for v2022.04-rc1 2022-01-19 11:43:44 -05:00
tee tee: optee: remove unused duplicated login Id macros 2021-11-23 13:53:03 -05:00
thermal
timer omap: timer: implement timer_get_boot_us 2022-01-16 08:31:03 -05:00
tpm doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ufs
usb usb: dwc2: handle return code of dev_read_size() in of to, plat function 2022-03-14 12:31:12 +01:00
video video: Allow drivers to allocate the frame buffer themselves 2022-03-09 21:26:54 +01:00
virtio doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
w1
w1-eeprom
watchdog watchdog: rti_wdt: Add 10% safety margin to clock frequency 2022-03-08 09:08:09 +01:00
xen
Kconfig iommu: Add IOMMU uclass 2021-10-31 08:46:44 -04:00
Makefile iommu: Add IOMMU uclass 2021-10-31 08:46:44 -04:00