devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v3 0/5] pinctrl: imx: add pinnmux support
@ 2011-12-20 17:40 Dong Aisheng
       [not found] ` <1324402840-32451-1-git-send-email-b29396-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  2011-12-20 17:40 ` [RFC PATCH v3 3/5] pinctrl: imx: add pinctrl imx driver Dong Aisheng
  0 siblings, 2 replies; 98+ messages in thread
From: Dong Aisheng @ 2011-12-20 17:40 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: linus.walleij-0IS4wlFg1OjSUeElwK9/Pw,
	s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ,
	rob.herring-bsGFqQB8/DxBDgjK7y7TUQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ, cjb-2X9k7bc8m7Mdnm+yROfE0A,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

The main changes of this new patch series are add dt binding
support in pinctrl core for pinmux mappings and shows an example
on using the standard API provided by pinctrl core to register
pinmux mappings from dts file.
Then we can remove the old board specifc pinmux mappings from
generic soc specific code (e.g. mach-imx6q.c).

Change v2->v3:
- change the name from of_get_child_number to of_get_child_count
- pinctrl: add dt binding support for pinmux mappings
- Add phandle for pinmux mappings for imx6q
- binding pinmux mappings via pinctrl core API
- follow the dt convention to use dash '-' for property name

Changes v1->v2:
- add a cover letter
- remove the pin functon and group defines out of driver
- parsing data from device tree for imx6q support
- a few minor fixes suggested by Shawn

Dong Aisheng (5):
  dt: add of_get_child_count helper function
  pinctrl: add dt binding support for pinmux mappings
  pinctrl: imx: add pinctrl imx driver
  ARM: imx6q: using pinmux subsystem
  mmc: sdhci-esdhc-imx: using pinmux subsystem

 .../devicetree/bindings/pinctrl/pinctrl-imx.txt    |   59 +++
 .../devicetree/bindings/pinctrl/pinctrl.txt        |   33 ++
 arch/arm/boot/dts/imx6q-sabreauto.dts              |   32 ++
 arch/arm/boot/dts/imx6q.dtsi                       |    1 +
 arch/arm/mach-imx/Kconfig                          |    1 +
 drivers/mmc/host/sdhci-esdhc-imx.c                 |   20 +
 drivers/pinctrl/Kconfig                            |   20 +
 drivers/pinctrl/Makefile                           |    3 +
 drivers/pinctrl/pinctrl-imx-core.c                 |  450 ++++++++++++++++++++
 drivers/pinctrl/pinctrl-imx-core.h                 |   86 ++++
 drivers/pinctrl/pinctrl-imx53.c                    |  443 +++++++++++++++++++
 drivers/pinctrl/pinctrl-imx6q.c                    |  433 +++++++++++++++++++
 drivers/pinctrl/pinmux.c                           |  101 +++++
 include/linux/of.h                                 |   16 +
 include/linux/pinctrl/machine.h                    |    6 +
 15 files changed, 1704 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl-imx.txt
 create mode 100644 Documentation/devicetree/bindings/pinctrl/pinctrl.txt
 create mode 100644 drivers/pinctrl/pinctrl-imx-core.c
 create mode 100644 drivers/pinctrl/pinctrl-imx-core.h
 create mode 100644 drivers/pinctrl/pinctrl-imx53.c
 create mode 100644 drivers/pinctrl/pinctrl-imx6q.c

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

end of thread, other threads:[~2012-01-20 17:51 UTC | newest]

Thread overview: 98+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-20 17:40 [RFC PATCH v3 0/5] pinctrl: imx: add pinnmux support Dong Aisheng
     [not found] ` <1324402840-32451-1-git-send-email-b29396-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2011-12-20 17:40   ` [RFC PATCH v3 1/5] dt: add of_get_child_count helper function Dong Aisheng
     [not found]     ` <1324402840-32451-2-git-send-email-b29396-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2011-12-20 18:35       ` Rob Herring
     [not found]         ` <4EF0D556.3030701-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-12-21  2:56           ` Dong Aisheng-B29396
     [not found]             ` <7FE21149F4667147B645348EC605788505C474-RL0Hj/+nBVDYdknt8GnhQq4g8xLGJsHaLnY5E4hWTkheoWH0uzbU5w@public.gmane.org>
2012-01-01 13:58               ` Linus Walleij
2011-12-20 19:47     ` Marek Vasut
     [not found]       ` <201112202047.10308.marek.vasut-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-12-21  3:27         ` Dong Aisheng-B29396
2011-12-21  6:05           ` Lothar Waßmann
2011-12-20 23:58     ` Stephen Warren
     [not found]       ` <74CDBE0F657A3D45AFBB94109FB122FF176BE92EE2-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-12-21  3:18         ` Dong Aisheng-B29396
2011-12-20 17:40   ` [RFC PATCH v3 2/5] pinctrl: add dt binding support for pinmux mappings Dong Aisheng
2011-12-20 19:48     ` Marek Vasut
2011-12-21  0:39     ` Stephen Warren
2011-12-22  8:18       ` Dong Aisheng-B29396
2011-12-25  3:37         ` Stephen Warren
2011-12-27 14:41           ` Dong Aisheng-B29396
     [not found]             ` <7FE21149F4667147B645348EC6057885077F82-RL0Hj/+nBVDYdknt8GnhQq4g8xLGJsHaLnY5E4hWTkheoWH0uzbU5w@public.gmane.org>
2011-12-29  2:46               ` Shawn Guo
2012-01-05 13:14                 ` Dong Aisheng
2012-01-05 23:45                 ` Stephen Warren
2012-01-06  6:21                   ` Shawn Guo
2012-01-05 23:38             ` Stephen Warren
2012-01-06 10:51               ` Dong Aisheng-B29396
2012-01-06 17:23                 ` Stephen Warren
     [not found]                   ` <74CDBE0F657A3D45AFBB94109FB122FF177EE39E40-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-10  7:02                     ` Dong Aisheng-B29396
2012-01-05 13:47           ` Dong Aisheng
2012-01-06  1:05             ` Stephen Warren
2012-01-06  5:27               ` Shawn Guo
2012-01-06 11:33               ` Dong Aisheng-B29396
2012-01-06 13:14                 ` Shawn Guo
2012-01-06 18:03                 ` Stephen Warren
     [not found]                   ` <74CDBE0F657A3D45AFBB94109FB122FF177EE39E6B-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-07 13:54                     ` Shawn Guo
2012-01-08 12:51                       ` Richard Zhao
2012-01-09  1:56                         ` Shawn Guo
2012-01-09  6:18                           ` Simon Glass
2012-01-10 11:30                             ` Dong Aisheng-B29396
2012-01-11 19:19                             ` Stephen Warren
2012-01-11 18:37                           ` Stephen Warren
2012-01-11 23:56                             ` Shawn Guo
2012-01-11 23:59                               ` Stephen Warren
     [not found]                                 ` <74CDBE0F657A3D45AFBB94109FB122FF177EE3A83A-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-12  4:03                                   ` Shawn Guo
     [not found]                                     ` <20120112040345.GA21802-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2012-01-12  7:45                                       ` Dong Aisheng-B29396
2012-01-11 18:28                         ` Stephen Warren
2012-01-11 18:17                       ` Stephen Warren
     [not found]                         ` <74CDBE0F657A3D45AFBB94109FB122FF177EE3A6E5-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-12  3:39                           ` Shawn Guo
2012-01-12  7:40                             ` Dong Aisheng-B29396
2012-01-12 20:46                             ` Stephen Warren
2012-01-12 21:10                               ` Stephen Warren
     [not found]                               ` <74CDBE0F657A3D45AFBB94109FB122FF17801D1DCC-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-13  3:46                                 ` Shawn Guo
2012-01-13 18:16                                   ` Stephen Warren
     [not found]                                     ` <74CDBE0F657A3D45AFBB94109FB122FF17801D1F9D-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-14  1:22                                       ` Shawn Guo
2012-01-14 18:21                                         ` Dong Aisheng
2012-01-16 16:08                                         ` Linus Walleij
2012-01-17  2:32                                           ` Shawn Guo
2012-01-17 19:50                                           ` Stephen Warren
     [not found]                                             ` <74CDBE0F657A3D45AFBB94109FB122FF17801D230A-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-18  2:30                                               ` Shawn Guo
2012-01-19 16:55                                               ` Linus Walleij
2012-01-19 19:30                                                 ` Stephen Warren
     [not found]                                                   ` <74CDBE0F657A3D45AFBB94109FB122FF1780DAB186-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-20 17:51                                                     ` Linus Walleij
2012-01-10  8:21                     ` Dong Aisheng-B29396
2012-01-10 13:05                       ` Shawn Guo
     [not found]                         ` <20120110130511.GA26599-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2012-01-11 19:41                           ` Stephen Warren
     [not found]                             ` <74CDBE0F657A3D45AFBB94109FB122FF177EE3A74D-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-11 23:01                               ` Shawn Guo
2012-01-11 22:58                                 ` Stephen Warren
2012-01-11 20:17                       ` Stephen Warren
     [not found]                         ` <74CDBE0F657A3D45AFBB94109FB122FF177EE3A76A-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-11 23:21                           ` Shawn Guo
2012-01-12  8:36                           ` Dong Aisheng-B29396
2012-01-12 20:56                             ` Stephen Warren
     [not found]                               ` <74CDBE0F657A3D45AFBB94109FB122FF17801D1DD6-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-13  3:55                                 ` Shawn Guo
     [not found]                                   ` <20120113035506.GB12184-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2012-01-13  8:07                                     ` Dong Aisheng-B29396
     [not found]                                       ` <7FE21149F4667147B645348EC605788508FD9C-RL0Hj/+nBVDYdknt8GnhQq4g8xLGJsHaLnY5E4hWTkheoWH0uzbU5w@public.gmane.org>
2012-01-13 13:35                                         ` Shawn Guo
2012-01-13 13:48                                           ` Linus Walleij
2012-01-13 14:23                                             ` Shawn Guo
2012-01-13 17:11                         ` Dong Aisheng
2012-01-13 18:33                           ` Stephen Warren
     [not found]                             ` <74CDBE0F657A3D45AFBB94109FB122FF17801D1FAB-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-14  1:10                               ` Shawn Guo
2012-01-17 19:35                                 ` Stephen Warren
     [not found]                                   ` <74CDBE0F657A3D45AFBB94109FB122FF17801D22FB-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-17 19:48                                     ` Rob Herring
2012-01-14 17:58                               ` Dong Aisheng
2012-01-17 19:44                                 ` Stephen Warren
2012-01-01 14:07     ` Linus Walleij
     [not found]       ` <CACRpkdbLMW-SXnr6hbpwMqG=-a0wmYtU+YnyR8uLsndUp=UBgQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-01 15:22         ` Rob Herring
2012-01-05 13:59       ` Dong Aisheng
2011-12-20 17:40   ` [RFC PATCH v3 4/5] ARM: imx6q: using pinmux subsystem Dong Aisheng
2011-12-20 17:40   ` [RFC PATCH v3 5/5] mmc: sdhci-esdhc-imx: " Dong Aisheng
2012-01-01 13:54     ` Linus Walleij
2011-12-20 17:40 ` [RFC PATCH v3 3/5] pinctrl: imx: add pinctrl imx driver Dong Aisheng
2011-12-20 19:50   ` Marek Vasut
2011-12-21  3:09     ` Dong Aisheng-B29396
2012-01-01 14:02   ` Linus Walleij
2012-01-08 13:05   ` Richard Zhao
2012-01-09  2:08     ` Shawn Guo
2012-01-09  2:17       ` Richard Zhao
2012-01-09  6:32         ` Shawn Guo
2012-01-10  8:38           ` Richard Zhao
     [not found]             ` <20120110083842.GA2414-iWYTGMXpHj9ITqJhDdzsOjpauB2SiJktrE5yTffgRl4@public.gmane.org>
2012-01-10 10:43               ` Linus Walleij
2012-01-10 10:55                 ` Dong Aisheng-B29396
2012-01-10 13:51                 ` Shawn Guo
     [not found]                   ` <20120110135147.GB26599-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2012-01-11  9:28                     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).