Julius Werner | 2a231e3 | 2019-05-28 21:03:58 -0700 | [diff] [blame] | 1 | /* |
Jona Stubbe | 2860fe0 | 2020-12-22 13:06:10 +0100 | [diff] [blame] | 2 | * Copyright (c) 2019-2021, ARM Limited and Contributors. All rights reserved. |
Julius Werner | 2a231e3 | 2019-05-28 21:03:58 -0700 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #ifndef ARM_TRUSTED_FIRMWARE_EXPORT_DRIVERS_GPIO_EXP_H |
| 8 | #define ARM_TRUSTED_FIRMWARE_EXPORT_DRIVERS_GPIO_EXP_H |
| 9 | |
| 10 | /* EXPORT HEADER -- See include/export/README for details! -- EXPORT HEADER */ |
| 11 | |
| 12 | #define ARM_TF_GPIO_DIR_OUT 0 |
| 13 | #define ARM_TF_GPIO_DIR_IN 1 |
| 14 | |
| 15 | #define ARM_TF_GPIO_LEVEL_LOW 0 |
| 16 | #define ARM_TF_GPIO_LEVEL_HIGH 1 |
| 17 | |
| 18 | #define ARM_TF_GPIO_PULL_NONE 0 |
| 19 | #define ARM_TF_GPIO_PULL_UP 1 |
| 20 | #define ARM_TF_GPIO_PULL_DOWN 2 |
Jona Stubbe | 2860fe0 | 2020-12-22 13:06:10 +0100 | [diff] [blame] | 21 | #define ARM_TF_GPIO_PULL_REPEATER 3 |
Julius Werner | 2a231e3 | 2019-05-28 21:03:58 -0700 | [diff] [blame] | 22 | |
| 23 | #endif /* ARM_TRUSTED_FIRMWARE_EXPORT_DRIVERS_GPIO_EXP_H */ |