Devicetree
 help / color / mirror / Atom feed
* [PATCH RESEND 0/3] ARM: dts: mxs: add pinctrl header files
@ 2013-09-19  6:59 Lothar Waßmann
       [not found] ` <1379573990-27556-1-git-send-email-LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Lothar Waßmann @ 2013-09-19  6:59 UTC (permalink / raw)
  To: devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-arm-kernel-bounces-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Shawn Guo, Rob Herring, Stephen Warren

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-09-24 14:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-19  6:59 [PATCH RESEND 0/3] ARM: dts: mxs: add pinctrl header files Lothar Waßmann
     [not found] ` <1379573990-27556-1-git-send-email-LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
2013-09-19  6:59   ` [PATCH RESEND 1/3] " Lothar Waßmann
2013-09-19  6:59   ` [PATCH RESEND 2/3] ARM: dts: mxs: modify mx23/mx28 dts files to use pinctrl headers Lothar Waßmann
2013-09-19  6:59   ` [PATCH RESEND 3/3] ARM: dts: mxs: modify mx23/mx28 dts files to use padconfig defines Lothar Waßmann
2013-09-19  6:59   ` [PATCH RESEND] ARM: dts: tx28: restructure and update DTS file Lothar Waßmann
     [not found]     ` <1379573990-27556-5-git-send-email-LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
2013-09-22  6:41       ` Shawn Guo
     [not found]         ` <20130922064124.GB31787-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2013-09-23  9:37           ` Lothar Waßmann
2013-09-23 10:20           ` [PATCH v4] " Lothar Waßmann
     [not found]             ` <1379931648-12448-1-git-send-email-LW-bxm8fMRDkQLDiMYJYoSAnRvVK+yQ3ZXh@public.gmane.org>
2013-09-24 14:27               ` Shawn Guo
2013-09-22  6:11   ` [PATCH RESEND 0/3] ARM: dts: mxs: add pinctrl header files Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox