[PATCH v7 11/23] core: remap: fix regmap_init_mem_plat() reg size handeling

2023-03-10 Thread Johan Jonker
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

Re: [PATCH v7 11/23] core: remap: fix regmap_init_mem_plat() reg size handeling

2023-03-10 Thread Simon Glass
Hi Johan, On Fri, 10 Mar 2023 at 08:42, Johan Jonker wrote: > > 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, Sorry if you already responded and I missed it. I don't understand this line. It looks like sizeof(fdt_addr_

Re: [PATCH v7 11/23] core: remap: fix regmap_init_mem_plat() reg size handeling

2023-03-12 Thread Johan Jonker
On 3/11/23 02:37, Simon Glass wrote: > Hi Johan, > > On Fri, 10 Mar 2023 at 08:42, Johan Jonker wrote: >> >> 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, > > Sorry if you already responded and I missed it. > > I

Re: [PATCH v7 11/23] core: remap: fix regmap_init_mem_plat() reg size handeling

2023-03-12 Thread Simon Glass
Hi Johan, On Sun, 12 Mar 2023 at 06:21, Johan Jonker wrote: > > > > On 3/11/23 02:37, Simon Glass wrote: > > Hi Johan, > > > > On Fri, 10 Mar 2023 at 08:42, Johan Jonker wrote: > >> > >> The fdt_addr_t and phys_addr_t size have been decoupled. > >> A 32bit CPU can expect 64-bit data from the dev