]> 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)
commit6f977f14d69c90370ac17d0c104651fef88b5322
treeade660adcea4217cf1af401d4ec0b078fe6d3860
parent8fc0df242b4edddf9102a687d1ea1157d040ea7b
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