All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] gpio: qcom: rewritte SPMI gpio driver from Linux driver
@ 2025-06-30 16:04 Neil Armstrong
  2025-06-30 16:04 ` [PATCH v2 1/2] gpio: qcom: add new driver for SPMI gpios Neil Armstrong
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Neil Armstrong @ 2025-06-30 16:04 UTC (permalink / raw)
  To: Tom Rini, Sumit Garg, Casey Connolly, Casey Connolly
  Cc: u-boot, u-boot-qcom, Neil Armstrong, Alexey Minnekhanov

The current SPMI gpio driver is very old and doesn't support
pin state tracking to fully support the whole pinconf calls.

The simplest is to rewritte the driver using the v6.14 Linux
driver and fully implement pinctrl, pinmux, pinconf and gpio
support using all the newer interfaces.

The goal is to deprecate the old one it has been validated
on currently supported hardware.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Changes in v2:
- Collected tested-by
- Rebased on next
- Link to v1: https://lore.kernel.org/r/20250401-topic-sm8x50-pmic-gpio-pinctrl-new-v1-0-74077ef0b464@linaro.org

---
Neil Armstrong (2):
      gpio: qcom: add new driver for SPMI gpios
      gpio: qcom: move pm8550 gpio to new driver

 drivers/gpio/Makefile         |    2 +-
 drivers/gpio/qcom_pmic_gpio.c |   20 +-
 drivers/gpio/qcom_spmi_gpio.c | 1035 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 1037 insertions(+), 20 deletions(-)
---
base-commit: f2220962f9cb1366bfc003ec2cc5650499c68895
change-id: 20250401-topic-sm8x50-pmic-gpio-pinctrl-new-2588c35a461c

Best regards,
-- 
Neil Armstrong <neil.armstrong@linaro.org>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-07-14 13:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-30 16:04 [PATCH v2 0/2] gpio: qcom: rewritte SPMI gpio driver from Linux driver Neil Armstrong
2025-06-30 16:04 ` [PATCH v2 1/2] gpio: qcom: add new driver for SPMI gpios Neil Armstrong
2025-07-02  8:53   ` Rui Miguel Silva
2025-06-30 16:04 ` [PATCH v2 2/2] gpio: qcom: move pm8550 gpio to new driver Neil Armstrong
2025-07-02  8:53   ` Rui Miguel Silva
2025-07-07 12:48 ` [PATCH v2 0/2] gpio: qcom: rewritte SPMI gpio driver from Linux driver Sumit Garg
2025-07-14 13:20 ` Casey Connolly

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.