gpio-rcar.h 748 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Renesas R-Car GPIO Support
  3. *
  4. * Copyright (C) 2013 Magnus Damm
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License
  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. #ifndef __GPIO_RCAR_H__
  16. #define __GPIO_RCAR_H__
  17. struct gpio_rcar_config {
  18. unsigned int gpio_base;
  19. unsigned int irq_base;
  20. unsigned int number_of_pins;
  21. const char *pctl_name;
  22. };
  23. #endif /* __GPIO_RCAR_H__ */