Skip to content

RFC i.MX6: Update pad declarations for multiple-arch binaries

Eric Nelson u-boot 1 version New

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

Versions newest first

  1. v1 RFC Latest22 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22i.MX6: MX6Q: update USBOH3 pad declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+46 -460 replies
2/22i.MX6: MX6Q: update SDMA pad declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+30 -300 replies
3/22i.MX6: MX6Q: update PCIE pad declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+31 -310 replies
4/22i.MX6: MX6Q: update MIPI_CORE pad declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+50 -500 replies
5/22i.MX6: MX6Q/MX6DL: update PL301 AXI interconnect pad declarationsarch/arm/include/asm/arch-mx6/mx6dl_pins.h arch/arm/include/asm/arch-mx6/mx6q_pins.h+78 -780 replies
6/22i.MX6: MX6Q: update OBSERVE_MUX pad declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+5 -50 replies
7/22i.MX6: MX6Q: update MMDC_DEBUG pad declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+30 -300 replies
8/22i.MX6: MX6Q/MX6DL: update TRACE pad declarationsarch/arm/include/asm/arch-mx6/mx6dl_pins.h arch/arm/include/asm/arch-mx6/mx6q_pins.h+32 -320 replies
9/22i.MX6: MX6Q: update ANATOP pad declarationsarch/arm/include/asm/arch-mx6/mx6q_pins.h+24 -240 replies
10/22i.MX6: MX6Q: update DI0 MIPI pad declarationsarch/arm/include/asm/arch-mx6/mx6q_pins.h+3 -30 replies
11/22Additional SIMBA/CHEETAH removalarch/arm/include/asm/arch-mx6/mx6dl_pins.h arch/arm/include/asm/arch-mx6/mx6q_pins.h+8 -80 replies
12/22i.MX6: MX6Q: update USDHC1 pad declarationsarch/arm/include/asm/arch-mx6/mx6q_pins.h+8 -80 replies
13/22i.MX6: MX6Q: Change CSI0_DATA_EN abbreviation to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+1 -10 replies
14/22i.MX6: MX6Q: update SPDIF_EXTCLK to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+1 -10 replies
15/22i.MX6: MX6Q: update 1588 EVENT declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+3 -30 replies
16/22i.MX6: MX6Q: update SNVS declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+3 -30 replies
17/22i.MX6: MX6Q: update GPU_DEBUG declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+8 -80 replies
18/22i.MX6: MX6Q: update ETHERNET/OCOTP declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+2 -20 replies
19/22i.MX6: MX6Q: update MIPI_CORE_DPHY declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+6 -60 replies
20/22i.MX6: MX6Q: update MIPI_HSI_CTRL declarations to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+8 -80 replies
21/22i.MX6: MX6Q: update CAAM_WRAPPER declaration to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+1 -10 replies
22/22i.MX6: MX6Q: update CCM_PMIC declaration to match MX6DLarch/arm/include/asm/arch-mx6/mx6q_pins.h+1 -10 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 RFC 0/22] i.MX6: Update pad declarations for multiple-arch binaries

This patch series updates the pad declarations in the files arch/arm/include/asm/arch-mx6/mx6q_pins.h and mx6dl_pins.h to have consistent naming when a given pad is used for the same purpose.

Most of the differences were simply changes in abbreviations between the two files, and where possible, the form used in the Linux kernel was used, even when the names are redundant (which is common - search for ANATOP_ANATOP).

The primary exception to this is in patch number 5 for the pads setting up the PL301_AXI uses for various pads. The kernel declarations for those inexplicably have the processor architecture included in the pad name.

You can get a picture of how the pads differ by running the following commands in arch/arm/include/asm/arch-mx6:

	for t in q dl ; do \
		grep MX6_ mx6${t}-pins.h | \
			awk '{print $1}' | \ 
			sort > 6${t}.lst; \
	done \
        diff 6*.lst

Doing a quick 'wc -l' after this patch series shows that around 2/3 of the differences are accounted for, and the majority of the remaining differences do reflect differences between the i.MX6DQ and i.MX6DLS processor variants.

The primary reason this patch set is sent as an RFC is the overall feeling that there must be a better way and the fact that none of these pads is actually used by any current code in U-Boot and the vast majority of these changes will never do so (OBSERVABILITY pads, for instance).

In-Reply-To: