Ramon Fried | e43d8e7 | 2018-05-16 12:13:40 +0300 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * This header provides constants for Qualcomm Snapdragon pinctrl bindings. |
| 4 | * |
| 5 | * (C) Copyright 2018 Ramon Fried <ramon.fried@gmail.com> |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | #ifndef _DT_BINDINGS_PINCTRL_SNAPDRAGON_H |
| 10 | #define _DT_BINDINGS_PINCTRL_SNAPDRAGON_H |
| 11 | |
| 12 | /* GPIO Drive Strength */ |
| 13 | #define DRIVE_STRENGTH_2MA 0 |
| 14 | #define DRIVE_STRENGTH_4MA 1 |
| 15 | #define DRIVE_STRENGTH_6MA 2 |
| 16 | #define DRIVE_STRENGTH_8MA 3 |
| 17 | #define DRIVE_STRENGTH_10MA 4 |
| 18 | #define DRIVE_STRENGTH_12MA 5 |
| 19 | #define DRIVE_STRENGTH_14MA 6 |
| 20 | #define DRIVE_STRENGTH_16MA 7 |
| 21 | |
| 22 | #endif |