]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: stm32: Handle RSVD pin configuration
authorFabien Dessenne <fabien.dessenne@foss.st.com>
Tue, 10 Jun 2025 15:23:05 +0000 (17:23 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Jun 2025 09:23:57 +0000 (11:23 +0200)
commita88ca6deca4f19c95811433aa23bab7b74d182bb
tree85a2c4cfe1aed037f12398f3431acced1763dbba
parentda5b24fbf4b8aac24c20bb948e51850ae9426c87
pinctrl: stm32: Handle RSVD pin configuration

When a pin is assigned to a coprocessor not running Linux, the pin
should be flagged in the DT as reserved and not usable by Linux.

Add pin configuration RSVD (Reserved) and instrument the driver to
not update the mux setting.

Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Link: https://lore.kernel.org/20250610152309.299438-2-antonio.borneo@foss.st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c
drivers/pinctrl/stm32/pinctrl-stm32.h