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

Sascha Hauer s.hauer at pengutronix.de
Fri Jul 12 02:49:57 EDT 2013


Hi Shawn,

Nice patch.

On Thu, Jul 11, 2013 at 01:58:36PM +0800, Shawn Guo wrote:
> 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


-- 
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 |



More information about the linux-arm-kernel mailing list