Re: [RESEND][PATCH] mfd: syscon: allow mapping a range of addresses

From: Lee Jones
Date: Mon Feb 14 2022 - 08:34:43 EST


On Mon, 14 Feb 2022, Claudiu.Beznea@xxxxxxxxxxxxx wrote:

> For the moment, please ignore this patch.

I literally just got around to this - how funny!

As you were Arnd.

> On 01.02.2022 13:20, Claudiu Beznea wrote:
> > Allow the mapping of a range of addresses for syscon. This is done through
> > regmap_config::wr_table, regmap_config::rd_table. Previously, only one
> > range could have been allocated to a syscon via
> > regmap_config::max_register. The code is needed for SAMA7G5 whose reset
> > controller contains a register (at offset 0xE001D0E4, see below) that is
> > used to control the USB PHYs but that register is not located continuously
> > in reset controller address space, as follows:

--
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog