]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Download TI NFC init script
authorIlan Elias <ilane@ti.com>
Tue, 17 Jan 2012 12:11:32 +0000 (14:11 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:21:56 +0000 (14:21 -0500)
commit53ed860abd59febc8b0fe060f5e07fb1451cad34
treeade660adcea4217cf1af401d4ec0b078fe6d3860
parent3061ce28bd5509154a7480745bfb88e3b5c8130b
NFC: Download TI NFC init script

Download TI NFC init script during nfcwilink open operation,
after the NFC channel is registered with TI shared transport.
TI NFC init script is written in BTS format.
First, read the chip version via a special vendor specific command.
Second, we request the relevant BTS file from the user space, and
then send the BTS commands to the chip.

Signed-off-by: Ilan Elias <ilane@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/nfc/nfcwilink.c