[PATCH RESEND 0/3] ARM: dts: mxs: add pinctrl header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




These patches add header files for the MXS arch and convert the DTS
files to use the pad definitions from those files rather than
hardcoding the numerical pinctrl values.

The conversion from numerical representation to symbolic names has
been done with a perl script that checked the definitions for
consistency of the pin function comments and the numerical values
used. This revealed an inconsistency in:
arch/arm/boot/dts/imx28-apx4devkit.dts, which pretended to use
MX28_PAD_SSP2_SS0__GPIO_2_19 (equivalent to 0x2133) in the comment,
but actually was using MX28_PAD_SSP2_SS0__AUART3_TX by the numerical
value 0x2131.

I decided to use the (possibly unintended) assignment
MX28_PAD_SSP2_SS0__AUART3_TX because that is what is actually
configured without this patch.

 arch/arm/boot/dts/imx23-evk.dts                                 |    6 
 arch/arm/boot/dts/imx23-olinuxino.dts                           |   12 
 arch/arm/boot/dts/imx23-stmp378x_devb.dts                       |    6 
 arch/arm/boot/dts/imx23.dtsi                                    |   58 -
 arch/arm/boot/dts/imx28-apf28dev.dts                            |   12 
 arch/arm/boot/dts/imx28-apx4devkit.dts                          |   22 
 arch/arm/boot/dts/imx28-cfa10036.dts                            |   18 
 arch/arm/boot/dts/imx28-cfa10037.dts                            |   12 
 arch/arm/boot/dts/imx28-cfa10049.dts                            |   72 -
 arch/arm/boot/dts/imx28-cfa10055.dts                            |   24 
 arch/arm/boot/dts/imx28-cfa10056.dts                            |   18 
 arch/arm/boot/dts/imx28-cfa10057.dts                            |   18 
 arch/arm/boot/dts/imx28-cfa10058.dts                            |   12 
 arch/arm/boot/dts/imx28-evk.dts                                 |   24 
 arch/arm/boot/dts/imx28-m28evk.dts                              |   12 
 arch/arm/boot/dts/imx28-sps1.dts                                |    6 
 arch/arm/boot/dts/imx28.dtsi                                    |  242 ++---
 b/Documentation/devicetree/bindings/pinctrl/fsl,mxs-pinctrl.txt |  859 ------------------
 b/arch/arm/boot/dts/imx23-evk.dts                               |   10 
 b/arch/arm/boot/dts/imx23-olinuxino.dts                         |    6 
 b/arch/arm/boot/dts/imx23-pinfunc.h                             |  333 ++++++
 b/arch/arm/boot/dts/imx23-stmp378x_devb.dts                     |    6 
 b/arch/arm/boot/dts/imx23.dtsi                                  |  163 +--
 b/arch/arm/boot/dts/imx28-apf28.dts                             |    2 
 b/arch/arm/boot/dts/imx28-apf28dev.dts                          |   24 
 b/arch/arm/boot/dts/imx28-apx4devkit.dts                        |   38 
 b/arch/arm/boot/dts/imx28-cfa10036.dts                          |    8 
 b/arch/arm/boot/dts/imx28-cfa10037.dts                          |    6 
 b/arch/arm/boot/dts/imx28-cfa10049.dts                          |   84 -
 b/arch/arm/boot/dts/imx28-cfa10055.dts                          |   56 -
 b/arch/arm/boot/dts/imx28-cfa10056.dts                          |   20 
 b/arch/arm/boot/dts/imx28-cfa10057.dts                          |   48 -
 b/arch/arm/boot/dts/imx28-cfa10058.dts                          |   12 
 b/arch/arm/boot/dts/imx28-evk.dts                               |   32 
 b/arch/arm/boot/dts/imx28-m28evk.dts                            |   16 
 b/arch/arm/boot/dts/imx28-pinfunc.h                             |  506 ++++++++++
 b/arch/arm/boot/dts/imx28-sps1.dts                              |    8 
 b/arch/arm/boot/dts/imx28.dtsi                                  |  337 +++----
 b/arch/arm/boot/dts/mxs-pinfunc.h                               |   31 
 39 files changed, 1628 insertions(+), 1551 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux