[PATCH v4 2/3] pinctrl: mediatek: introduce multiple memory bases support

Tom Rini trini at konsulko.com
Thu May 5 20:52:43 CEST 2022


On Thu, Apr 21, 2022 at 02:23:52PM +0800, Sam Shih wrote:

> Pinctrl design of some mediatek SoC need to access registers that
> distribute in multiple memory base address. this patch introduce new
> mechanism in mediatek pinctrl driver to support the chips which have
> the new design.
> 
> This patch add a member 'base_calc' in pinctrl private data, and changed
> original 'base' private data to an array of *iomem.
> 
> When 'base_calc' attribute is set, it will requests multiplue regs base
> from the DT, if 'base_calc' attribute is not set, it only use legacy way
> to request single reg resource from the DT.
> 
> Signed-off-by: Sam Shih <sam.shih at mediatek.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220505/8c6c469d/attachment.sig>


More information about the U-Boot mailing list