Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: omap4-panda-a4: Use OMAP4_IOPAD pinmux macro

Use the pinmux IOPAD macros to define the register as an offset from
the padconf physical address instead of the offset from padconf base.
This makes the DTS easier to read since matches the addresses listed
in the Technical Reference Manual.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Javier Martinez Canillas and committed by
Tony Lindgren
37990123 ececfa31

+3 -3
+3 -3
arch/arm/boot/dts/omap4-panda-a4.dts
··· 13 13 /* Pandaboard Rev A4+ have external pullups on SCL & SDA */ 14 14 &dss_hdmi_pins { 15 15 pinctrl-single,pins = < 16 - 0x5a (PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 17 - 0x5c (PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */ 18 - 0x5e (PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */ 16 + OMAP4_IOPAD(0x09a, PIN_INPUT_PULLUP | MUX_MODE0) /* hdmi_cec.hdmi_cec */ 17 + OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */ 18 + OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */ 19 19 >; 20 20 };