Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1364710

[RFC 0/4] NFC: pn533: support for pn532 via I2C

From Michael Thalmeier <michael.thalmeier@hale.at>
Newsgroups linux.kernel
Subject [RFC 0/4] NFC: pn533: support for pn532 via I2C
Date 2016-03-25 16:00 +0100
Message-ID <rgBns-36A-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC 0/4] NFC: pn533: support for pn532 via I2C Michael Thalmeier <michael.thalmeier@hale.at> - 2016-03-25 16:00 +0100
  [RFC 1/4] NFC: pn533: Send ATR_REQ only if NFC_PROTO_NFC_DEP bit is set in poll_protocols Michael Thalmeier <michael.thalmeier@hale.at> - 2016-03-25 16:00 +0100
  [RFC 4/4] NFC: pn533: add I2C phy driver Michael Thalmeier <michael.thalmeier@hale.at> - 2016-03-25 16:00 +0100
  [RFC 2/4] NFC: pn533: fix deadlock when socket is closed while processing command Michael Thalmeier <michael.thalmeier@hale.at> - 2016-03-25 16:00 +0100

csiph-web