summaryrefslogtreecommitdiff
path: root/drivers/nfc
AgeCommit message (Collapse)Author
2012-01-06drivers: nfc: pn544: Add 1ms delay after I2C read and writeMohan T
pn544 seems to be slow in handling I2C read/write requests. Even though pn544 acks the read/write but next operation fails. Bug: 915848 Bug: 914700 Bug: 914691 Bug: 915598 Change-Id: I7851d0d4b7c24810ad27f3e0fbd4542b52dc8a5e Signed-off-by: Mohan T <mohant@nvidia.com> Reviewed-on: http://git-master/r/72867 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Alok Chauhan <alokc@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-11-30nfc: control firmware download and nfc_enRakesh Goyal
control firmware download and VEN using gpio Bug 846684 Bug 873017 Change-Id: I58391ac60e1b9cf440a186c155f993c9293f8223 Reviewed-on: http://git-master/r/62702 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R74ce3100c395b696c347fce4b4c9f5913aae3717
2011-11-30driver: nfc: code clean-up to make it compilableRakesh Goyal
1. Code cleaning so it can compile 2. changes in pn544 driver to condition use of firmware download gpio bug 846684 bug 873017 Reviewed-on: http://git-master/r/57329 (cherry picked from commit ddde05ce297da3038a770d575bc27bdfe7444c35) Change-Id: I1381fca040bd4bcc51a6a6a43cd33297a697c27e Reviewed-on: http://git-master/r/62699 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R2b25ef5ee689076ebca99d13e5a23b1f0cc4da98
2011-11-30nfc: initial commit of pn544 nfc driverRakesh Goyal
Bug 846684 Bug 873017 Reviewed-on: http://git-master/r/55880 (cherry picked from commit 9ed3de486a47dfc8598e73157bccd76ff518048b) Change-Id: If85503592945bd5967e03ab429f5973dac0c65f7 Reviewed-on: http://git-master/r/62696 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R75e0a2682ffd4d007722eaabe19c9cb20d27a9b7
2011-07-26NFC: pn533: use after free in pn533_disconnect()Dan Carpenter
We freed "dev" on the line before. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-07-05NFC: pn533: add NXP pn533 nfc device driverAloisio Almeida Jr
Signed-off-by: Lauro Ramos Venancio <lauro.venancio@openbossa.org> Signed-off-by: Aloisio Almeida Jr <aloisio.almeida@openbossa.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-07-05NFC: add nfc subsystem coreLauro Ramos Venancio
The NFC subsystem core is responsible for providing the device driver interface. It is also responsible for providing an interface to the control operations and data exchange. Signed-off-by: Lauro Ramos Venancio <lauro.venancio@openbossa.org> Signed-off-by: Aloisio Almeida Jr <aloisio.almeida@openbossa.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-02-25drivers/nfc/pn544.c: add missing regulatorMatti J. Aaltonen
The regulator framework is used for power management. The regulators are only named in the driver code, the actual control stuff is in the board file for each architecture or use case. The PN544 chip has three regulators that can be controlled or not - depending on the architecture where the chip is being used. So some of the regulators may not be controllable. In our current case the third regulator, which was missing from the code, went unnoticed because we didn't need to control it. To be as general as possible - in this respect - the driver needs to list all regulators. Then the board file can be used to actually set the usage. Signed-off-by: Matti J. Aaltonen <matti.j.aaltonen@nokia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-02-25drivers/nfc/Kconfig: use full form of the NFC acronymMatti J. Aaltonen
Spell out the NFC acronym when it's shown for the first time. Signed-off-by: Matti J. Aaltonen <matti.j.aaltonen@nokia.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-16drivers/nfc/pn544.c: fix min_t warningsAndrew Morton
Fix these: drivers/nfc/pn544.c: In function 'pn544_read': drivers/nfc/pn544.c:356: warning: comparison of distinct pointer types lacks a cast drivers/nfc/pn544.c:377: warning: comparison of distinct pointer types lacks a cast drivers/nfc/pn544.c: In function 'pn544_write': drivers/nfc/pn544.c:463: warning: comparison of distinct pointer types lacks a cast drivers/nfc/pn544.c:485: warning: comparison of distinct pointer types lacks a cast Cc: "Matti J. Aaltonen" <matti.j.aaltonen@nokia.com> Cc: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-13NFC: Driver for NXP Semiconductors PN544 NFC chip.Matti J. Aaltonen
Creates a new "Near Field Communication" subsystem in drivers/nfc. http://en.wikipedia.org/wiki/Near_Field_Communication is useful ;) This is a driver for the pn544 NFC device. The driver transfers ETSI messages between the device and the user space. Signed-off-by: Matti J. Aaltonen <matti.j.aaltonen@nokia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>