This patchset is an attempt to implement support for NXP pn532 NFC chip
connected via I2C.

PN532 and PN533 are nearly identical despite the transport layer. So this
implementation seperates the phy layer of the current pn533 usb driver and
implements a new I2C phy layer for pn532.

While implementing and testing I also triggered a few bugs that are fixed with
the first two patches.

Michael Thalmeier (4):
  NFC: pn533: Send ATR_REQ only if NFC_PROTO_NFC_DEP bit is set in
    poll_protocols
  NFC: pn533: fix deadlock when socket is closed while processing
    command
  NFC: pn533: Separate pn533 driver in HW dependant and independant
    parts
  NFC: pn533: add I2C phy driver

 drivers/nfc/Kconfig        |   11 +-
 drivers/nfc/Makefile       |    2 +-
 drivers/nfc/pn533.c        | 3313 --------------------------------------------
 drivers/nfc/pn533/Kconfig  |   27 +
 drivers/nfc/pn533/Makefile |    9 +
 drivers/nfc/pn533/i2c.c    |  277 ++++
 drivers/nfc/pn533/pn533.c  | 2681 +++++++++++++++++++++++++++++++++++
 drivers/nfc/pn533/pn533.h  |  236 ++++
 drivers/nfc/pn533/usb.c    |  595 ++++++++
 9 files changed, 3827 insertions(+), 3324 deletions(-)
 delete mode 100644 drivers/nfc/pn533.c
 create mode 100644 drivers/nfc/pn533/Kconfig
 create mode 100644 drivers/nfc/pn533/Makefile
 create mode 100644 drivers/nfc/pn533/i2c.c
 create mode 100644 drivers/nfc/pn533/pn533.c
 create mode 100644 drivers/nfc/pn533/pn533.h
 create mode 100644 drivers/nfc/pn533/usb.c

-- 
2.5.5

Reply via email to