Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Samsung S3C64xx 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_S3C64XX_PINCTRL_H__
0012 #define __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__
0013 
0014 #define S3C64XX_PIN_PULL_NONE       0
0015 #define S3C64XX_PIN_PULL_DOWN       1
0016 #define S3C64XX_PIN_PULL_UP     2
0017 
0018 #define S3C64XX_PIN_FUNC_INPUT      0
0019 #define S3C64XX_PIN_FUNC_OUTPUT     1
0020 #define S3C64XX_PIN_FUNC_2      2
0021 #define S3C64XX_PIN_FUNC_3      3
0022 #define S3C64XX_PIN_FUNC_4      4
0023 #define S3C64XX_PIN_FUNC_5      5
0024 #define S3C64XX_PIN_FUNC_6      6
0025 #define S3C64XX_PIN_FUNC_EINT       7
0026 
0027 #endif /* __DTS_ARM_SAMSUNG_S3C64XX_PINCTRL_H__ */