]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ARM: imx: Allow user to disable pinctrl
authorEsben Haabendal <esben@geanix.com>
Mon, 6 May 2024 10:23:53 +0000 (12:23 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Oct 2024 12:03:41 +0000 (14:03 +0200)
commit17d210018914024c97dfe08f7e7e49e65785b3a9
treebf8b51ff125dc7f600930f598550dc450cf7bf91
parent88dbf374a5748c09e2a1eef3f3ad43cc73c6f69a
ARM: imx: Allow user to disable pinctrl

Making pinctrl drivers and subsequently the pinctrl framework
user-controllable, allows building a kernel without this.
While in many (most) cases, this could make the system unbootable, it
does allow building smaller kernels for those situations where picntrl
is not needed.

One such situation is when building a kernel for NXP LS1021A systems,
which does not have run-time controllable pinctrl, so pinctrl framework
and drivers are 100% dead-weight.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/20240506-imx-pinctrl-optional-v2-1-bdff75085156@geanix.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-imx/Kconfig
drivers/pinctrl/freescale/Kconfig