]> 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)
commitce28b7466da68b265984f925194888b60074c084
treef9ce9c5fb33baf771ad4776e241fd1a08c5a0391
parentb69e24b5fcdb20d2e9304dc2a9aea797e230ae87
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