summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-tegra2/pinmux.h
AgeCommit message (Collapse)Author
2011-08-29Add assert() for debug assertionsSimon Glass
assert() is like BUG_ON() but compiles to nothing unless DEBUG is defined. This is useful when a condition is an error but a board reset is unlikely to fix it, so it is better to soldier on in hope. Assertion failures should be caught during development/test. It turns out that assert() is defined separately in a few places in U-Boot with various meanings. Build errors exposed by this change (and defining DEBUG) are also fixed in this commit. BUG=chromium-os:11623 TEST=build U-Boot for seaboard Change-Id: I27500491d2328405694bfd65ab991d42d9641927 Reviewed-on: http://gerrit.chromium.org/gerrit/2777 Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Anton Staaf <robotboy@chromium.org>
2011-08-29tegra2: add i2c driverYen Lin
BUG=none TEST=exercise with i2c commands (i2c probe, md, mw) and access TPM Change-Id: I370185ffbd03ffd66cc9edf1ca2fce0b2689e739 Reviewed-on: http://gerrit.chromium.org/gerrit/1563 Tested-by: Yen Lin <yelin@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2011-08-24tegra2: Add pinmux control functionsSimon Glass
This adds functions to change pinmux functions and the pullup/pulldown state for pin groups. BUG=chromium-os:11623 TEST=build and boot U-Boot on Seaboard Change-Id: I82130ede79c6c10420d81b90042d946afa7f1838 Reviewed-on: http://gerrit.chromium.org/gerrit/1642 Reviewed-by: Anton Staaf <robotboy@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
2011-08-24tegra2: Change PIN_ to PINGRPSimon Glass
PIN_ is a misnomer since the values actually represent groups of pins. BUG=chromium-os:13228 TEST=Build, boot on Seaboard Change-Id: I0362b76d39d80258c3d205d8189de639b8159432 Reviewed-on: http://gerrit.chromium.org/gerrit/1287 Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Anton Staaf <robotboy@chromium.org>
2011-08-24Tegra2: add additional pin multiplexing featuresSimon Glass
This adds an enum for each pin and some functions for changing the pin muxing setup. BUG=chromium-os:13875 TEST=Build U-Boot for seaboard, boot Change-Id: Ic9b4b035cc0584d1391c0a8e3e4646fc532e8ec3 Review URL: http://codereview.chromium.org/6895010
2011-02-21arm: Tegra2: Add basic NVIDIA Tegra2 SoC supportTom Warren
Signed-off-by: Tom Warren <twarren@nvidia.com>