]> git.karo-electronics.de Git - karo-tx-linux.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)
commit1195d89b2defd92829ed54938e60312e62dc8747
treeade660adcea4217cf1af401d4ec0b078fe6d3860
parent3ed1326d2e693d555e62241c2e2209f01506214e
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