Skip to contentSkip to conversation

ARM: dts: imx: share pad macro names between imx6q and imx6dl

PATCH New Sascha Hauer 2 participants 2 messages Jul 12, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 ARM: dts: imx: share pad macro names between imx6q and imx6dl

Hi Shawn,

Nice patch.

Quoted 10 lines · Shawn Guo

The imx6q and imx6dl are two pin-to-pin compatible SoCs. The same board design can work with either chip plugged into the socket, e.g. sabresd and sabreauto boards.

We currently define pin groups in imx6q.dtsi and imx6dl.dtsi respectively because the pad macro names are different between two chips. This brings a maintenance burden on having the same label point to the same pin group defined in two places.

The patch drops prefix MX6Q_ and MX6DL_ from those pad macro names.

Can we use another prefix instead of removing it completely? Maybe MX6QDL_?

Sascha

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#2 lore raw

PATCH 1/1 ARM: dts: imx: share pad macro names between imx6q and imx6dl

Quoted 14 lines · Sascha Hauer

Hi Shawn,

Nice patch.

Quoted 9 lines · Shawn Guo

The imx6q and imx6dl are two pin-to-pin compatible SoCs. The same board design can work with either chip plugged into the socket, e.g. sabresd and sabreauto boards.

We currently define pin groups in imx6q.dtsi and imx6dl.dtsi respectively because the pad macro names are different between two chips. This brings a maintenance burden on having the same label point to the same pin group defined in two places.

Quoted 5 lines
Quoted 1 line

The patch drops prefix MX6Q_ and MX6DL_ from those pad macro names.

Can we use another prefix instead of removing it completely? Maybe MX6QDL_?

Sounds good. I changed it on my branch, and will not resend due to the patch size.

Shawn