intel_pmic_gpio.h 372 B

12345678910111213141516
  1. #ifndef LINUX_INTEL_PMIC_H
  2. #define LINUX_INTEL_PMIC_H
  3. struct intel_pmic_gpio_platform_data {
  4. /* the first IRQ of the chip */
  5. unsigned irq_base;
  6. /* number assigned to the first GPIO */
  7. unsigned gpio_base;
  8. /* sram address for gpiointr register, the langwell chip will map
  9. * the PMIC spi GPIO expander's GPIOINTR register in sram.
  10. */
  11. unsigned gpiointr;
  12. };
  13. #endif