mirror of
https://github.com/openharmony/third_party_Linux_Kernel.git
synced 2026-08-24 23:51:31 -04:00
7a09b52600
Change-Id: I8420a745de2a76dd4c0ea79b24da12653cbe7b52
17 lines
373 B
C
17 lines
373 B
C
#include <linux/types.h>
|
|
|
|
/* platform data for the PL061 GPIO driver */
|
|
|
|
struct pl061_platform_data {
|
|
/* number of the first GPIO */
|
|
unsigned gpio_base;
|
|
|
|
/* number of the first IRQ.
|
|
* If the IRQ functionality in not desired this must be set to 0.
|
|
*/
|
|
unsigned irq_base;
|
|
|
|
u8 directions; /* startup directions, 1: out, 0: in */
|
|
u8 values; /* startup values */
|
|
};
|