u-boot/drivers/core
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
..
acpi.c common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
device-remove.c dm: core: Use device_foreach_child where possible 2022-06-28 03:09:51 +01:00
device.c timer: Tidy up use of notrace 2023-02-11 12:22:34 -05:00
devres.c dm: core: Use device_foreach_child where possible 2022-06-28 03:09:51 +01:00
dump.c dm: core: Use full printf() format when possible 2023-01-26 10:47:45 -07:00
fdtaddr.c core: fdtaddr: use map_sysmem() as cast for the return 2023-04-28 11:52:30 -06:00
Kconfig dm: Add a TPL symbol for simple-bus 2023-03-03 09:49:02 -05:00
lists.c dm: core: Fix iteration over driver_info records 2022-12-02 08:39:00 -05:00
Makefile vpl: Add Kconfig options for VPL 2022-05-02 09:58:13 -04:00
of_access.c dm: core: Make aliases_lookup static 2023-04-28 11:30:17 -06:00
of_addr.c drivers/core/of_addr.c: Fix spelling of "shouldn't". 2022-01-13 07:57:50 -05:00
of_extra.c net: introduce a helper to determine whether to use in-band autoneg 2021-11-23 09:57:55 +02:00
ofnode.c dm: treewide: Complete migration to new driver model schema 2023-02-14 09:43:27 -07:00
read.c drivers: core: ofnode: Add panel timing decode. 2023-02-04 18:13:21 +01:00
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
regmap.c core: remap: fix regmap_init_mem_plat() reg size handeling 2023-05-06 17:28:18 +08:00
root.c dm: fix probing of all devices that have u-boot, dm-pre-reloc in SPL/TPL 2023-01-12 14:06:16 -05:00
simple-bus.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00
simple-pm-bus.c simple-pm-bus: Use -ENOSYS for checking missing system call 2021-04-06 16:33:19 +12:00
syscon-uclass.c core: remap: fix regmap_init_mem_plat() reg size handeling 2023-05-06 17:28:18 +08:00
tag.c dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
uclass.c dm: core: introduce uclass_get_device_by_of_path() 2023-04-28 11:48:59 -06:00
util.c treewide: Use OF_REAL instead of !OF_PLATDATA 2021-09-25 09:46:15 -06:00