Skip to content

NFC: clean up for ACPI GPIO usage

Andy Shevchenko linux-wireless 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 1 replyIn review
  2. v212 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- incorporate Samuel's fixes
- fix the bug kbuild bot complains about
- add MAINTAINERS patch

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13NFC: pn544: Switch to devm_acpi_dev_add_driver_gpios()drivers/nfc/pn544/i2c.c+1 -20 replies
2/13NFC: st21nfca: Add GPIO ACPI mapping tabledrivers/nfc/st21nfca/i2c.c+14 -40 replies
3/13NFC: st21nfca: Get rid of code duplication in ->probe()drivers/nfc/st21nfca/i2c.c+10 -520 replies
4/13NFC: fdp: Convert I2C driver to ->probe_new()drivers/nfc/fdp/i2c.c+2 -100 replies
5/13NFC: fdp: Convert to use devres APIdrivers/nfc/fdp/fdp.c drivers/nfc/fdp/i2c.c+9 -160 replies
6/13NFC: fdp: Add GPIO ACPI mapping tabledrivers/nfc/fdp/i2c.c+12 -40 replies
7/13NFC: st-nci: Get rid of platform dataMAINTAINERS drivers/nfc/st-nci/i2c.c drivers/nfc/st-nci/spi.c +1 more+4 -1140 replies
8/13NFC: st-nci: Get rid of "interesting" use of interrupt polaritydrivers/nfc/st-nci/i2c.c drivers/nfc/st-nci/spi.c+2 -140 replies
9/13NFC: st-nci: Covert to use GPIO descriptordrivers/nfc/st-nci/i2c.c drivers/nfc/st-nci/spi.c+28 -580 replies
10/13NFC: st-nci: Use unified device properties API meaningfullydrivers/nfc/st-nci/i2c.c drivers/nfc/st-nci/spi.c+11 -480 replies
11/13NFC: st-nci: Add GPIO ACPI mapping tabledrivers/nfc/st-nci/i2c.c drivers/nfc/st-nci/spi.c+26 -80 replies
12/13NFC: st-nci: Get rid of code duplication in ->probe()drivers/nfc/st-nci/i2c.c drivers/nfc/st-nci/spi.c+18 -1030 replies
13/13MAINTAINERS: Remove non-existing NFC platform data filesMAINTAINERS+0 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 00/13] NFC: clean up for ACPI GPIO usage

This clean up series to NFC drivers that are using GPIOs on ACPI enabled platforms. Since GPIO ACPI library goes stricter about requesting resources we need to amend drivers for that. Here we are for NFC subsystem.

While doing above, get rid of legacy and unused platform data as well as some artificial IDs.

Changelog v3:
- incorporate Samuel's fixes
- fix the bug kbuild bot complains about
- add MAINTAINERS patch

Changelog v2:
- add patches 1,4-12

Andy Shevchenko (13):
NFC: pn544: Switch to devm_acpi_dev_add_driver_gpios()
NFC: st21nfca: Add GPIO ACPI mapping table
NFC: st21nfca: Get rid of code duplication in ->probe()
NFC: fdp: Convert I2C driver to ->probe_new()
NFC: fdp: Convert to use devres API
NFC: fdp: Add GPIO ACPI mapping table
NFC: st-nci: Get rid of platform data
NFC: st-nci: Get rid of "interesting" use of interrupt polarity
NFC: st-nci: Covert to use GPIO descriptor
NFC: st-nci: Use unified device properties API meaningfully
NFC: st-nci: Add GPIO ACPI mapping table
NFC: st-nci: Get rid of code duplication in ->probe()
MAINTAINERS: Remove non-existing NFC platform data files

 MAINTAINERS                          |   3 -
 drivers/nfc/fdp/fdp.c                |  15 +---
 drivers/nfc/fdp/i2c.c                |  38 ++++----
 drivers/nfc/pn544/i2c.c              |   3 +-
 drivers/nfc/st-nci/i2c.c             | 164 ++++++-----------------------------
 drivers/nfc/st-nci/spi.c             | 162 ++++++----------------------------
 drivers/nfc/st21nfca/i2c.c           |  62 ++++---------
 include/linux/platform_data/st-nci.h |  31 -------
 8 files changed, 90 insertions(+), 388 deletions(-)
 delete mode 100644 include/linux/platform_data/st-nci.h
Signature · 1 line
2.11.0