Skip to content

pinctrl: meson: clean pin offsets

Jerome Brunet linux-amlogic linux-arm-kernel linux-devicetree linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8pinctrl: meson: remove offset from pinctrldrivers/pinctrl/meson/pinctrl-meson.c drivers/pinctrl/meson/pinctrl-meson.h+6 -202 replies
2/8pinctrl: meson: remove offset continued - gxbbdrivers/pinctrl/meson/pinctrl-meson-gxbb.c+425 -4291 reply
3/8pinctrl: meson: remove offset continued - gxldrivers/pinctrl/meson/pinctrl-meson-gxl.c+402 -4121 reply
4/8pinctrl: meson: remove offset continued - meson8drivers/pinctrl/meson/pinctrl-meson8.c+476 -4881 reply
5/8pinctrl: meson: remove offset continued - meson8bdrivers/pinctrl/meson/pinctrl-meson8b.c+388 -3921 reply
6/8pinctrl: meson: get rid of pin_basedrivers/pinctrl/meson/pinctrl-meson-gxbb.c drivers/pinctrl/meson/pinctrl-meson-gxl.c drivers/pinctrl/meson/pinctrl-meson.c +2 more+13 -251 reply
7/8pinctrl: meson-gx: TEST_N belongs to the AO controllerdrivers/pinctrl/meson/pinctrl-meson-gxbb.c drivers/pinctrl/meson/pinctrl-meson-gxl.c include/dt-bindings/gpio/meson-gxbb-gpio.h +1 more+10 -101 reply
8/8pinctrl: meson-gxbb: add missing GPIOX_22 pindrivers/pinctrl/meson/pinctrl-meson-gxbb.c+1 -01 reply

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin BlumenstinglKevin Hilman
SeriesR-b R-b
1/8T-b
2/8
3/8
4/8T-b
5/8T-b
6/8T-b
7/8
8/8

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

Read the v1 thread

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

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(-)
Signature · 1 line
2.13.5