summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2026-01-06 16:05:19 -0600
committerTom Rini <[email protected]>2026-01-12 13:41:17 -0600
commit424ceba18bfb4c9bc324618fc572066833e38d88 (patch)
treec3657b8fae7f6966001b193978e78506e54e20ec /doc/develop
parent75a5404a588938d2803e07acb9977e3dfe29693e (diff)
pinctrl: mediatek: support mediatek,pctl-regmap property
Add support for the mediatek,pctl-regmap devicetree property to the common MediaTek pinctrl driver. In upstream devicetrees from Linux, the pinctrl nodes may be on the interrupt controller register address space rather than the pinctrl register address space. In this case, there is a syscon node linking to the actual pinctrl registers. This uses a common property name of mediatek,pctl-regmap for the phandle to the syscon node. The logic here is that if this property is present, we look up the syscon node and use it's address as the base address of the pinctrl registers and ignore the pinctrl node's own reg property. (Support for interrupts could be added later if needed.) There is also at least one SoC in Linux that has two syscon phandles in this property. This implementation support parsing this, but doesn't do anything with the second syscon yet (the 2nd syscon is for interrupts which we are saving for later). Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions