
5 May
2022
5 May
'22
8:52 p.m.
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@mediatek.com
Applied to u-boot/master, thanks!
--
Tom