u-boot/drivers/ram/rockchip
Johan Jonker 0fbb96964b core: remap: fix regmap_init_mem_plat() reg size handeling
The fdt_addr_t and phys_addr_t size have been decoupled.
A 32bit CPU can expect 64-bit data from the device tree parser,
so convert regmap_init_mem_plat() input to handel both. The
syscon class driver also makes use of the regmap_init_mem_plat()
function, but has no way of knowing the format of the
device-specific platform data. In case of odd reg structures other
then that the syscon class driver assumes the regmap must be
filled in the individual syscon driver before pre-probe.
Also fix the ARRAY_SIZE divider in the syscon class driver.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-05-06 17:28:18 +08:00
..
dmc-rk3368.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
Kconfig ram: rockchip: Add common ddr type configs 2023-01-16 18:01:10 +08:00
Makefile ram: rockchip: Add rk3588 ddr driver support 2023-02-28 18:07:27 +08:00
sdram-px30-ddr3-detect-333.inc ram: px30: add sdram driver 2019-11-17 16:23:56 +08:00
sdram-px30-ddr4-detect-333.inc ram: px30: add sdram driver 2019-11-17 16:23:56 +08:00
sdram-px30-ddr_skew.inc ram: px30: add sdram driver 2019-11-17 16:23:56 +08:00
sdram-px30-lpddr2-detect-333.inc ram: px30: add sdram driver 2019-11-17 16:23:56 +08:00
sdram-px30-lpddr3-detect-333.inc ram: px30: add sdram driver 2019-11-17 16:23:56 +08:00
sdram-rk3399-lpddr4-400.inc ram: rockchip: update lpddr4 timing for rk3399 2019-11-17 16:23:56 +08:00
sdram-rk3399-lpddr4-800.inc ram: rockchip: update lpddr4 timing for rk3399 2019-11-17 16:23:56 +08:00
sdram-rv1126-ddr3-detect-328.inc ram: rockchip: Add rv1126 ddr3 support 2023-01-16 18:01:10 +08:00
sdram-rv1126-ddr3-detect-396.inc ram: rockchip: Add rv1126 ddr3 support 2023-01-16 18:01:10 +08:00
sdram-rv1126-ddr3-detect-528.inc ram: rockchip: Add rv1126 ddr3 support 2023-01-16 18:01:10 +08:00
sdram-rv1126-ddr3-detect-664.inc ram: rockchip: Add rv1126 ddr3 support 2023-01-16 18:01:10 +08:00
sdram-rv1126-ddr3-detect-784.inc ram: rockchip: Add rv1126 ddr3 support 2023-01-16 18:01:10 +08:00
sdram-rv1126-ddr3-detect-924.inc ram: rockchip: Add rv1126 ddr3 support 2023-01-16 18:01:10 +08:00
sdram-rv1126-ddr3-detect-1056.inc ram: rockchip: Add rv1126 ddr3 support 2023-01-16 18:01:10 +08:00
sdram-rv1126-loader_params.inc ram: rockchip: Add rv1126 ddr loader params 2023-01-16 18:01:10 +08:00
sdram-rv1126-lpddr4-detect-328.inc ram: rockchip: Add rv1126 lpddr4 support 2023-01-16 18:01:11 +08:00
sdram-rv1126-lpddr4-detect-396.inc ram: rockchip: Add rv1126 lpddr4 support 2023-01-16 18:01:11 +08:00
sdram-rv1126-lpddr4-detect-528.inc ram: rockchip: Add rv1126 lpddr4 support 2023-01-16 18:01:11 +08:00
sdram-rv1126-lpddr4-detect-664.inc ram: rockchip: Add rv1126 lpddr4 support 2023-01-16 18:01:11 +08:00
sdram-rv1126-lpddr4-detect-784.inc ram: rockchip: Add rv1126 lpddr4 support 2023-01-16 18:01:11 +08:00
sdram-rv1126-lpddr4-detect-924.inc ram: rockchip: Add rv1126 lpddr4 support 2023-01-16 18:01:11 +08:00
sdram-rv1126-lpddr4-detect-1056.inc ram: rockchip: Add rv1126 lpddr4 support 2023-01-16 18:01:11 +08:00
sdram_common.c ram: rockchip: Compute ddr capacity based on grf split 2023-01-16 18:01:10 +08:00
sdram_pctl_px30.c ram: rockchip: Update ddr pctl regs for px30 2023-01-16 18:01:10 +08:00
sdram_phy_px30.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sdram_px30.c ram: rockchip: Compute ddr capacity based on grf split 2023-01-16 18:01:10 +08:00
sdram_rk322x.c core: remap: fix regmap_init_mem_plat() reg size handeling 2023-05-06 17:28:18 +08:00
sdram_rk3066.c core: remap: fix regmap_init_mem_plat() reg size handeling 2023-05-06 17:28:18 +08:00
sdram_rk3128.c global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
sdram_rk3188.c core: remap: fix regmap_init_mem_plat() reg size handeling 2023-05-06 17:28:18 +08:00
sdram_rk3288.c core: remap: fix regmap_init_mem_plat() reg size handeling 2023-05-06 17:28:18 +08:00
sdram_rk3308.c global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
sdram_rk3328.c core: remap: fix regmap_init_mem_plat() reg size handeling 2023-05-06 17:28:18 +08:00
sdram_rk3399.c core: remap: fix regmap_init_mem_plat() reg size handeling 2023-05-06 17:28:18 +08:00
sdram_rk3568.c global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
sdram_rk3588.c ram: rockchip: Add rk3588 ddr driver support 2023-02-28 18:07:27 +08:00
sdram_rv1126.c ram: rockchip: Add rv1126 lpddr4 support 2023-01-16 18:01:11 +08:00