1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * Pinctrl binding constants for GS101 3 * Pinctrl binding constants for GS101 4 * 4 * 5 * Copyright 2020-2023 Google LLC 5 * Copyright 2020-2023 Google LLC 6 */ 6 */ 7 7 8 #ifndef __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINC 8 #ifndef __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ 9 #define __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINC 9 #define __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ 10 10 11 #define GS101_PIN_PULL_NONE 0 11 #define GS101_PIN_PULL_NONE 0 12 #define GS101_PIN_PULL_DOWN 1 12 #define GS101_PIN_PULL_DOWN 1 13 #define GS101_PIN_PULL_UP 3 13 #define GS101_PIN_PULL_UP 3 14 14 15 /* Pin function in power down mode */ 15 /* Pin function in power down mode */ 16 #define GS101_PIN_PDN_OUT0 0 16 #define GS101_PIN_PDN_OUT0 0 17 #define GS101_PIN_PDN_OUT1 1 17 #define GS101_PIN_PDN_OUT1 1 18 #define GS101_PIN_PDN_INPUT 2 18 #define GS101_PIN_PDN_INPUT 2 19 #define GS101_PIN_PDN_PREV 3 19 #define GS101_PIN_PDN_PREV 3 20 20 21 /* GS101 drive strengths */ 21 /* GS101 drive strengths */ 22 #define GS101_PIN_DRV_2_5_MA 0 22 #define GS101_PIN_DRV_2_5_MA 0 23 #define GS101_PIN_DRV_5_MA 1 23 #define GS101_PIN_DRV_5_MA 1 24 #define GS101_PIN_DRV_7_5_MA 2 24 #define GS101_PIN_DRV_7_5_MA 2 25 #define GS101_PIN_DRV_10_MA 3 25 #define GS101_PIN_DRV_10_MA 3 26 26 27 #define GS101_PIN_FUNC_INPUT 0 27 #define GS101_PIN_FUNC_INPUT 0 28 #define GS101_PIN_FUNC_OUTPUT 1 28 #define GS101_PIN_FUNC_OUTPUT 1 29 #define GS101_PIN_FUNC_2 2 29 #define GS101_PIN_FUNC_2 2 30 #define GS101_PIN_FUNC_3 3 30 #define GS101_PIN_FUNC_3 3 31 #define GS101_PIN_FUNC_EINT 0xf 31 #define GS101_PIN_FUNC_EINT 0xf 32 32 33 #endif /* __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PI 33 #endif /* __DTS_ARM64_SAMSUNG_EXYNOS_GOOGLE_PINCTRL_GS101_H__ */ 34 34
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.