u-boot/drivers
John Keeping ea0f766253 mmc: rockchip_dw_mmc: fix DDR52 8-bit mode handling
The RK3288 TRM states that, for 8-bit DDR modes:

	The CLKDIV register should always be programmed with a value
	higher than zero (0); that is, a clock divider should always be
	used for 8-bit DDR mode.

In Linux, the driver applies this logic for all SoCs using the driver
and does not distinguish RK3288, so presumably this requirement is the
same for all other Rockchip SoCs using this IP.

Add the necessary code to double the clock frequency when 8-bit DDR is
selected.  The dw_mmc core already handles setting CLKDIV correctly
given the input clock and desired bus clock.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-02-28 18:07:26 +08:00
..
adc adc: stm32mp15: add calibration support 2023-01-12 16:25:51 +01:00
ata ata: Don't try to use non-existent ports 2023-01-23 18:11:40 -05:00
axi WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
bios_emulator video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
block bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
bootcount global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
bus bus: Optionally include TI sysc driver in SPL/TPL 2022-12-02 08:39:00 -05:00
button dm: button: add support for linux_code in button-gpio.c driver 2023-02-10 12:50:01 -05:00
cache driver: cache-v5l2: Fix type casting warning on RV32 2023-02-17 19:07:48 +08:00
clk clk: Allow clk_get_by_name() with NULL name 2023-02-12 13:44:20 -05:00
core timer: Tidy up use of notrace 2023-02-11 12:22:34 -05:00
cpu event: Correct dependencies on the EVENT framework 2023-01-18 12:46:13 -05:00
crypto Correct SPL uses of HW_WATCHDOG 2023-02-10 07:41:39 -05:00
ddr ddr: imx: Handle both 3733 and 3732 MTps rates 2023-01-30 21:02:27 +01:00
demo demo: migrate uclass to livetree 2021-10-05 08:50:15 -04:00
dfu blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
dma ddr: fsl: Remove CONFIG_MEM_INIT_VALUE 2022-12-22 10:31:48 -05:00
fastboot Correct SPL uses of FASTBOOT_FLASH_NAND 2023-02-10 07:41:41 -05:00
firmware firmware: ti_sci: fix typo in boot authentication message name 2023-01-18 13:11:13 -05:00
fpga fpga: Add a FPGA_STRATIX_II option 2023-02-07 14:33:48 -05:00
fuzz sandbox: Implement fuzzing engine driver 2022-06-23 12:58:19 -04:00
fwu-mdata FWU: Add FWU metadata access driver for GPT partitioned block devices 2022-10-31 14:47:32 -04:00
gpio Merge branch 'for-2023.04' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx 2023-02-12 15:25:09 -05:00
hwspinlock treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
i2c i2c: i2c-cdns.c: Update driver to read fifo-depth from device tree 2023-02-13 09:58:27 +01:00
input dm: input: add button_kbd driver 2023-02-10 13:41:06 -05:00
iommu iommu: Implement mapping IOMMUs for PCI devices 2023-01-27 14:47:58 -05:00
led led: led_pwm: typo 'iverted' on code comment 2022-11-02 13:58:17 -04:00
mailbox mailbox: zynqmp: Enable ipi mailbox driver for Versal NET 2022-09-26 14:23:29 +02:00
memory memory: atmel-ebi: add Atmel EBI (External Bus Interface) driver 2022-12-08 18:06:27 +02:00
mfd mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation 2022-12-08 18:06:27 +02:00
misc Correct SPL use of A003399_NOR_WORKAROUND 2023-02-09 16:32:25 -05:00
mmc mmc: rockchip_dw_mmc: fix DDR52 8-bit mode handling 2023-02-28 18:07:26 +08:00
mtd mtd: Drop unused nand_plat driver 2023-02-07 14:33:49 -05:00
mux treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
net cpsw_mdio.c: Use correct reg in cpsw_mdio_get_alive 2023-02-17 10:49:41 -05:00
nvme bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
pch treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
pci sh4: Drop unused pci_sh7780 driver 2023-02-07 14:33:49 -05:00
pci_endpoint dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
phy Correct SPL uses of USB_MUSB_HOST 2023-02-10 07:41:40 -05:00
pinctrl Correct SPL use of ATMEL_PIO4 2023-02-10 08:22:52 -05:00
power power: Drop unused muic_max8997 driver 2023-02-07 14:33:49 -05:00
pwm ARM: tegra: Fix Tegra PWM parent clock 2023-02-23 12:55:36 -07:00
qe global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
ram global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
reboot-mode reboot-mode: Add NVMEM reboot mode 2023-01-11 11:54:50 -05:00
remoteproc remoteproc: ipu: Add driver to bring up ipu 2022-02-08 11:00:03 -05:00
reset reset: Allow reset_get_by_name() with NULL name 2023-02-12 13:44:20 -05:00
rng drivers: rng: optee_rng: register to CONFIG_OPTEE_SERVICE_DISCOVERY 2022-09-14 15:23:03 -04:00
rtc rtc: Drop old and unused drivers 2023-02-07 14:33:49 -05:00
scsi bootstd: Add a new pre-scan priority for bootdevs 2023-01-23 18:11:41 -05:00
serial Correct SPL uses of OF_BOARD 2023-02-10 07:41:41 -05:00
smem smem: msm: add missing <linux/sizes.h> 2022-10-12 08:56:24 -04:00
soc soc: zynqmp: Fix IDcode for xck24 2023-01-24 13:55:05 +01:00
sound test: test sandbox sound driver more rigorously 2022-12-05 17:43:21 +01:00
spi spi: tegra20_slink: accept any word length 2023-02-23 12:55:36 -07:00
spmi spmi: msm: add arbiter version 5 support 2021-10-31 08:46:44 -04:00
sysinfo dm: core: Switch uclass_*_device_err to use uclass_*_device_check 2022-10-29 07:36:33 -06:00
sysreset Correct SPL uses of DISPLAY_AER_BRIEF 2023-02-10 07:41:41 -05:00
tee tee: optee: fix uuid comparisons on service discovery 2023-01-20 10:04:56 +02:00
thermal thermal: add sandbox driver 2022-10-11 16:03:03 -04:00
timer timer: Tidy up use of notrace 2023-02-11 12:22:34 -05:00
tpm Correct SPL use of TPM_RNG 2023-02-10 07:41:40 -05:00
ufs global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
usb ARM: tegra: provide default USB gadget setup 2023-02-23 12:55:37 -07:00
video Correct SPL use of PANEL 2023-02-10 07:41:41 -05:00
virtio bootstd: Correct virtio block-device handling 2023-02-06 13:04:53 -05:00
w1 dm: treewide: Do not use the return value of simple uclass iterator 2022-10-29 07:36:33 -06:00
w1-eeprom dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
watchdog watchdog: Clean up defaults for imx_watchdog / ulp_wdog 2023-01-20 12:27:23 -05:00
xen Correct SPL uses of XEN_SERIAL 2023-02-10 07:41:41 -05:00
Kconfig mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation 2022-12-08 18:06:27 +02:00
Makefile omap: Drop unused CONFIG_OMAP_USB_PHY 2023-02-07 14:33:49 -05:00