[PATCH RFC/RFT 0/2] gpio: qcom: rewritte SPMI gpio driver from Linux driver

Neil Armstrong neil.armstrong at linaro.org
Thu Jun 5 09:46:45 CEST 2025


On 04/06/2025 14:40, Casey Connolly wrote:
> 
> 
> On 6/3/25 18:43, Neil Armstrong wrote:
>> On 01/04/2025 11:47, Neil Armstrong wrote:
>>> 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 at 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: 5ca70325b64f760bf4190f206a0e88dda495e3d2
>>> change-id: 20250401-topic-sm8x50-pmic-gpio-pinctrl-new-2588c35a461c
>>>
>>> Best regards,
>>
>> How should we go forward ?
> 
> Unless you have any concerns let's pull this into -next and see what happens. I'm preparing a PR atm>

For me it's all good, once it's merge I'll migrate to the new one and add all the other compatible
from the Linux driver.

Thanks !
Neil

>> Neil
> 



More information about the U-Boot mailing list