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
10 #define INPUT_PULLUP 1
11 #define INPUT_PULLDOWN 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