u-boot-brain/arch/arm/include/asm/arch-tegra114
Stephen Warren e296995767 ARM: tegra: pinctrl: remove duplication
Much of arch/arm/cpu/tegra*-common/pinmux.c is identical. Remove the
duplication by creating pinmux-common.c for all the identical code.

This leaves:
* arch/arm/include/asm/arch-tegra*/pinmux.h defining only the names of
  the various pins/pin groups, drive groups, and mux functions.
* arch/arm/cpu/tegra*-common/pinmux.c containing only the lookup table
  stating which pin groups support which mux functions.

The code in pinmux-common.c is semantically identical to that in the
various original pinmux.c, but had some consistency and cleanup fixes
applied during migration.

I removed the definition of struct pmux_tri_ctlr, since this is different
between SoCs (especially Tegra20 vs all others), and it's much simpler to
deal with this via the new REG/MUX_REG/... defines. spl.c, warmboot.c,
and warmboot_avp.c needed updates due to this, since they previously
hijacked this struct to encode the location of some non-pinmux registers.
Now, that code simply calculates these register addresses directly using
simple and obvious math. I like this method better irrespective of the
pinmux code cleanup anyway.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2014-04-17 08:41:05 -07:00
..
clock-tables.h Tegra114: Add arch-tegra114 include files 2013-02-11 10:35:25 -07:00
clock.h Tegra114: Add arch-tegra114 include files 2013-02-11 10:35:25 -07:00
flow.h Tegra114: Add arch-tegra114 include files 2013-02-11 10:35:25 -07:00
funcmux.h Tegra114: Add arch-tegra114 include files 2013-02-11 10:35:25 -07:00
gp_padctrl.h Tegra114: Dalmore: Add SDIO3 pad config to pinctrl_config table 2013-03-25 09:56:07 -07:00
gpio.h Tegra114: Add arch-tegra114 include files 2013-02-11 10:35:25 -07:00
hardware.h Tegra114: Add arch-tegra114 include files 2013-02-11 10:35:25 -07:00
pinmux.h ARM: tegra: pinctrl: remove duplication 2014-04-17 08:41:05 -07:00
pmu.h Tegra114: Add arch-tegra114 include files 2013-02-11 10:35:25 -07:00
spl.h Tegra114: Add arch-tegra114 include files 2013-02-11 10:35:25 -07:00
sysctr.h Tegra114: Initialize System Counter (TSC) with osc frequency 2013-04-15 11:01:38 -07:00
tegra114_spi.h tegra114: add SPI driver 2013-03-25 09:56:07 -07:00
tegra.h ARM: tegra: move CONFIG_TEGRAnn 2014-03-05 16:59:07 -07:00
usb.h ARM: Tegra: USB: EHCI: Add support for Tegra30/Tegra114 2013-07-11 14:15:15 -07:00