linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/5] pinctrl: imx: add generic pin config and imx7ulp support
@ 2017-05-19  7:05 Dong Aisheng
  2017-05-19  7:05 ` [PATCH V2 1/5] pinctrl: imx: fix debug message for SHARE_MUX_CONF_REG case Dong Aisheng
                   ` (5 more replies)
  0 siblings, 6 replies; 26+ messages in thread
From: Dong Aisheng @ 2017-05-19  7:05 UTC (permalink / raw)
  To: linux-gpio
  Cc: linux-arm-kernel, linus.walleij, shawnguo, stefan, ping.bai,
	fugang.duan, kernel, Dong Aisheng

This patch series intends to add the generic pin config support for imx
platforms.

The design is based on the exist architecture that the core will
provide a uniformed way to decode the generic pin config into platform
config register raw data according to the imx_cfg_params_decode maps
registered by platform.

Two useful macros, IMX_CFG_PARAMS_DECODE and IMX_CFG_PARAMS_DECODE_INVERT,
are created for platform to register decode map conveniently.

In order to cope with some special case, a platform specific fixup()
function is also available to use.

The series also added the imx7ulp pinctrl support which only supports
generic pin config.

ChangeLog:
v1->v2:
 Minor changes including:
 * comments/commit messages improvement
 * add more descriptions in binding doc
 * move dt-bindings/pinctrl/imx7ulp-pinfunc.h to arch/arm/boot/dts
 See individual for details.
 * Patch 5 moved to patch 1 in new series

Dong Aisheng (5):
  pinctrl: imx: fix debug message for SHARE_MUX_CONF_REG case
  pinctrl: imx: add generic pin config core support
  pinctrl: imx: add soc specific mux_mode mask and shift property
  dt-bindings: pinctrl: add imx7ulp pinctrl binding doc
  pinctrl: imx: add imx7ulp driver

 .../bindings/pinctrl/fsl,imx7ulp-pinctrl.txt       |  63 +++
 arch/arm/boot/dts/imx7ulp-pinfunc.h                | 468 +++++++++++++++++++++
 drivers/pinctrl/freescale/Kconfig                  |   9 +-
 drivers/pinctrl/freescale/Makefile                 |   1 +
 drivers/pinctrl/freescale/pinctrl-imx.c            | 130 +++++-
 drivers/pinctrl/freescale/pinctrl-imx.h            |  29 ++
 drivers/pinctrl/freescale/pinctrl-imx7ulp.c        | 358 ++++++++++++++++
 drivers/pinctrl/freescale/pinctrl-vf610.c          |   2 +
 8 files changed, 1040 insertions(+), 20 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx7ulp-pinctrl.txt
 create mode 100644 arch/arm/boot/dts/imx7ulp-pinfunc.h
 create mode 100644 drivers/pinctrl/freescale/pinctrl-imx7ulp.c

-- 
2.7.4


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

end of thread, other threads:[~2017-05-25  6:48 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-19  7:05 [PATCH V2 0/5] pinctrl: imx: add generic pin config and imx7ulp support Dong Aisheng
2017-05-19  7:05 ` [PATCH V2 1/5] pinctrl: imx: fix debug message for SHARE_MUX_CONF_REG case Dong Aisheng
2017-05-21  9:27   ` Shawn Guo
2017-05-22  9:02   ` Linus Walleij
2017-05-19  7:05 ` [PATCH V2 2/5] pinctrl: imx: add generic pin config core support Dong Aisheng
2017-05-21  9:27   ` Shawn Guo
2017-05-22  9:04   ` Linus Walleij
2017-05-19  7:05 ` [PATCH V2 3/5] pinctrl: imx: add soc specific mux_mode mask and shift property Dong Aisheng
2017-05-21  9:28   ` Shawn Guo
2017-05-22  9:06   ` Linus Walleij
2017-05-19  7:05 ` [PATCH V2 4/5] dt-bindings: pinctrl: add imx7ulp pinctrl binding doc Dong Aisheng
     [not found]   ` <1495177545-23006-5-git-send-email-aisheng.dong-3arQi8VN3Tc@public.gmane.org>
2017-05-21  9:30     ` Shawn Guo
2017-05-21  9:40       ` A.S. Dong
     [not found]         ` <AM3PR04MB306654DEA7C2B7676D5C0EC80FB0-f56W/S9L6NSIzFHTN1kKrAfhPeD8jYilXA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2017-05-21 11:00           ` Shawn Guo
2017-05-22 16:15     ` Stefan Agner
2017-05-23 10:37       ` A.S. Dong
2017-05-25  3:16         ` Shawn Guo
2017-05-25  5:04           ` A.S. Dong
     [not found]             ` <AM3PR04MB3068FA0B94C9B0D6269FC9C80FF0-f56W/S9L6NSIzFHTN1kKrAfhPeD8jYilXA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2017-05-25  6:23               ` Shawn Guo
2017-05-25  6:48                 ` Stefan Agner
2017-05-22  9:27   ` Linus Walleij
     [not found]     ` <CACRpkdb6B-f0uHUo9ecUmGCzY8GfFbCjNtJFeQJqtKEYwyB87A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-22 12:30       ` A.S. Dong
2017-05-19  7:05 ` [PATCH V2 5/5] pinctrl: imx: add imx7ulp driver Dong Aisheng
2017-05-21  9:31   ` Shawn Guo
2017-05-23  7:41 ` [PATCH V2 0/5] pinctrl: imx: add generic pin config and imx7ulp support Linus Walleij
2017-05-23  9:17   ` A.S. Dong

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