<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/nfc/st21nfcb, branch master</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-06-10T10:51:44Z</updated>
<entry>
<title>nfc: st-nci: Rename st21nfcb to st-nci</title>
<updated>2015-06-10T10:51:44Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-09T20:26:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ed06aeefdac348cfb91a3db5fe1067e3202afd70'/>
<id>urn:sha1:ed06aeefdac348cfb91a3db5fe1067e3202afd70</id>
<content type='text'>
STMicroelectronics NFC NCI chips family is extending
with the new ST21NFCC using the AMS AS39230 RF booster.
The st21nfcb driver is relevant for this solution and
might be with future products.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: st21nfcb: Configure CLF with NCI proprietary command</title>
<updated>2015-06-08T22:34:26Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=41fc2f50a7a2bfef1deaf78107a4d7b5bf4bd7a5'/>
<id>urn:sha1:41fc2f50a7a2bfef1deaf78107a4d7b5bf4bd7a5</id>
<content type='text'>
In order to prevent any NFC feature when NFC is disable and
to save power, (down to 4uA) put the CLF in hibernate mode
with RF deactivated.
Add the equivalent to enable the NFC feature when initiating
the st21nfcb driver.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: st21nfcb: disable irq when st21nfcb is disabled</title>
<updated>2015-06-08T22:34:26Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=05f0939f76659260763d31890cb962e8d6060038'/>
<id>urn:sha1:05f0939f76659260763d31890cb962e8d6060038</id>
<content type='text'>
When st21nfcb is disabled, the irq line may remain active
while no data are available, flooding the system with
irrelevant i2c transaction.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: st21nfcb: Move powered flag from phy to ndlc layer</title>
<updated>2015-06-08T22:34:25Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=183fe2d06dba2f45ae47360cdb911f95551917ed'/>
<id>urn:sha1:183fe2d06dba2f45ae47360cdb911f95551917ed</id>
<content type='text'>
The powered flag can be set from the ndlc_open and ndlc_close layer.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: st21nfcb: Move st21nfcb_nci_remove in ndlc_remove</title>
<updated>2015-06-08T22:34:25Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e8b72c205e5e02b6574be1e83c0c8c99335f8288'/>
<id>urn:sha1:e8b72c205e5e02b6574be1e83c0c8c99335f8288</id>
<content type='text'>
Removing st21nfcb may need to execute some specific commands before
stopping the ndlc state machine.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: st21nfcb: Add support for nci proprietary commands</title>
<updated>2015-06-08T22:34:24Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dbd70b4046c8cdb7c8f5ffea9bdcae1a35e24df4'/>
<id>urn:sha1:dbd70b4046c8cdb7c8f5ffea9bdcae1a35e24df4</id>
<content type='text'>
On st21nfcb, nci proprietary commands are available to run
specific chip operations (for example: power management)

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: st21nfcb: Fix st21nfcb_nci_close</title>
<updated>2015-06-08T22:34:23Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cc1417eb24f154ed7a7cd8aa7018b80fa120b732'/>
<id>urn:sha1:cc1417eb24f154ed7a7cd8aa7018b80fa120b732</id>
<content type='text'>
When closing st21nfcb driver, flag ST21NFCB_NCI_RUNNING can be cleared
only once the ndlc and the transport (i2c or spi) layers are released.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: st21nfcb: Add ndlc_close in st21nfcb_nci_remove</title>
<updated>2015-06-08T22:34:23Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6628b09f03dfbe2d3d234f1c6e5dff8752182be0'/>
<id>urn:sha1:6628b09f03dfbe2d3d234f1c6e5dff8752182be0</id>
<content type='text'>
In order to release the st21nfcb properly close the ndlc
layer first.

Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: st21nfcb: remove st21nfcb_nci_i2c_disable</title>
<updated>2015-06-08T22:34:23Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4ac82e894825126816d7b7f662743335ce2b015e'/>
<id>urn:sha1:4ac82e894825126816d7b7f662743335ce2b015e</id>
<content type='text'>
ndlc_remove already calls st21nfcb_nci_i2c_disable and
phy-&gt;powered is already set to 0.

Cc: stable@vger.kernel.org
Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>NFC: st21nfcb: Do not remove header once the payload is sent</title>
<updated>2015-06-08T22:34:22Z</updated>
<author>
<name>Christophe Ricard</name>
<email>christophe.ricard@gmail.com</email>
</author>
<published>2015-06-06T11:16:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=09f39a950523b1bb830c30a8670b77e0067da092'/>
<id>urn:sha1:09f39a950523b1bb830c30a8670b77e0067da092</id>
<content type='text'>
Once the data is sent, we need to preserve the full frame for
the ndlc state machine. If the NDLC ACK is not received in time,
the ndlc layer will resend the same frame.
Having the header byte pulled will corrupt the frame.

Cc: stable@vger.kernel.org
Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
</content>
</entry>
</feed>
