From: Dong Aisheng <aisheng.dong@nxp.com>
To: linux-gpio@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org, linus.walleij@linaro.org,
shawnguo@kernel.org, stefan@agner.ch, ping.bai@nxp.com,
fugang.duan@nxp.com, kernel@pengutronix.de,
Dong Aisheng <aisheng.dong@nxp.com>
Subject: [PATCH 0/5] pinctrl: imx: add generic pin config and imx7ulp support
Date: Fri, 12 May 2017 20:38:00 +0800 [thread overview]
Message-ID: <1494592686-30967-1-git-send-email-aisheng.dong@nxp.com> (raw)
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.
Dong Aisheng (5):
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
pinctrl: imx: fix debug message for SHARE_MUX_CONF_REG case
.../bindings/pinctrl/fsl,imx7ulp-pinctrl.txt | 56 +++
drivers/pinctrl/freescale/Kconfig | 9 +-
drivers/pinctrl/freescale/Makefile | 1 +
drivers/pinctrl/freescale/pinctrl-imx.c | 128 +++++-
drivers/pinctrl/freescale/pinctrl-imx.h | 29 ++
drivers/pinctrl/freescale/pinctrl-imx7ulp.c | 358 ++++++++++++++++
drivers/pinctrl/freescale/pinctrl-vf610.c | 2 +
include/dt-bindings/pinctrl/imx7ulp-pinfunc.h | 468 +++++++++++++++++++++
8 files changed, 1030 insertions(+), 21 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pinctrl/fsl,imx7ulp-pinctrl.txt
create mode 100644 drivers/pinctrl/freescale/pinctrl-imx7ulp.c
create mode 100644 include/dt-bindings/pinctrl/imx7ulp-pinfunc.h
--
2.7.4
next reply other threads:[~2017-05-12 12:38 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-12 12:38 Dong Aisheng [this message]
2017-05-12 12:38 ` [PATCH 1/5] pinctrl: imx: add generic pin config core support Dong Aisheng
2017-05-15 8:35 ` Shawn Guo
2017-05-15 8:56 ` A.S. Dong
2017-05-15 10:56 ` Shawn Guo
2017-05-15 11:16 ` A.S. Dong
2017-05-15 11:56 ` Shawn Guo
2017-05-15 12:07 ` A.S. Dong
2017-05-12 12:38 ` [PATCH 2/5] pinctrl: imx: add soc specific mux_mode mask and shift property Dong Aisheng
2017-05-15 8:52 ` Shawn Guo
2017-05-15 9:00 ` A.S. Dong
2017-05-15 10:59 ` Shawn Guo
2017-05-15 11:04 ` A.S. Dong
2017-05-12 12:38 ` [PATCH 2/5] pinctrl: pinctrl-imx: " Dong Aisheng
2017-05-12 13:32 ` A.S. Dong
2017-05-12 12:38 ` [PATCH 3/5] dt-bindings: pinctrl: add imx7ulp pinctrl binding doc Dong Aisheng
2017-05-15 11:43 ` Shawn Guo
2017-05-15 12:06 ` A.S. Dong
[not found] ` <AM3PR04MB3069C90F23CF9C9CC84BA7580E10-f56W/S9L6NSIzFHTN1kKrAfhPeD8jYilXA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2017-05-15 12:20 ` Shawn Guo
2017-05-15 12:41 ` A.S. Dong
2017-05-15 12:59 ` Shawn Guo
2017-05-15 13:12 ` A.S. Dong
[not found] ` <1494592686-30967-5-git-send-email-aisheng.dong-3arQi8VN3Tc@public.gmane.org>
2017-05-15 13:31 ` Shawn Guo
2017-05-15 13:32 ` A.S. Dong
2017-05-12 12:38 ` [PATCH 4/5] pinctrl: imx: add imx7ulp driver Dong Aisheng
2017-05-12 12:38 ` [PATCH 5/5] pinctrl: imx: fix debug message for SHARE_MUX_CONF_REG case Dong Aisheng
2017-05-15 12:05 ` Shawn Guo
2017-05-15 12:08 ` A.S. Dong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1494592686-30967-1-git-send-email-aisheng.dong@nxp.com \
--to=aisheng.dong@nxp.com \
--cc=fugang.duan@nxp.com \
--cc=kernel@pengutronix.de \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=ping.bai@nxp.com \
--cc=shawnguo@kernel.org \
--cc=stefan@agner.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).