Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Tesla FSD 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_ARM64_TESLA_FSD_PINCTRL_H__
0012 #define __DTS_ARM64_TESLA_FSD_PINCTRL_H__
0013 
0014 #define FSD_PIN_PULL_NONE       0
0015 #define FSD_PIN_PULL_DOWN       1
0016 #define FSD_PIN_PULL_UP         3
0017 
0018 #define FSD_PIN_DRV_LV1         0
0019 #define FSD_PIN_DRV_LV2         2
0020 #define FSD_PIN_DRV_LV3         1
0021 #define FSD_PIN_DRV_LV4         3
0022 
0023 #define FSD_PIN_FUNC_INPUT      0
0024 #define FSD_PIN_FUNC_OUTPUT     1
0025 #define FSD_PIN_FUNC_2          2
0026 #define FSD_PIN_FUNC_3          3
0027 #define FSD_PIN_FUNC_4          4
0028 #define FSD_PIN_FUNC_5          5
0029 #define FSD_PIN_FUNC_6          6
0030 #define FSD_PIN_FUNC_EINT       0xf
0031 #define FSD_PIN_FUNC_F          FSD_PIN_FUNC_EINT
0032 
0033 #endif /* __DTS_ARM64_TESLA_FSD_PINCTRL_H__ */