1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Pinctrl binding constants for GS101 4 * 5 * Copyright 2020-2023 Google LLC 6 */ 7 8 #ifndef __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ 9 #define __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ 10 11 #define GS101_PIN_PULL_NONE 0 12 #define GS101_PIN_PULL_DOWN 1 13 #define GS101_PIN_PULL_UP 3 14 15 /* Pin function in power down mode */ 16 #define GS101_PIN_PDN_OUT0 0 17 #define GS101_PIN_PDN_OUT1 1 18 #define GS101_PIN_PDN_INPUT 2 19 #define GS101_PIN_PDN_PREV 3 20 21 /* GS101 drive strengths */ 22 #define GS101_PIN_DRV_2_5_MA 0 23 #define GS101_PIN_DRV_5_MA 1 24 #define GS101_PIN_DRV_7_5_MA 2 25 #define GS101_PIN_DRV_10_MA 3 26 27 #define GS101_PIN_FUNC_INPUT 0 28 #define GS101_PIN_FUNC_OUTPUT 1 29 #define GS101_PIN_FUNC_2 2 30 #define GS101_PIN_FUNC_3 3 31 #define GS101_PIN_FUNC_EINT 0xf 32 33 #endif /* __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ */ 34