* [PATCH v4 0/2] NFC: pn544_i2c: Add device-tree support to PN544
@ 2014-04-02 9:01 Clement Perrochaud
[not found] ` <060c5ba8ed98462d835a641ce8d83af9-fjMGVQzTDdguRZvghep3ngfhPeD8jYilXA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Clement Perrochaud @ 2014-04-02 9:01 UTC (permalink / raw)
To: linux-nfc-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
This patch brings device-tree support to the pn544_i2c device
driver.
It has been successfully tested on a BeagleBone Black board - a
common ARM-Based SoC - both as a module and built-in.
Testing involved enabling and disabling the chip, as well as
reading a Type 4 NFC tag. Firmware download has been tested
successfully but was only possible after heavy code modification
out of the scope of this patch.
The submission is broken into two patches: one for code itself and
the second for DTS documentation.
It is based on 48761f6db88da9e733e4405ce9842c0769e4d4ac
(NFC: st21nfca: Implement load_session HCI hook) from the nfc-next master
branch.
Changes from v3:
- Better handling of errors in case of absence of both platform-data and
device-tree.
- Implementation of Open Firmware interrupts.
- Modification if the compatible string to fit device-tree guidelines.
- Modification of the properties to fit device-tree naming conventions.
Changes from v2:
- Forgotten documentation patch has been added.
- pn544_hci_i2c_of_request_resources is now static and takes a struct
i2c_client as argument instead of a struct pn544_i2c_phy.
- Spacing around operators has been added.
- Test for device-tree use instead of platform data has been improved.
Changes from v1:
- Incorrect resource freeing on module removal has been fixed.
- Compatibility table variable name has been corrected to match
standard pattern.
Clément Perrochaud (2):
NFC: pn544_i2c: Add device-tree (Open Firmware) support to PN544
NFC: pn544_i2c: Add DTS Documentation
.../devicetree/bindings/net/nfc/pn544.txt | 35 +++++
drivers/nfc/pn544/i2c.c | 148 ++++++++++++++++++---
2 files changed, 166 insertions(+), 17 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/nfc/pn544.txt
--
1.9.1
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-nfc] [PATCH v4 0/2] NFC: pn544_i2c: Add device-tree support to PN544
[not found] ` <060c5ba8ed98462d835a641ce8d83af9-fjMGVQzTDdguRZvghep3ngfhPeD8jYilXA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
@ 2014-04-06 23:14 ` Samuel Ortiz
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Ortiz @ 2014-04-06 23:14 UTC (permalink / raw)
To: Clement Perrochaud
Cc: linux-nfc-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Hi Clement,
On Wed, Apr 02, 2014 at 09:01:05AM +0000, Clement Perrochaud wrote:
> Clément Perrochaud (2):
> NFC: pn544_i2c: Add device-tree (Open Firmware) support to PN544
> NFC: pn544_i2c: Add DTS Documentation
Both patches applied to nfc-next, thanks a lot.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-06 23:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-02 9:01 [PATCH v4 0/2] NFC: pn544_i2c: Add device-tree support to PN544 Clement Perrochaud
[not found] ` <060c5ba8ed98462d835a641ce8d83af9-fjMGVQzTDdguRZvghep3ngfhPeD8jYilXA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2014-04-06 23:14 ` [linux-nfc] " Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).