OSDN Git Service

NFC: st-nci: Add ese-present/uicc-present dts properties
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:39 +0000 (22:54 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 27 Oct 2015 02:55:10 +0000 (03:55 +0100)
commit3648dc6d27f648b8e3ce9b48874627a833d53c3a
tree196aee67d701a3856d0ca3bfed0d43f1de20d0c6
parentbe73c2cbc857a4a3424c0e3cdd70002d5a27a756
NFC: st-nci: Add ese-present/uicc-present dts properties

In order to align with st21nfca, dts configuration properties
ese_present and uicc_present are made available in st-nci driver.

So far, in early development firmware, because
nci_nfcee_mode_set(DISABLE) was not supported we had to try to
enable it during the secure element discovery phase.

After several trials on commercial and qualified firmware it appears
that nci_nfcee_mode_set(ENABLE) and nci_nfcee_mode_set(DISABLE) are
properly supported.

Such feature also help us to eventually save some time (~5ms) when
only one secure element is connected.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Documentation/devicetree/bindings/net/nfc/st-nci-i2c.txt
Documentation/devicetree/bindings/net/nfc/st-nci-spi.txt
drivers/nfc/st-nci/core.c
drivers/nfc/st-nci/i2c.c
drivers/nfc/st-nci/ndlc.c
drivers/nfc/st-nci/ndlc.h
drivers/nfc/st-nci/se.c
drivers/nfc/st-nci/spi.c
drivers/nfc/st-nci/st-nci.h
include/linux/platform_data/st-nci.h