]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: imx1: Allow parsing DT without function nodes
authorFrank Li <Frank.Li@nxp.com>
Tue, 5 May 2026 16:09:02 +0000 (12:09 -0400)
committerLinus Walleij <linusw@kernel.org>
Mon, 11 May 2026 19:55:23 +0000 (21:55 +0200)
commit63d2059cd665c4e5e4ca6cfbc58c6f171e7939b1
tree5c31e8cc2168cb0519812cdbc8a528ef9d4e2736
parent7cf4846a2a5b7408440584cbbc97dc476b1c52d3
pinctrl: imx1: Allow parsing DT without function nodes

The old format to define pinctrl settings for imx in DT has two hierarchy
levels. The first level are function device nodes. The second level are
pingroups which contain a property fsl,pins. The original ntention was to
define all pin functions in a single dtsi file and just reference the
correct ones in the board files.

The commit ("5fcdf6a7ed95e pinctrl: imx: Allow parsing DT without function
nodes") already make moden i.MX chip support flatten layout.

Make legacy chipes (more than 15 years) support this flatten layout also.

Fixes: e948cbdc41d6f ("ARM: dts: imx: remove redundant intermediate node in pinmux hierarchy")
Tested-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/freescale/pinctrl-imx1-core.c