Thread (1 message) 1 message, 1 author, 2015-06-09

Re: [PATCH] NFC: trf7970a: Handle extra byte in response to Type 5 RMB commands

From: Mark Greer <hidden>
Date: 2015-06-09 03:32:13

On Mon, Jun 08, 2015 at 11:18:21PM +0200, Samuel Ortiz wrote:
Hi Mark,

On Fri, Apr 24, 2015 at 10:37:22AM -0700, Mark A. Greer wrote:
quoted
The current versions of the trf7970a has an erratum where it returns
an extra byte in the response to 'Read Multiple Block' (RMB) commands.
This command is issued to Type 5 tags (i.e., ISO/IEC 15693 tags) by
the neard daemon.

To handle this, define a new Device Tree property,
't5t-rmb-extra-byte-quirk', which indicates that the associated
trf7970a device has this erratum.  The trf7970a device driver
will then ensure that the response length to RMB commands is
reduced by one byte (for devices with the erratum).

Signed-off-by: Mark A. Greer <mgreer-luAo+O/VEmrlveNOaEYElw@public.gmane.org>
---
 .../devicetree/bindings/net/nfc/trf7970a.txt       |  4 ++++
 drivers/nfc/trf7970a.c                             | 23 ++++++++++++++++++----
 2 files changed, 23 insertions(+), 4 deletions(-)
Applied to nfc-next, thanks.
Cool!  Thanks Samuel.

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help