mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 00:18:51 +09:00
![Ramon Fried](/assets/img/avatar_default.png)
This patch adds pinmux and pinctrl driver for TLMM subsystem in snapdragon chipsets. Currently, supporting only 8016, but implementation is generic and 8096 can be added easily. Driver is using the generic dt-bindings and doesn't introduce any new bindings (yet). Signed-off-by: Ramon Fried <ramon.fried@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
23 lines
595 B
C
23 lines
595 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* This header provides constants for Qualcomm Snapdragon pinctrl bindings.
|
|
*
|
|
* (C) Copyright 2018 Ramon Fried <ramon.fried@gmail.com>
|
|
*
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_PINCTRL_SNAPDRAGON_H
|
|
#define _DT_BINDINGS_PINCTRL_SNAPDRAGON_H
|
|
|
|
/* GPIO Drive Strength */
|
|
#define DRIVE_STRENGTH_2MA 0
|
|
#define DRIVE_STRENGTH_4MA 1
|
|
#define DRIVE_STRENGTH_6MA 2
|
|
#define DRIVE_STRENGTH_8MA 3
|
|
#define DRIVE_STRENGTH_10MA 4
|
|
#define DRIVE_STRENGTH_12MA 5
|
|
#define DRIVE_STRENGTH_14MA 6
|
|
#define DRIVE_STRENGTH_16MA 7
|
|
|
|
#endif
|