root/include/linux/platform_data/gpio-dwapb.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * Copyright(c) 2014 Intel Corporation.
   4  */
   5 
   6 #ifndef GPIO_DW_APB_H
   7 #define GPIO_DW_APB_H
   8 
   9 struct dwapb_port_property {
  10         struct fwnode_handle *fwnode;
  11         unsigned int    idx;
  12         unsigned int    ngpio;
  13         unsigned int    gpio_base;
  14         int             irq[32];
  15         bool            has_irq;
  16         bool            irq_shared;
  17 };
  18 
  19 struct dwapb_platform_data {
  20         struct dwapb_port_property *properties;
  21         unsigned int nports;
  22 };
  23 
  24 #endif

/* [<][>][^][v][top][bottom][index][help] */