xtensa: fix high memory/reserved memory collision
[cris-mirror.git] / include / linux / platform_data / gpio-ts5500.h
blobb10d11c9bb494c62d1a686f5ea2cbb0c60ecbc0b
1 /*
2 * GPIO (DIO) header for Technologic Systems TS-5500
4 * Copyright (c) 2012 Savoir-faire Linux Inc.
5 * Vivien Didelot <vivien.didelot@savoirfairelinux.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 #ifndef _PDATA_GPIO_TS5500_H
13 #define _PDATA_GPIO_TS5500_H
15 /**
16 * struct ts5500_dio_platform_data - TS-5500 pin block configuration
17 * @base: The GPIO base number to use.
18 * @strap: The only pin connected to an interrupt in a block is input-only.
19 * If you need a bidirectional line which can trigger an IRQ, you
20 * may strap it with an in/out pin. This flag indicates this case.
22 struct ts5500_dio_platform_data {
23 int base;
24 bool strap;
27 #endif /* _PDATA_GPIO_TS5500_H */