nfcmrvl.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Copyright (C) 2015, Marvell International Ltd.
  3. *
  4. * This software file (the "File") is distributed by Marvell International
  5. * Ltd. under the terms of the GNU General Public License Version 2, June 1991
  6. * (the "License"). You may use, redistribute and/or modify this File in
  7. * accordance with the terms and conditions of the License, a copy of which
  8. * is available on the worldwide web at
  9. * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
  10. *
  11. * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
  12. * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
  13. * ARE EXPRESSLY DISCLAIMED. The License provides additional details about
  14. * this warranty disclaimer.
  15. */
  16. #ifndef _NFCMRVL_PTF_H_
  17. #define _NFCMRVL_PTF_H_
  18. struct nfcmrvl_platform_data {
  19. /*
  20. * Generic
  21. */
  22. /* GPIO that is wired to RESET_N signal */
  23. unsigned int reset_n_io;
  24. /* Tell if transport is muxed in HCI one */
  25. unsigned int hci_muxed;
  26. /*
  27. * UART specific
  28. */
  29. /* Tell if UART needs flow control at init */
  30. unsigned int flow_control;
  31. /* Tell if firmware supports break control for power management */
  32. unsigned int break_control;
  33. /*
  34. * I2C specific
  35. */
  36. unsigned int irq;
  37. unsigned int irq_polarity;
  38. };
  39. #endif /* _NFCMRVL_PTF_H_ */