Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Samsung S5PV210 DTS pinctrl constants
0004  *
0005  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
0006  *      http://www.samsung.com
0007  * Copyright (c) 2022 Linaro Ltd
0008  * Author: Krzysztof Kozlowski <krzk@kernel.org>
0009  */
0010 
0011 #ifndef __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__
0012 #define __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__
0013 
0014 #define S5PV210_PIN_PULL_NONE       0
0015 #define S5PV210_PIN_PULL_DOWN       1
0016 #define S5PV210_PIN_PULL_UP     2
0017 
0018 /* Pin function in power down mode */
0019 #define S5PV210_PIN_PDN_OUT0        0
0020 #define S5PV210_PIN_PDN_OUT1        1
0021 #define S5PV210_PIN_PDN_INPUT       2
0022 #define S5PV210_PIN_PDN_PREV        3
0023 
0024 #define S5PV210_PIN_DRV_LV1     0
0025 #define S5PV210_PIN_DRV_LV2     2
0026 #define S5PV210_PIN_DRV_LV3     1
0027 #define S5PV210_PIN_DRV_LV4     3
0028 
0029 #define S5PV210_PIN_FUNC_INPUT      0
0030 #define S5PV210_PIN_FUNC_OUTPUT     1
0031 #define S5PV210_PIN_FUNC_2      2
0032 #define S5PV210_PIN_FUNC_3      3
0033 #define S5PV210_PIN_FUNC_4      4
0034 #define S5PV210_PIN_FUNC_5      5
0035 #define S5PV210_PIN_FUNC_6      6
0036 #define S5PV210_PIN_FUNC_EINT       0xf
0037 #define S5PV210_PIN_FUNC_F      S5PV210_PIN_FUNC_EINT
0038 
0039 #endif /* __DTS_ARM_SAMSUNG_S5PV210_PINCTRL_H__ */