[RFC 0/7] pinctrl-scmi: Add GPIO support
Dan Carpenter
dan.carpenter at linaro.org
Mon May 5 04:36:12 PDT 2025
This patchset adds GPIO support to the SCMI pin control driver.
AKASHI Takahiro did some of that work earlier, but we decided to make
this a part of the pinctrl driver instead of a separate GPIO driver.
I'm not really sure how the device tree stuff wires it all in. I've
been using a mock driver on SCP with virtio to test it.
Dan Carpenter (7):
firmware: arm_scmi: move boiler plate code into the get info functions
firmware: arm_scmi: add is_gpio() function
pinctrl: introduce pinctrl_gpio_get_config()
pinctrl-scmi: implement 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 | 146 +++++++++-------
drivers/pinctrl/core.c | 35 ++++
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, 339 insertions(+), 69 deletions(-)
--
2.47.2
More information about the linux-arm-kernel
mailing list