[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240506-imx-pinctrl-optional-v2-0-bdff75085156@geanix.com>
Date: Mon, 06 May 2024 12:23:52 +0200
From: Esben Haabendal <esben@...nix.com>
To: Russell King <linux@...linux.org.uk>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>, Dong Aisheng <aisheng.dong@....com>,
Jacky Bai <ping.bai@....com>, Linus Walleij <linus.walleij@...aro.org>
Cc: Arnd Bergmann <arnd@...db.de>,
Rasmus Villemoes <rasmus.villemoes@...vas.dk>,
linux-arm-kernel@...ts.infradead.org, imx@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
Esben Haabendal <esben@...nix.com>
Subject: [PATCH v2 0/3] ARM: imx: only enable pinctrl as needed
As not all mach-imx platforms has support for run-time changes of pin
configurations (such as LS1021A), a more selective approach to enabling
pinctrl infrastructure makes sense, so that an e.g. an LS1021A only kernel
could be built without pinctrl support.
This is a very late follow up v1 3 years ago [1]. The situation seems to be
unchanged since then, and I have tried to incorporate the requested
changes.
[1] https://lore.kernel.org/linux-arm-kernel/be1c35eb997959b4939b304ef26664dfb9cd2275.1621941451.git.esben@geanix.com/
Changes since v1:
- Changed all the pinctrl drivers to be user-configurable, allowing disable
even for systems with pinctrl.
- Added fixup of overly generic dependency for i.MX RT pinctrl drivers.
- Allow compile-testing of i.MX pinctrl drivers using CONFIG_COMPILE_TEST.
Signed-off-by: Esben Haabendal <esben@...nix.com>
---
Esben Haabendal (3):
ARM: imx: Allow user to disable pinctrl
pinctrl: freescale: Use CONFIG_SOC_IMXRT to guard i.MX RT1xxx drivers
pinctrl: freescale: enable use with COMPILE_TEST
arch/arm/mach-imx/Kconfig | 16 -------
drivers/pinctrl/freescale/Kconfig | 89 +++++++++++++++++++++++++++------------
2 files changed, 63 insertions(+), 42 deletions(-)
---
base-commit: dd5a440a31fae6e459c0d6271dddd62825505361
change-id: 20240506-imx-pinctrl-optional-63acd3db88dc
Best regards,
--
Esben Haabendal <esben@...nix.com>
Powered by blists - more mailing lists