]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: trf7970a: Allow different Modulator and SYS_CLK Control register values
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 25 Mar 2014 15:54:35 +0000 (08:54 -0700)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 21 Apr 2014 22:37:27 +0000 (00:37 +0200)
commit37bea6f4197328aa83055cccfeef6b3da3b4a5fa
treef9ce9c5fb33baf771ad4776e241fd1a08c5a0391
parentd6b7d0df5b96505333a9d2a0270c0a9df187d2dd
NFC: trf7970a: Allow different Modulator and SYS_CLK Control register values

Currently the driver writes the same value to the 'Modulator and SYS_CLK
Control' register no matter what RF technology is being used. That works
for now but new RF technologies (e.g., ISO/IEC 14443-B) will require
different values to be written to that register. To support this, add a
member to the trf7970a structure which is set by the RF technology handling
code and used by the framing code when it writes to that register.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c