[PATCH 1/2] ARM: dts: am335x: Replace numeric pinmux address with macro defines

Tony Lindgren tony at atomide.com
Mon Apr 30 10:31:46 PDT 2018


Hi,

* Christina Quast <cquast at baylibre.com> [180430 11:23]:
> The values are extraced from the "AM335x SitaraTM Processors Technical
> Reference Manual", Section 9.3.1 CONTROL_MODULE Registers, based on the
> file autogenerated by TI PinMux.

This certainly makes things easier to mux :)

Have you verified that the registers are the same across all am335x
models and different revisions?

It used to be that different SoC revisions could have different
amount of registers and also different options in some cases.

> +#define AM335X_CONTROL_REVISION			0x0
> +#define AM335X_CONTROL_HWINFO			0x4
> +#define AM335X_CONTROL_SYSCONFIG		0x10
> +#define AM335X_CONTROL_STATUS			0x40

You should only list the padconf mux registers here, no need to
list any of the controller registers.

Regards,

Tony



More information about the linux-arm-kernel mailing list