linux/drivers/nfc
Thierry Escande 0347a6ab30 NFC: port100: Commands mechanism implementation
This patch implements the command handling mechanism. The digital stack
serializes all commands sent to the driver. This means that the digital
stack waits for the reply of the current command before sending a new
one. So there is no command queue managed at driver level.

All Port-100 commands are asynchronous. If the command has been sent
successfully to the device, it replies with an ACK frame. Then the
command response is received (or actually no-response in case of
timeout or error) and a command complete work on the system workqueue
is responsible for sending the response (or the error) back to the
digital stack.

The digital stack requires some commands to be synchronous, mainly
hardware configuration ones. These commands use the asynchronous
command path but are made synchronous by using a completion object.

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Cc: Stephen Tiedemann <stephen.tiedemann@gmail.com>
Tested-by: Cho, Yu-Chen <acho@suse.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2013-10-07 14:10:52 +02:00
..
microread NFC: Standardize logging style 2013-09-25 01:35:39 +02:00
pn544 NFC: Standardize logging style 2013-09-25 01:35:39 +02:00
Kconfig NFC: Sony Port-100 Series driver 2013-10-07 14:09:33 +02:00
Makefile NFC: Sony Port-100 Series driver 2013-10-07 14:09:33 +02:00
mei_phy.c NFC: Standardize logging style 2013-09-25 01:35:39 +02:00
mei_phy.h NFC: mei: Add a common mei bus API for NFC drivers 2013-04-16 00:39:31 +02:00
nfcsim.c NFC: Convert nfc_dev_info and nfc_dev_err to nfc_<level> 2013-09-25 01:35:39 +02:00
nfcwilink.c NFC: nfcwilink: Remove redundant dev_set_drvdata 2013-09-25 02:02:37 +02:00
pn533.c NFC: pn533: Target mode Tx fragmentation support 2013-09-25 16:02:24 +02:00
port100.c NFC: port100: Commands mechanism implementation 2013-10-07 14:10:52 +02:00