staging/lustre/libcfs: Fix kstrtouint return value check fix
[linux-2.6/btrfs-unstable.git] / include / dt-bindings / pinctrl / nomadik.h
blob638fb321a1cb20a94c412e94a249a9e107aa4243
1 /*
2 * nomadik.h
4 * Copyright (C) ST-Ericsson SA 2013
5 * Author: Gabriel Fernandez <gabriel.fernandez@st.com> for ST-Ericsson.
6 * License terms: GNU General Public License (GPL), version 2
7 */
9 #define INPUT_NOPULL 0
10 #define INPUT_PULLUP 1
11 #define INPUT_PULLDOWN 2
13 #define OUTPUT_LOW 0
14 #define OUTPUT_HIGH 1
15 #define DIR_OUTPUT 2
17 #define SLPM_DISABLED 0
18 #define SLPM_ENABLED 1
20 #define SLPM_INPUT_NOPULL 0
21 #define SLPM_INPUT_PULLUP 1
22 #define SLPM_INPUT_PULLDOWN 2
23 #define SLPM_DIR_INPUT 3
25 #define SLPM_OUTPUT_LOW 0
26 #define SLPM_OUTPUT_HIGH 1
27 #define SLPM_DIR_OUTPUT 2
29 #define SLPM_WAKEUP_DISABLE 0
30 #define SLPM_WAKEUP_ENABLE 1
32 #define GPIOMODE_DISABLED 0
33 #define GPIOMODE_ENABLED 1
35 #define SLPM_PDIS_DISABLED 0
36 #define SLPM_PDIS_ENABLED 1