st21nfca.h 1014 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Driver include for the ST21NFCA NFC chip.
  3. *
  4. * Copyright (C) 2014 STMicroelectronics SAS. All rights reserved.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms and conditions of the GNU General Public License,
  8. * version 2, as published by the Free Software Foundation.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program; if not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef _ST21NFCA_HCI_H_
  19. #define _ST21NFCA_HCI_H_
  20. #include <linux/i2c.h>
  21. #define ST21NFCA_HCI_DRIVER_NAME "st21nfca_hci"
  22. struct st21nfca_nfc_platform_data {
  23. unsigned int gpio_ena;
  24. unsigned int irq_polarity;
  25. bool is_ese_present;
  26. bool is_uicc_present;
  27. };
  28. #endif /* _ST21NFCA_HCI_H_ */