<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/nfc/st21nfca, branch linux-4.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-06-01T19:17:59Z</updated>
<entry>
<title>nfc: st21nfca: Fix static checker warning</title>
<updated>2016-06-01T19:17:59Z</updated>
<author>
<name>Christophe Ricard</name>
</author>
<published>2016-04-30T07:12:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=823d081963764a582087d3ee5ae68d22b7b20f49'/>
<id>urn:sha1:823d081963764a582087d3ee5ae68d22b7b20f49</id>
<content type='text'>
commit b58afe6d6d3a53af165d5946f12c4b08c95acd58 upstream.

Fix static checker warning:
drivers/nfc/st21nfca/i2c.c:530 st21nfca_hci_i2c_acpi_request_resources()
error: 'gpiod_ena' dereferencing possible ERR_PTR()

Fix so that if no enable gpio can be retrieved an -ENODEV is returned.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Fixes: dfa8070d7f64 ("nfc: st21nfca: Add support for acpi probing for i2c device.")
Signed-off-by: Christophe Ricard &lt;christophe-h.ricard@st.com&gt;
Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>nfc: st21nfca: Add support for HCI event connectivity</title>
<updated>2015-12-29T18:06:20Z</updated>
<author>
<name>Christophe Ricard</name>
</author>
<published>2015-12-23T22:45:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72c54c42b2943985505966ece29f2d45b0330f26'/>
<id>urn:sha1:72c54c42b2943985505966ece29f2d45b0330f26</id>
<content type='text'>
Add support for connectivity event

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: st21nfca: Auto-select core module</title>
<updated>2015-12-29T18:06:19Z</updated>
<author>
<name>Christophe Ricard</name>
</author>
<published>2015-12-23T22:45:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dfa4089b3a3f3ac8bea847f968c92b89fbbf107c'/>
<id>urn:sha1:dfa4089b3a3f3ac8bea847f968c92b89fbbf107c</id>
<content type='text'>
The core st21nca module is useless without the I2C access module.
So hide NFC_ST21NFCA and select it automatically if either
NFC_ST21NFCA_I2C is selected.

This avoids presenting NFC_ST21NFCA when NFC_ST21NFCA_I2C can't be
selected.

Cc: Jean Delvare &lt;jdelvare@suse.de&gt;
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: st21nfca: Remove useless pr_info in st21nfca_hci_i2c_disable</title>
<updated>2015-12-29T18:06:18Z</updated>
<author>
<name>Christophe Ricard</name>
</author>
<published>2015-12-23T22:45:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4940d1c35535c32e6d6e950d91efa485eab41d76'/>
<id>urn:sha1:4940d1c35535c32e6d6e950d91efa485eab41d76</id>
<content type='text'>
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: st21nfca: Code cleanup</title>
<updated>2015-12-29T18:06:18Z</updated>
<author>
<name>Christophe Ricard</name>
</author>
<published>2015-12-23T22:45:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6e57ec6d96914d874b8809e0e1432a4dff23e45'/>
<id>urn:sha1:a6e57ec6d96914d874b8809e0e1432a4dff23e45</id>
<content type='text'>
A few code cleanups, mostly empty lines removal.

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: st21nfca: Add support for acpi probing for i2c device.</title>
<updated>2015-12-29T18:06:17Z</updated>
<author>
<name>Christophe Ricard</name>
</author>
<published>2015-12-23T22:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dfa8070d7f641e1fb1b5e5fe643faddfa4869e07'/>
<id>urn:sha1:dfa8070d7f641e1fb1b5e5fe643faddfa4869e07</id>
<content type='text'>
Add support for acpi probing.
SMO2100 is used for st21nfca

It has been tested with the following acpi node on Minnowboard Max:
Note: Remove uicc-present or ese-present Package if one them is not
supported.

Device (NFC1)
{
	Name (_ADR, Zero)  // _ADR: Address
	Name (_HID, "SMO2100")  // _HID: Hardware ID
	Name (_CID, "SMO2100")  // _CID: Compatible ID
	Name (_DDN, "SMO NFC")  // _DDN: DOS Device Name
	Name (_UID, One)  // _UID: Unique ID
	Name (_DSD, Package (0x02)
	{
		/* Device Properties for _DSD */
		ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
		Package (0x02)
		{
			Package (0x02) { "uicc-present", 1 },
			Package (0x02) { "ese-present", 1 }
		}
	})
	Method (_CRS, 0, NotSerialized)  // _CRS: Current Resource Settings
	{
		Name (SBUF, ResourceTemplate ()
		{
			I2cSerialBus (0x0001, ControllerInitiated, 400000,
				      AddressingMode7Bit, "\\_SB.I2C7",
				      0x00, ResourceConsumer, ,)
			GpioInt (Edge, ActiveHigh, ExclusiveAndWake, PullNone, 0x0000,
				 "\\_SB.GPO2", 0x00, ResourceConsumer, ,)
			{       // Pin list
				0x0001
			}
			GpioIo (Exclusive, PullDefault, 0x0000, 0x0000, IoRestrictionOutputOnly,
				"\\_SB.GPO2", 0x00, ResourceConsumer, ,)
			{       // Pin list
				0x0002,
			}
		})
		Return (SBUF) /* \_SB_.I2C7.NFC1._CRS.SBUF */
	}
	Method (_STA, 0, NotSerialized)  // _STA: Status
	{
		Return (0x0F)
	}
}

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: st21nfca: Add macro for gpio name</title>
<updated>2015-12-29T18:06:16Z</updated>
<author>
<name>Christophe Ricard</name>
</author>
<published>2015-12-23T22:45:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04e99b71fe6e96476884b0e6d50bfe421dee9960'/>
<id>urn:sha1:04e99b71fe6e96476884b0e6d50bfe421dee9960</id>
<content type='text'>
Add macro definition for each gpio string for an easier code
maintenance.

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: st21nfca: Group device table together</title>
<updated>2015-12-29T18:06:15Z</updated>
<author>
<name>Christophe Ricard</name>
</author>
<published>2015-12-23T22:45:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39db2d214898baa55db39a54f8644ffc0535fe4a'/>
<id>urn:sha1:39db2d214898baa55db39a54f8644ffc0535fe4a</id>
<content type='text'>
Group device table at the same place in order to make the code
easier to read and parse.

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: st21nfca: Remove unneeded CONFIG_OF switches</title>
<updated>2015-12-29T18:06:13Z</updated>
<author>
<name>Christophe Ricard</name>
</author>
<published>2015-12-23T22:45:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9135177fb6cda166c2f4b1f5441a2cefedcbf034'/>
<id>urn:sha1:9135177fb6cda166c2f4b1f5441a2cefedcbf034</id>
<content type='text'>
DT headers already define NOOP routines when CONFIG_OF is not
defined.

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: st21nfca: Add support for proprietary commands</title>
<updated>2015-10-27T03:00:24Z</updated>
<author>
<name>Christophe Ricard</name>
</author>
<published>2015-10-26T06:50:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=15d17170b4e44c5768c3d32b093cd393c4dbc158'/>
<id>urn:sha1:15d17170b4e44c5768c3d32b093cd393c4dbc158</id>
<content type='text'>
Add support for proprietary commands useful mainly
for factory testings.

Here is a list:

- FACTORY_MODE: Allow to set the driver into a mode where no
  secure element are activated. It does not consider any
  NFC_ATTR_VENDOR_DATA.
- HCI_CLEAR_ALL_PIPES: Allow to execute a HCI clear all pipes
  command. It does not consider any NFC_ATTR_VENDOR_DATA.
- HCI_DM_PUT_DATA: Allow to configure specific CLF registry as
  for example RF trimmings or low level drivers configurations
  (I2C, SPI, SWP).
- HCI_DM_UPDATE_AID: Allow to configure an AID routing into the
  CLF routing table following RF technology, CLF mode or protocol.
- HCI_DM_GET_INFO: Allow to retrieve CLF information.
- HCI_DM_GET_DATA: Allow to retrieve CLF configurable data such as
  low level drivers configurations or RF trimmings.
- HCI_DM_LOAD: Allow to load a firmware into the CLF. A complete
  packet can be more than 8KB.
- HCI_DM_RESET: Allow to run a CLF reset in order to "commit" CLF
  configuration changes without CLF power off.
- HCI_GET_PARAM: Allow to retrieve an HCI CLF parameter (for example
  the white list).
- HCI_DM_FIELD_GENERATOR: Allow to generate different kind of RF
  technology. When using this command to anti-collision is done.
- HCI_LOOPBACK: Allow to echo a command and test the Dh to CLF
  connectivity.

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>
