[PATCH 4.4.y-cip 0/3] ARM: dts: am335x: Replace numeric pinmux address with macro defines
Hello all,
This patchset replaces the register offsets for am335x with macro defines.
The values are extraced from the "AM335x SitaraTM Processors Technical
Reference Manual".
Use AM33XX_PADCONF to take three instead of two parameters for AM33XX_IOPAD, to make
future changes to #pinctrl-cells easier, and adjust pin direction and mux mode intuitively.
For now, only the am335x-moxa-uc-8100-me-t.dts changes are attached.
1. Add macros for numeric pinmux addresses.
2. Add AM33XX_PADCONF macro.
3. Replace register offsets with define for moxa-uc8100-me-t.
It's tested with a Moxa UC-8100-ME-T platform.
Thanks!
Johnson
Christina Quast (2):
ARM: dts: am33xx: Added macros for numeric pinmux addresses
ARM: dts: am335x: moxa-uc-8100-me-t: Replaced register offsets with
defines
Tony Lindgren (1):
ARM: dts: am33xx: Added AM33XX_PADCONF macro
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts | 116 +++++++++++-----------
include/dt-bindings/pinctrl/am33xx.h | 130 ++++++++++++++++++++++++-
include/dt-bindings/pinctrl/omap.h | 1 +
3 files changed, 188 insertions(+), 59 deletions(-)
--
2.11.0
This patchset replaces the register offsets for am335x with macro defines.
The values are extraced from the "AM335x SitaraTM Processors Technical
Reference Manual".
Use AM33XX_PADCONF to take three instead of two parameters for AM33XX_IOPAD, to make
future changes to #pinctrl-cells easier, and adjust pin direction and mux mode intuitively.
For now, only the am335x-moxa-uc-8100-me-t.dts changes are attached.
1. Add macros for numeric pinmux addresses.
2. Add AM33XX_PADCONF macro.
3. Replace register offsets with define for moxa-uc8100-me-t.
It's tested with a Moxa UC-8100-ME-T platform.
Thanks!
Johnson
Christina Quast (2):
ARM: dts: am33xx: Added macros for numeric pinmux addresses
ARM: dts: am335x: moxa-uc-8100-me-t: Replaced register offsets with
defines
Tony Lindgren (1):
ARM: dts: am33xx: Added AM33XX_PADCONF macro
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts | 116 +++++++++++-----------
include/dt-bindings/pinctrl/am33xx.h | 130 ++++++++++++++++++++++++-
include/dt-bindings/pinctrl/omap.h | 1 +
3 files changed, 188 insertions(+), 59 deletions(-)
--
2.11.0