Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / include / dt-bindings / pinctrl / nomadik.h
blobfa24565e00094164d3ce3d65cbea0a88c36ed30a
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * nomadik.h
5 * Copyright (C) ST-Ericsson SA 2013
6 * Author: Gabriel Fernandez <gabriel.fernandez@st.com> for ST-Ericsson.
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