From 0aa1d50be7731fb7010543c3a63c06e29d6bfbd8 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Mon, 13 Jul 2015 09:48:06 -0700 Subject: [PATCH] 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 Original-Commit-Id: 805831489ad80e4ed335ece458f81238af704876 Original-Change-Id: I54a730c3b97c3603a5b1981089913c58af2a42db Original-Signed-off-by: Furquan Shaikh Original-Reviewed-on: https://chromium-review.googlesource.com/284958 Original-Tested-by: Furquan Shaikh Original-Reviewed-by: Aaron Durbin Original-Commit-Queue: Furquan Shaikh Original-Trybot-Ready: Furquan Shaikh Reviewed-on: http://review.coreboot.org/10944 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/soc/nvidia/tegra210/include/soc/pinmux.h | 5 +++++ 1 file changed, 5 insertions(+) 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. */