blob: 0949c9bfcda13c2a41f6770e909205ac18ce2d2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*
* Copyright (C) ST-Ericsson SA 2011
*
* License terms: GNU General Public License (GPL) version 2
*/
#ifndef __BOARD_PINS_SLEEP_FORCE_H
#define __BOARD_PINS_SLEEP_FORCE_H
#include <plat/pincfg.h>
#define NMK_GPIO_PER_CHIP 32
#define GPIO_BLOCK_SHIFT 5
#define GPIO_IS_NOT_CHANGED 0
#define GPIO_IS_INPUT 1
#define GPIO_IS_OUTPUT 2
#define GPIO_WAKEUP_IS_ENABLED 0
#define GPIO_WAKEUP_IS_DISBLED 1
#define GPIO_IS_NO_CHANGE 0
#define GPIO_IS_OUTPUT_LOW 1
#define GPIO_IS_OUTPUT_HIGH 2
#define GPIO_PULL_NO_CHANGE 0
#define GPIO_PULL_UPDOWN_DISABLED 1
#define GPIO_IS_PULLUP 2
#define GPIO_IS_PULLDOWN 3
#define GPIO_PDIS_NO_CHANGE 0
#define GPIO_PDIS_DISABLED 1
#define GPIO_PDIS_ENABLED 2
void sleep_pins_config_pm_mux(pin_cfg_t *cfgs, int num);
void sleep_pins_config_pm(pin_cfg_t *cfgs, int num);
#endif
|