Skip to content

pinctrl: meson: prepare for new SoC

Jerome Brunet linux-amlogic linux-gpio lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 1 replySuperseded
  3. v12 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pinctrl: meson: separate soc driversdrivers/pinctrl/Kconfig drivers/pinctrl/meson/Kconfig drivers/pinctrl/meson/Makefile +6 more+139 -791 reply
2/2pinctrl: meson: rework pinmux opsdrivers/pinctrl/meson/Kconfig drivers/pinctrl/meson/Makefile drivers/pinctrl/meson/pinctrl-meson-gxbb.c +7 more+194 -1091 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchNeil ArmstrongKevin Hilman
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] pinctrl: meson: prepare for new SoC

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, FYI, this series has been rebased on your devel branch

Change since v2: [1]
* Fix compilation issue on i386 reported by kbuild test robot

Change since v1: [0]
* Use of_device_get_match_data() in patch
* Change pmx naming scheme for the SoC parts

[0]: https://lkml.kernel.org/r/20171009101747.16940-1-jbrunet at baylibre.com [1]: https://lkml.kernel.org/r/20171011120230.30483-1-jbrunet at baylibre.com

Jerome Brunet (2):
pinctrl: meson: separate soc drivers
pinctrl: meson: rework pinmux ops

 drivers/pinctrl/Kconfig                    |  11 +--
 drivers/pinctrl/meson/Kconfig              |  41 ++++++++
 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.c      | 150 +++--------------------------
 drivers/pinctrl/meson/pinctrl-meson.h      |  42 +++-----
 drivers/pinctrl/meson/pinctrl-meson8-pmx.c | 108 +++++++++++++++++++++
 drivers/pinctrl/meson/pinctrl-meson8-pmx.h |  48 +++++++++
 drivers/pinctrl/meson/pinctrl-meson8.c     |  28 +++++-
 drivers/pinctrl/meson/pinctrl-meson8b.c    |  28 +++++-
 11 files changed, 333 insertions(+), 188 deletions(-)
 create mode 100644 drivers/pinctrl/meson/Kconfig
 create mode 100644 drivers/pinctrl/meson/pinctrl-meson8-pmx.c
 create mode 100644 drivers/pinctrl/meson/pinctrl-meson8-pmx.h
Signature · 1 line
2.13.6