Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1735769

[PATCH 0/8] pinctrl: meson: clean pin offsets

From Jerome Brunet <jbrunet@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH 0/8] pinctrl: meson: clean pin offsets
Date 2017-09-20 15:40 +0200
Message-ID <urNol-3GY-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The initial goal of this series was move to TEST_N pin from the EE
controller to AO controller, where it belongs. This meant modify the
EE_OFF value.

This offset is a quirk we brought from the vendor driver when it was
initially merged. There no reason to keep this around and we could simply
let pinctrl figure the pin base value.

Removing this offset, while simple, ends up being quite a patch bomb.
This is why I split the change over 5 first patches, so the important
change, patch #1 remains visible. Of course, to avoid breaking bisect,
these first 5 patches should be squashed into one. (If you prefer that I
squash it myself, I may have to send you a PR as the patch would exceed
VGER 100000 characters limit)

The last change is this series, while not directly related, also requires
to adjust the gpio-line-names property in DT. Having these changes going
together would make it easier to coordinate the DTS changes.

This was changeset has been test on gxbb P200, gxl libretech-cc.  It was
also boot tested on meson8 (Thx Martin!)

Jerome Brunet (8):
  pinctrl: meson: remove offset from pinctrl
  pinctrl: meson: remove offset continued - gxbb
  pinctrl: meson: remove offset continued - gxl
  pinctrl: meson: remove offset continued - meson8
  pinctrl: meson: remove offset continued - meson8b
  pinctrl: meson: get rid of pin_base
  pinctrl: meson-gx: TEST_N belongs to the AO controller
  pinctrl: meson-gxbb: add missing GPIOX_22 pin

 drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 859 +++++++++++++------------
 drivers/pinctrl/meson/pinctrl-meson-gxl.c  | 818 ++++++++++++------------
 drivers/pinctrl/meson/pinctrl-meson.c      |  48 +-
 drivers/pinctrl/meson/pinctrl-meson.h      |   8 +-
 drivers/pinctrl/meson/pinctrl-meson8.c     | 964 ++++++++++++++---------------
 drivers/pinctrl/meson/pinctrl-meson8b.c    | 780 ++++++++++++-----------
 include/dt-bindings/gpio/meson-gxbb-gpio.h |   2 +-
 include/dt-bindings/gpio/meson-gxl-gpio.h  |   2 +-
 8 files changed, 1713 insertions(+), 1768 deletions(-)

-- 
2.13.5

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/8] pinctrl: meson: clean pin offsets Jerome Brunet <jbrunet@baylibre.com> - 2017-09-20 15:40 +0200
  [PATCH 3/8] pinctrl: meson: remove offset continued - gxl Jerome Brunet <jbrunet@baylibre.com> - 2017-09-20 15:40 +0200
  [PATCH 1/8] pinctrl: meson: remove offset from pinctrl Jerome Brunet <jbrunet@baylibre.com> - 2017-09-20 15:50 +0200
  [PATCH 5/8] pinctrl: meson: remove offset continued - meson8b Jerome Brunet <jbrunet@baylibre.com> - 2017-09-20 15:50 +0200
  [PATCH 8/8] pinctrl: meson-gxbb: add missing GPIOX_22 pin Jerome Brunet <jbrunet@baylibre.com> - 2017-09-20 15:50 +0200
  [PATCH 2/8] pinctrl: meson: remove offset continued - gxbb Jerome Brunet <jbrunet@baylibre.com> - 2017-09-20 15:50 +0200
  [PATCH 6/8] pinctrl: meson: get rid of pin_base Jerome Brunet <jbrunet@baylibre.com> - 2017-09-20 15:50 +0200
  [PATCH 7/8] pinctrl: meson-gx: TEST_N belongs to the AO controller Jerome Brunet <jbrunet@baylibre.com> - 2017-09-20 15:50 +0200
  Re: [PATCH 0/8] pinctrl: meson: clean pin offsets Linus Walleij <linus.walleij@linaro.org> - 2017-09-21 14:30 +0200
    Re: [PATCH 0/8] pinctrl: meson: clean pin offsets Jerome Brunet <jbrunet@baylibre.com> - 2017-09-21 17:10 +0200
      Re: [PATCH 0/8] pinctrl: meson: clean pin offsets Linus Walleij <linus.walleij@linaro.org> - 2017-09-22 10:50 +0200

csiph-web