summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-tegra/gpio.h
AgeCommit message (Collapse)Author
2011-10-11tegra: Correct GPIO definitions for Tegra2Simon Glass
The GPIO definitions for Tegra2 were incorrectly matched up with Tegra2. The layout is actually different, so GPIOs beyond port D do not work. This separates out the GPIO headers again, so that Tegra2 and Tegra3 have separate structure definitions. BUG=None TEST='vboot_test gpio' on Kaen; see that it responds to google rec, power, lid correctly Change-Id: I8540a87c8faa7179c8f0d44ef3f18b3c576392cc Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: http://gerrit.chromium.org/gerrit/9847 Reviewed-by: Bryan Freed <bfreed@chromium.org> Tested-by: Bryan Freed <bfreed@chromium.org>
2011-10-07tegra3: Add GPIO headerSimon Glass
This header supplies the necessary T30 parts for GPIO access. Since the Tegra3 just adds new fields and they will use the same driver, we move the structure into the common header. BUG=chromium-os:21033 TEST=build and boot on seaboard Change-Id: I3ebf128358d118fc43469ffff839af5027bc6472 Reviewed-on: http://gerrit.chromium.org/gerrit/8693 Reviewed-by: Che-Liang Chiou <clchiou@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
2011-10-04tegra: Move common gpio code into arch-tegraSimon Glass
Much of the GPIO header is common between T20 and T30, so move it into a common file to avoid duplication. BUG=chromium-os:19004 TEST=build and boot on seaboard Change-Id: Id8ca0bad87f8b5b27f00acf31081a52d88f1d824 Reviewed-on: http://gerrit.chromium.org/gerrit/8679 Tested-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>