[PATCH v2 0/3] Remove <linux/of_gpio.h>

Jialu Xu posted 3 patches 1 month, 1 week ago
Only 1 patches received!
There is a newer version of this series
drivers/gpio/TODO                | 28 ----------------
drivers/gpio/gpiolib-of.c        | 31 +++---------------
drivers/nfc/nfcmrvl/main.c       | 46 +++++++++-----------------
drivers/nfc/nfcmrvl/nfcmrvl.h    |  4 ++-
drivers/nfc/nfcmrvl/uart.c       | 23 +++++++++----
drivers/nfc/nfcmrvl/usb.c        |  2 +-
drivers/nfc/s3fwrn5/i2c.c        | 55 +++++---------------------------
drivers/nfc/s3fwrn5/phy_common.c | 11 +++----
drivers/nfc/s3fwrn5/phy_common.h |  5 +--
drivers/nfc/s3fwrn5/uart.c       | 45 +++++++-------------------
include/linux/of_gpio.h          | 38 ----------------------
11 files changed, 67 insertions(+), 221 deletions(-)
delete mode 100644 include/linux/of_gpio.h
[PATCH v2 0/3] Remove <linux/of_gpio.h>
Posted by Jialu Xu 1 month, 1 week ago
Convert the last three NFC consumers of <linux/of_gpio.h> to the
GPIO descriptor API, then remove the deprecated header entirely.

Changes in v2:  
- Add rename quirks in gpiolib-of.c for s3fwrn5 legacy DT properties
  (s3fwrn5,en-gpios -> en, s3fwrn5,fw-gpios -> wake) to preserve
  backward compatibility with old device trees. (Linus Walleij)

Jialu Xu (3):
  nfc: s3fwrn5: convert to gpio descriptors
  nfc: nfcmrvl: convert to gpio descriptors
  gpio: remove of_get_named_gpio() and <linux/of_gpio.h>

 drivers/gpio/TODO                | 28 ----------------
 drivers/gpio/gpiolib-of.c        | 31 +++---------------
 drivers/nfc/nfcmrvl/main.c       | 46 +++++++++-----------------
 drivers/nfc/nfcmrvl/nfcmrvl.h    |  4 ++-
 drivers/nfc/nfcmrvl/uart.c       | 23 +++++++++----
 drivers/nfc/nfcmrvl/usb.c        |  2 +-
 drivers/nfc/s3fwrn5/i2c.c        | 55 +++++---------------------------
 drivers/nfc/s3fwrn5/phy_common.c | 11 +++----
 drivers/nfc/s3fwrn5/phy_common.h |  5 +--
 drivers/nfc/s3fwrn5/uart.c       | 45 +++++++-------------------
 include/linux/of_gpio.h          | 38 ----------------------
 11 files changed, 67 insertions(+), 221 deletions(-)
 delete mode 100644 include/linux/of_gpio.h

-- 
2.47.3
Re: [PATCH v2 0/3] Remove <linux/of_gpio.h>
Posted by Bartosz Golaszewski 1 month, 1 week ago
On Wed, Mar 4, 2026 at 11:52 AM Jialu Xu <xujialu@vimux.org> wrote:
>
> Convert the last three NFC consumers of <linux/of_gpio.h> to the
> GPIO descriptor API, then remove the deprecated header entirely.
>
> Changes in v2:
> - Add rename quirks in gpiolib-of.c for s3fwrn5 legacy DT properties
>   (s3fwrn5,en-gpios -> en, s3fwrn5,fw-gpios -> wake) to preserve
>   backward compatibility with old device trees. (Linus Walleij)
>
> Jialu Xu (3):
>   nfc: s3fwrn5: convert to gpio descriptors
>   nfc: nfcmrvl: convert to gpio descriptors
>   gpio: remove of_get_named_gpio() and <linux/of_gpio.h>
>
>  drivers/gpio/TODO                | 28 ----------------
>  drivers/gpio/gpiolib-of.c        | 31 +++---------------
>  drivers/nfc/nfcmrvl/main.c       | 46 +++++++++-----------------
>  drivers/nfc/nfcmrvl/nfcmrvl.h    |  4 ++-
>  drivers/nfc/nfcmrvl/uart.c       | 23 +++++++++----
>  drivers/nfc/nfcmrvl/usb.c        |  2 +-
>  drivers/nfc/s3fwrn5/i2c.c        | 55 +++++---------------------------
>  drivers/nfc/s3fwrn5/phy_common.c | 11 +++----
>  drivers/nfc/s3fwrn5/phy_common.h |  5 +--
>  drivers/nfc/s3fwrn5/uart.c       | 45 +++++++-------------------
>  include/linux/of_gpio.h          | 38 ----------------------
>  11 files changed, 67 insertions(+), 221 deletions(-)
>  delete mode 100644 include/linux/of_gpio.h
>
> --
> 2.47.3
>

Hi!

I really appreciate the work but your patches need to carry your
Signed-off-by tags under the commit messages before they can be
considered.

Bartosz
Re: [PATCH v2 0/3] Remove <linux/of_gpio.h>
Posted by Jialu Xu 1 month, 1 week ago
Sorry, I intended to use format-patch but forgot to add the v2 version
tag and signoff.

Jialu