[PATCH RFC v2 0/7] pinctrl-scmi: Add GPIO support

Dan Carpenter
2025-07-20T19:41:16Z

This is version 2 of the RFC. The main reason I'm sending this is because
there was a bug in the first version where it didn't calculate the offset
correctly so pins and groups weren't linked correctly.

I've also fixed a few style issues that people pointed out.

These patches are basically as ready as they can be. The remaining thing
is to figure out the format to describe it in the device tree. Actually
that's probably already done, somewhat because people are already using
SCMI pinctrl?

AKASHI Takahiro (1):
pinctrl: introduce pinctrl_gpio_get_config()

Dan Carpenter (6):
firmware: arm_scmi: move boiler plate code into the get info functions
firmware: arm_scmi: add is_gpio() function
pinctrl-scmi: add PIN_CONFIG_INPUT_VALUE
pinctrl: Delete PIN_CONFIG_OUTPUT_IMPEDANCE_OHMS support
pinctrl-scmi: Add GPIO support
pinctrl-scmi: remove unused struct member

drivers/firmware/arm_scmi/pinctrl.c | 142 +++++++++-------
drivers/pinctrl/core.c | 31 ++++
drivers/pinctrl/pinctrl-scmi.c | 213 +++++++++++++++++++++++-
include/linux/pinctrl/consumer.h | 9 +
include/linux/pinctrl/pinconf-generic.h | 3 +
include/linux/scmi_protocol.h | 2 +
6 files changed, 331 insertions(+), 69 deletions(-)

--
2.47.2