[U-Boot] [PATCH 00/11] tablebased pinmux for Tegra20

Lucas Stach dev at lynxeye.de
Thu Jan 24 17:48:09 CET 2013


This series introduces tablebased pinmux to all Tegra20 boards and
removes the old way of doing pinmux to avoid any possible conflicts
in pin setup.

Patch 1 introduces a temporary CONFIG option for the new pinmux style
to avoid breaking bisectability in the middle of the series. This
option gets removed again in patch 10.

I have verified that all commits build without errors and tested the
new pinmux on my Colibri T20 platform.

For all other boards I took the pinmux configuration from the Linux
kernel, but only un-tristated the pads that are used by U-Boot. I
can't test the other boards myself, so please everyone with the
hardware give this a run and provide a tested-by or a bug report.
The series is based denx.de/u-boot-tegra/next.

Patch 11 is more of a RFC and removes the old funcmux as after the
switchover nothing uses it anymore. We are not doing real muxing in
U-Boot, so there is no need to keep it. But I want to hear from other
people if they see any reason to keep this.

Lucas Stach (11):
  tegra: introduce config option to do table based pinmux
  tegra20: add entry point and helper for tablebased pinmux
  tegra20: switch over colibri_t20 board to use tablebased pinmux
  tegra20: switch over tamonten platform to use tablebased pinmux
  tegra20: switch over harmony board to use tablebased pinmux
  tegra20: switch over seaboard and ventana to use tablebased pinmux
  tegra20: switch over whistler board to use tablebased pinmux
  tegra20: switch over paz00 board to use tablebased pinmux
  tegra20: switch over trimslice board to use tablebased pinmux
  tegra20: remove old pinmux setup
  tegra20: remove funcmux

 arch/arm/cpu/tegra-common/board.c                  |  26 --
 arch/arm/cpu/tegra20-common/Makefile               |   2 +-
 arch/arm/cpu/tegra20-common/funcmux.c              | 310 ---------------------
 arch/arm/include/asm/arch-tegra/board.h            |  12 -
 arch/arm/include/asm/arch-tegra20/funcmux.h        |  67 -----
 arch/arm/include/asm/arch-tegra20/pinmux.h         |  12 +
 board/avionic-design/common/tamonten.c             | 133 +++++++--
 board/compal/paz00/paz00.c                         | 149 +++++++---
 board/compulab/trimslice/trimslice.c               | 146 +++++++---
 board/nvidia/common/board.c                        |  36 +--
 board/nvidia/harmony/harmony.c                     | 143 ++++++++--
 board/nvidia/seaboard/seaboard.c                   | 133 +++++++--
 board/nvidia/whistler/whistler.c                   | 131 ++++++++-
 .../colibri_t20-common/colibri_t20-common.c        | 132 +++++++--
 board/toradex/colibri_t20_iris/colibri_t20_iris.c  |  16 +-
 drivers/i2c/tegra_i2c.c                            |   9 -
 drivers/input/tegra-kbc.c                          |   4 +-
 drivers/mtd/nand/tegra_nand.c                      |   1 -
 drivers/video/tegra.c                              |   3 -
 include/configs/colibri_t20_iris.h                 |   1 -
 include/configs/trimslice.h                        |   1 -
 include/configs/whistler.h                         |   1 -
 22 files changed, 814 insertions(+), 654 deletions(-)
 delete mode 100644 arch/arm/cpu/tegra20-common/funcmux.c
 delete mode 100644 arch/arm/include/asm/arch-tegra20/funcmux.h

-- 
1.8.0.2



More information about the U-Boot mailing list