<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/nfc/trf7970a.c, branch linux-5.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-06-05T15:37:15Z</updated>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 417</title>
<updated>2019-06-05T15:37:15Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-06-01T08:08:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8fba24537d31b18a2cd1443a6ab09476aec20bdf'/>
<id>urn:sha1:8fba24537d31b18a2cd1443a6ab09476aec20bdf</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 of
  the license as published by the free software foundation

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 1 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Reviewed-by: Armijn Hemel &lt;armijn@tjaldur.nl&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190531190113.328655274@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Correct register settings for 27MHz clock</title>
<updated>2017-06-28T07:16:54Z</updated>
<author>
<name>Geoff Lansberry</name>
</author>
<published>2017-04-27T21:28:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd751808f9ff5e1822c627f6c4283009e66b2e53'/>
<id>urn:sha1:bd751808f9ff5e1822c627f6c4283009e66b2e53</id>
<content type='text'>
In prior commits the selected clock frequency does not propagate
correctly to what is written to the TRF7970A_MODULATOR_SYS_CLK_CTRL
register.

Signed-off-by: Geoff Lansberry &lt;geoff@kuvee.com&gt;
Acked-by: Mark Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Revert "NFC: trf7970a: Handle extra byte in response to Type 5 RMB commands"</title>
<updated>2017-06-22T22:20:00Z</updated>
<author>
<name>Mark Greer</name>
</author>
<published>2017-06-15T17:46:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a81d1ab3cad77e20c2df8baef0a35a4980fc511c'/>
<id>urn:sha1:a81d1ab3cad77e20c2df8baef0a35a4980fc511c</id>
<content type='text'>
This reverts commit ab714817d7e891608d31f6996b1e4c43cf2bf342.

The original commit was designed to handle a bug in the trf7970a NFC
controller where an extra byte was returned in Read Multiple Blocks (RMB)
command responses.  However, it has become less clear whether it is a bug
in the trf7970a or in the tag.  In addition, it was assumed that the extra
byte was always returned but it turns out that is not always the case. The
result is that a byte of good data is trimmed off when the extra byte is
not present ultimately causing the neard deamon to fail the read.

Since the trf7970a driver does not have the context to know when to trim
the byte or not, remove the code from the trf7970a driver all together
(and move it up to the neard daemon).  This has the added benefit of
simplifying the kernel driver and putting the extra complexity into
userspace.

CC: Rob Herring &lt;robh@kernel.org&gt;
CC: devicetree@vger.kernel.org
Signed-off-by: Mark Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: fix check of clock frequencies, use &amp;&amp; instead of ||</title>
<updated>2017-06-22T21:59:01Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2017-04-24T13:36:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1038535106e73e48204ec3bfe5a428fe6cb35cb'/>
<id>urn:sha1:e1038535106e73e48204ec3bfe5a428fe6cb35cb</id>
<content type='text'>
The "or" condition (clk_freq != TRF7970A_27MHZ_CLOCK_FREQUENCY) ||
(clk_freq != TRF7970A_13MHZ_CLOCK_FREQUE) will always be true because
clk_freq cannot be equal to two different values at the same time. Use
the  &amp;&amp; operator instead of || to fix this.

Detected by CoverityScan, CID#1430468 ("Constant expression result")

Fixes: 837eb4d21ecde7 ("NFC: trf7970a: add device tree option for 27MHz clock")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Acked-by: Geoff Lansberry &lt;geoff@kuvee.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Clean up coding style issues</title>
<updated>2017-06-18T21:57:58Z</updated>
<author>
<name>Mark Greer</name>
</author>
<published>2017-04-25T22:43:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2f0f67108a8f8ec23e2e530a1a52c97595a6f96'/>
<id>urn:sha1:e2f0f67108a8f8ec23e2e530a1a52c97595a6f96</id>
<content type='text'>
Clean up coding style issues according to scripts/Lindent.
Some scripts/Lindent changes were reverted when it appeared
to make the code less readable or when it made the line run
over 80 characters.

Signed-off-by: Mark Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Convert to descriptor based GPIO interface</title>
<updated>2017-06-18T21:57:58Z</updated>
<author>
<name>Mark Greer</name>
</author>
<published>2017-04-25T22:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d34e48d6a62a06eb7f72c7dc534c4c318a163dad'/>
<id>urn:sha1:d34e48d6a62a06eb7f72c7dc534c4c318a163dad</id>
<content type='text'>
The trf7970a driver uses the deprecated integer-based GPIO consumer
interface so convert it to use the new descriptor-based GPIO
consumer interface.

Signed-off-by: Mark Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Remove support for 'vin-voltage-override' DT property</title>
<updated>2017-06-18T21:57:58Z</updated>
<author>
<name>Mark Greer</name>
</author>
<published>2017-04-25T22:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a34631c2723797dd31e6f83538899eeb4c03b753'/>
<id>urn:sha1:a34631c2723797dd31e6f83538899eeb4c03b753</id>
<content type='text'>
The 'vin-voltage-override' DT property is used by the trf7970a
driver to override the voltage presented to the driver by the
regulator subsystem.  This is unnecessary as properly specifying
the regulator chain via DT properties will accomplish the same
thing.  Therefore, remove support for 'vin-voltage-override'.

Signed-off-by: Mark Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Remove useless comment</title>
<updated>2017-06-18T21:57:58Z</updated>
<author>
<name>Mark Greer</name>
</author>
<published>2017-04-25T22:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fcc652f6885cd37a0c3f3b1ed572d3544c3240c4'/>
<id>urn:sha1:fcc652f6885cd37a0c3f3b1ed572d3544c3240c4</id>
<content type='text'>
The last entry in the trf7970a_of_match[] table must be an empty
entry to demarcate the end of the table.  Currently, there is a
comment indicating this but it is obvious so remove the comment.

Signed-off-by: Mark Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Only check 'en2-rf-quirk' if EN2 is specified</title>
<updated>2017-06-18T21:57:58Z</updated>
<author>
<name>Mark Greer</name>
</author>
<published>2017-04-25T22:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afcb9fbdba71cd39daefaff1e288472565df6af2'/>
<id>urn:sha1:afcb9fbdba71cd39daefaff1e288472565df6af2</id>
<content type='text'>
The quirk indicated by the 'en2-rf-quirk' device tree property
is only relevant when there is a GPIO connected to the EN2 pin
of the trf7970a. This means we should only check for 'en2-rf-quirk'
when EN2 is specified in the 'ti,enable-gpios' property of the
device tree.

Signed-off-by: Mark Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: trf7970a: Fix inaccurate comment in trf7970a_probe()</title>
<updated>2017-06-18T21:57:57Z</updated>
<author>
<name>Mark Greer</name>
</author>
<published>2017-04-25T22:43:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69f984f037a869477cac654a834e8b5435bb35b6'/>
<id>urn:sha1:69f984f037a869477cac654a834e8b5435bb35b6</id>
<content type='text'>
As of commit ce69b95ca4e4 ("NFC: Make EN2 pin optional in the
TRF7970A driver"), only the GPIO for the 'EN' enable pin needs
to be specified in the device tree so update the comments that
says both 'EN' and 'EN2' must be specified.

Signed-off-by: Mark Greer &lt;mgreer@animalcreek.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
</feed>
