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>
This commit is contained in:

committed by
Samuel Ortiz

parent
be73c2cbc8
commit
3648dc6d27
@@ -24,6 +24,8 @@
|
||||
struct st_nci_nfc_platform_data {
|
||||
unsigned int gpio_reset;
|
||||
unsigned int irq_polarity;
|
||||
bool is_ese_present;
|
||||
bool is_uicc_present;
|
||||
};
|
||||
|
||||
#endif /* _ST_NCI_H_ */
|
||||
|
Reference in New Issue
Block a user