Skip to content

tablebased pinmux for Tegra20

Lucas Stach u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11tegra: introduce config option to do table based pinmuxboard/nvidia/common/board.c+8 -20 replies
2/11tegra20: add entry point and helper for tablebased pinmuxarch/arm/include/asm/arch-tegra20/pinmux.h+12 -00 replies
3/11tegra20: switch over colibri_t20 board to use tablebased pinmuxboard/toradex/colibri_t20-common/colibri_t20-common.c board/toradex/colibri_t20_iris/colibri_t20_iris.c include/configs/colibri_t20_iris.h+115 -360 replies
4/11tegra20: switch over tamonten platform to use tablebased pinmuxboard/avionic-design/common/tamonten.c include/configs/medcom-wide.h include/configs/plutux.h +1 more+125 -171 reply
4/11tegra20: switch over tamonten platform to use tablebased pinmux+0 -00 replies
5/11tegra20: switch over harmony board to use tablebased pinmuxboard/nvidia/harmony/harmony.c include/configs/harmony.h+116 -300 replies
6/11tegra20: switch over seaboard and ventana to use tablebased pinmuxboard/nvidia/seaboard/seaboard.c include/configs/seaboard.h include/configs/ventana.h+121 -181 reply
6/11tegra20: switch over seaboard and ventana to use tablebased pinmux+0 -02 replies
6/11tegra20: switch over seaboard and ventana to use tablebased pinmux+0 -03 replies
6/11tegra20: switch over seaboard and ventana to use tablebased pinmux+0 -01 reply
7/11tegra20: switch over whistler board to use tablebased pinmuxboard/nvidia/whistler/whistler.c include/configs/whistler.h+119 -150 replies
8/11tegra20: switch over paz00 board to use tablebased pinmuxboard/compal/paz00/paz00.c include/configs/paz00.h+115 -370 replies
9/11tegra20: switch over trimslice board to use tablebased pinmuxboard/compulab/trimslice/trimslice.c include/configs/trimslice.h+118 -310 replies
10/11tegra20: remove old pinmux setuparch/arm/cpu/tegra-common/board.c arch/arm/include/asm/arch-tegra/board.h board/nvidia/common/board.c +13 more+2 -1251 reply
10/11tegra20: remove old pinmux setup+0 -01 reply
11/11tegra20: remove funcmuxarch/arm/cpu/tegra-common/board.c arch/arm/cpu/tegra20-common/Makefile arch/arm/cpu/tegra20-common/funcmux.c +3 more+1 -3810 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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
Signature · 1 line
1.8.0.2