[PATCH 0/2] pinctrl: apple: Fixup and RFC GPIO mode patch
Linus Walleij
linusw at kernel.org
Sun Jan 11 12:29:20 PST 2026
This fixes some uses of the "unsigned" type to "unsigned int"
then propose to implement the .function_is_gpio() callback.
The Apple pin control maintainers can comment on this: I
am not sure that "mode 0" is GPIO on this hardware but I
find it likely.
Toggling a pin between a certain function mode and GPIO
mode happens on any sufficiently advanced system sooner or
later and this callback was implemented because Qualcomm
ran into it, so let's add it to the Apple driver before
the users turn up.
Signed-off-by: Linus Walleij <linusw at kernel.org>
---
Linus Walleij (2):
pinctrl: apple: Use unsigned int instead of unsigned
RFC: pinctrl: apple: Implement GPIO func check callback
drivers/pinctrl/pinctrl-apple-gpio.c | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20260111-apple-req-gpio-func-3010ca45a118
Best regards,
--
Linus Walleij <linusw at kernel.org>
More information about the linux-arm-kernel
mailing list