From: Jerome Brunet <jbrunet@baylibre.com>
To: Linus Walleij <linus.walleij@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Carlo Caione <carlo@caione.org>
Cc: Jerome Brunet <jbrunet@baylibre.com>,
linux-gpio@vger.kernel.org, linux-amlogic@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] pinctrl: meson: prepare for new SoC
Date: Mon, 9 Oct 2017 12:17:45 +0200 [thread overview]
Message-ID: <20171009101747.16940-1-jbrunet@baylibre.com> (raw)
The goal of this patchset is to prepare meson pinctrl driver to
add a new meson SoC support. This new SoC will share the same pinconf/gpio
registers but the pinmux part will be slightly different.
First patch allows to compile and ship only the necessary pinctrl drivers,
depending on the architecture and configuration needs. This should save
a bit of memory.
Second patch provide a way to deal with a different pinmux scheme, while
reusing most of the meson pinctrl driver.
Linus, this series depends on
* The offset clean-up series you've already merged [0]
* the fixup regarding pin_base [1]
[0]: https://lkml.kernel.org/r/20170920133927.17390-1-jbrunet@baylibre.com
[1]: https://lkml.kernel.org/r/20171006085407.27905-1-jbrunet@baylibre.com
Jerome Brunet (2):
pinctrl: meson: separate soc drivers
pinctrl: meson: rework pinmux ops
drivers/pinctrl/Kconfig | 11 +--
drivers/pinctrl/meson/Kconfig | 43 +++++++++
drivers/pinctrl/meson/Makefile | 9 +-
drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 28 +++++-
drivers/pinctrl/meson/pinctrl-meson-gxl.c | 28 +++++-
drivers/pinctrl/meson/pinctrl-meson-pmx.c | 107 +++++++++++++++++++++
drivers/pinctrl/meson/pinctrl-meson-pmx.h | 48 ++++++++++
drivers/pinctrl/meson/pinctrl-meson.c | 147 ++---------------------------
drivers/pinctrl/meson/pinctrl-meson.h | 42 +++------
drivers/pinctrl/meson/pinctrl-meson8.c | 28 +++++-
drivers/pinctrl/meson/pinctrl-meson8b.c | 28 +++++-
11 files changed, 333 insertions(+), 186 deletions(-)
create mode 100644 drivers/pinctrl/meson/Kconfig
create mode 100644 drivers/pinctrl/meson/pinctrl-meson-pmx.c
create mode 100644 drivers/pinctrl/meson/pinctrl-meson-pmx.h
--
2.13.6
next reply other threads:[~2017-10-09 10:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-09 10:17 Jerome Brunet [this message]
2017-10-09 10:17 ` [PATCH 1/2] pinctrl: meson: separate soc drivers Jerome Brunet
2017-10-09 11:35 ` Neil Armstrong
2017-10-09 13:11 ` Jerome Brunet
2017-10-11 2:55 ` Yixun Lan
2017-10-12 6:09 ` kbuild test robot
2017-10-12 11:12 ` kbuild test robot
2017-10-09 10:17 ` [PATCH 2/2] pinctrl: meson: rework pinmux ops Jerome Brunet
2017-10-09 11:42 ` Neil Armstrong
2017-10-09 13:25 ` Jerome Brunet
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=20171009101747.16940-1-jbrunet@baylibre.com \
--to=jbrunet@baylibre.com \
--cc=carlo@caione.org \
--cc=khilman@baylibre.com \
--cc=linus.walleij@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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).