sim_slot.h 513 B

1234567891011121314151617181920212223242526272829
  1. #ifdef CONFIG_CHECK_SIMSLOT_COUNT
  2. #include <linux/proc_fs.h>
  3. #include <linux/seq_file.h>
  4. #include <linux/i2c-gpio.h>
  5. #include <asm/gpio.h>
  6. /* below values would be change by H/W schematic of each model */
  7. #ifdef CONFIG_CHECK_SIMSLOT_COUNT_GPIO
  8. #define SIM_SLOT_PIN CONFIG_CHECK_SIMSLOT_COUNT_GPIO
  9. #else
  10. # CONFIG_CHECK_SIMSLOT_COUNT_GPIO is not defined
  11. #endif
  12. #define SINGLE_SIM_VALUE 1
  13. #define DUAL_SIM_VALUE 0
  14. enum
  15. {
  16. NO_SIM = 0,
  17. SINGLE_SIM,
  18. DUAL_SIM,
  19. TRIPLE_SIM
  20. };
  21. #endif