summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2015-07-13 09:48:06 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-07-16 22:36:35 +0200
commit0aa1d50be7731fb7010543c3a63c06e29d6bfbd8 (patch)
treef55c8700aa07801abfe34fc64532a24da95736bc
parent5668e262ffa14ea202e65d6f50e37efe1670d965 (diff)
t210: Add PINMUX macros for drive strength
BUG=chrome-os-partner:41877 BRANCH=None TEST=Compiles successfully and boots to kernel prompt Change-Id: Ic606838639d33242b227fece9cbb019d8f3b3729 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 805831489ad80e4ed335ece458f81238af704876 Original-Change-Id: I54a730c3b97c3603a5b1981089913c58af2a42db Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/284958 Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> Original-Trybot-Ready: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/10944 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--src/soc/nvidia/tegra210/include/soc/pinmux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra210/include/soc/pinmux.h b/src/soc/nvidia/tegra210/include/soc/pinmux.h
index ab59fbf076..3520cdb88f 100644
--- a/src/soc/nvidia/tegra210/include/soc/pinmux.h
+++ b/src/soc/nvidia/tegra210/include/soc/pinmux.h
@@ -41,6 +41,11 @@ enum {
PINMUX_IO_HV = 1 << 10,
PINMUX_OPEN_DRAIN = 1 << 11,
PINMUX_SCHMT = 1 << 12,
+
+ PINMUX_DRIVE_1X = 0 << 13,
+ PINMUX_DRIVE_2X = 1 << 13,
+ PINMUX_DRIVE_3X = 2 << 13,
+ PINMUX_DRIVE_4X = 3 << 13,
};
/* GPIO index constants. */