MLK-12252 dts: imx7d: move lpsr pin definition into a separated head file
authorDong Aisheng <aisheng.dong@nxp.com>
Wed, 13 Jan 2016 08:04:06 +0000 (16:04 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:45 +0000 (14:49 -0500)
commit60bab6678124e533451613aee8018b8a0bf1c003
tree8a6f91323e38492dceb3b6b95d916470cb6e8273
parent43502d39abd0468ac69f3e21267377e1676f7d17
MLK-12252 dts: imx7d: move lpsr pin definition into a separated head file

Originally we put all the definition of both imx7d normal pins and
lpsr pins in imx7d-pinfunc.h which may lead to a easy failure of
user by wrongly put the normal pins of &iomuxc under &iomuxc_lpsr
node due to user has no idea about the difference, then pinctrl
driver will take the wrong value to set which may potentially break
other devices to work.

We have met this issue several times and it's hard to debug when it
happens.

This patch separates the lpsr pins into a dedicated head file
to give user a reminder to put lpsr pins group under the correct
pinctrl device node.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
(cherry picked from commit c524454c24fd9e5e329351dd154cbd24d47d0e0e)
arch/arm/boot/dts/imx7d-pinfunc-lpsr.h [new file with mode: 0644]
arch/arm/boot/dts/imx7d-pinfunc.h
arch/arm/boot/dts/imx7s.dtsi