Skip to content

RFC i.MX6 (DQ/DLS): consolidate mux and pad names

Eric Nelson u-boot 1 version New

Get series with b4
b4 am 1379366805-22166-1-git-send-email-eric.nelson@boundarydevices.com

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i.MX6DQ/DLS: replace pad names with their Linux kernel equivalentsarch/arm/include/asm/arch-mx6/mx6dl_pins.h arch/arm/include/asm/arch-mx6/mx6q_pins.h board/boundary/nitrogen6x/nitrogen6x.c +6 more+2051 -20510 replies
2/3i.MX6DQ/DLS: remove useless mux/pad declarationsarch/arm/include/asm/arch-mx6/mx6dl_pins.h arch/arm/include/asm/arch-mx6/mx6q_pins.h+0 -1600 replies
3/3i.MX6DQ: Add Pinmux settings that are present in Linux and Dual-Lite/Soloarch/arm/include/asm/arch-mx6/mx6q_pins.h+25 -00 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] [RFC PATCH 0/3] i.MX6 (DQ/DLS): consolidate mux and pad names

This patch set begins the process of consolidating mux and pad declarations for the i.MX6 Dual/Quad and Dual-Lite/Solo processor variants.

Patch 1 replaces the mux/pad names with their equivalents from
the Linux kernel (from linux-next). This
Patch 2 removes a set of completely useless pad declarations Patch 3 adds a number of registers that are defined in the Linux
kernel and in the DLS variant, but not in the DQ.

After this patch, there are still more than 400 pad differences between the two variants. These represent mux/pad declarations that are not present in the Linux kernel. A combined list of these is available at:
http://linode.boundarydevices.com/u-boot-pads.lst

The majority of these are diagnostic settings and a large number of these appear unlikely to ever be used. The primary reason this is being sent as an RFC is to get feedback about what should be done with them:
1. Delete them all
2. Walk through them and delete some and add others
3. Add them all and consolidate the names.

The file above has the names grouped somewhat by mux/pad functions to provide a sense of the various functions.

Note to reviewers: Because the majority of the changes in this patch set are simple name changes, using the '--word-diff' git parameter makes review much easier:

	~/u-boot$ git diff HEAD^^^ --word-diff

Eric Nelson (3):
i.MX6DQ/DLS: replace pad names with their Linux kernel equivalents i.MX6DQ/DLS: remove useless mux/pad declarations i.MX6DQ: Add Pinmux settings that are present in Linux and
Dual-Lite/Solo

 arch/arm/include/asm/arch-mx6/mx6dl_pins.h    | 1904 ++++++++++++-------------
 arch/arm/include/asm/arch-mx6/mx6q_pins.h     | 1803 ++++++++++++-----------
 board/boundary/nitrogen6x/nitrogen6x.c        |  164 +--
 board/congatec/cgtqmx6eval/cgtqmx6eval.c      |   40 +-
 board/freescale/mx6qarm2/mx6qarm2.c           |   66 +-
 board/freescale/mx6qsabreauto/mx6qsabreauto.c |   60 +-
 board/freescale/mx6sabresd/mx6sabresd.c       |   90 +-
 board/freescale/titanium/titanium.c           |  106 +-
 board/wandboard/wandboard.c                   |   54 +-
 9 files changed, 2076 insertions(+), 2211 deletions(-)
Signature · 1 line
1.8.1.2