Letux Kernel

Issue 431: Add driver for TRF7970 (NFC/RFID)

Reported by Nikolaus Schaller, Mar 24, 2013

some Custom Variants of the GTA04 can carry a TRF7960/7970 chip.

A prototype driver is available in the GTA04 u-boot and needs to be 
adapted to the kernel i/o and interrupt and timer structures: 

http://git.goldelico.com/?p=gta04-uboot.git;a=blob;f=u-boot/board/gol
delico/gta04b2/trf7960.c;hb=HEAD

A data interface has to be choosen to easily allow to present the 
list of available tag IDs to the user space and to allow to 
read/write RFID EEPROMs.

Preliminary code exists in the deprecated hw-validation kernel tree:

http://git.goldelico.com/?p=gta04-kernel.git;a=blob;f=drivers/misc/tr
f7960.c;h=60c211af0913f162b057030572b972ca3ff57555;hb=refs/heads/hw-v
alidation

Comment 1 by Nikolaus Schaller, Jan 10, 2014

Labels: Device:GTA04b2

Comment 2 by Nikolaus Schaller, Jan 10, 2014

added label

Comment 3 by Nikolaus Schaller, Jan 10, 2014

Owner: hns

Comment 4 by Nikolaus Schaller, Dec 30, 2014

Good news! TRF7970A is now supported by the kernel:

https://www.kernel.org/doc/Documentation/devicetree/bindings/net/nfc/
trf7970a.txt

There is also an example how to define the bindings for a 
BeagleBone. So the diffs to the GTA04b2 should not be big.

Comment 5 by Nikolaus Schaller, Dec 17, 2016

DT support for GTA04b2 has been added but nothing tested.
Status: Started

Created: 6 years 10 months ago by Nikolaus Schaller

Updated: 3 years 2 months ago

Status: Started

Owner: Nikolaus Schaller

Labels:
Priority:Medium
Type:Enhancement
Device:GTA04b2