Path: blob/master/include/dt-bindings/pinctrl/pinctrl-tegra.h
26285 views
/* SPDX-License-Identifier: GPL-2.0-only */1/*2* This header provides constants for Tegra pinctrl bindings.3*4* Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.5*6* Author: Laxman Dewangan <[email protected]>7*/89#ifndef _DT_BINDINGS_PINCTRL_TEGRA_H10#define _DT_BINDINGS_PINCTRL_TEGRA_H1112/*13* Enable/disable for diffeent dt properties. This is applicable for14* properties nvidia,enable-input, nvidia,tristate, nvidia,open-drain,15* nvidia,lock, nvidia,rcv-sel, nvidia,high-speed-mode, nvidia,schmitt.16*/17#define TEGRA_PIN_DISABLE 018#define TEGRA_PIN_ENABLE 11920#define TEGRA_PIN_PULL_NONE 021#define TEGRA_PIN_PULL_DOWN 122#define TEGRA_PIN_PULL_UP 22324/* Low power mode driver */25#define TEGRA_PIN_LP_DRIVE_DIV_8 026#define TEGRA_PIN_LP_DRIVE_DIV_4 127#define TEGRA_PIN_LP_DRIVE_DIV_2 228#define TEGRA_PIN_LP_DRIVE_DIV_1 32930/* Rising/Falling slew rate */31#define TEGRA_PIN_SLEW_RATE_FASTEST 032#define TEGRA_PIN_SLEW_RATE_FAST 133#define TEGRA_PIN_SLEW_RATE_SLOW 234#define TEGRA_PIN_SLEW_RATE_SLOWEST 33536#endif373839