On Wed, 27 Sept 2023 at 06:34, Matthias Schiffer <[email protected]> wrote: > > pinctrl-single uses fdt_addr_t and phys_addr_t inconsistently, but both > are wrong to be passed to readb() etc., which expect a pointer or > pointer-sized integer. Change the driver to use > dev_read_addr_size_index_ptr(), so we consistently deal with void* > (except for the sandbox case and single_get_pin_muxing()). > > Signed-off-by: Matthias Schiffer <[email protected]> > --- > > Tested on x86 sandbox and TI AM62x. No new unit test failures in > sandbox. > > drivers/pinctrl/pinctrl-single.c | 33 +++++++++++++++++--------------- > 1 file changed, 18 insertions(+), 15 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

