Skip to content

pinctl: armada-37xx: fix for pins 32+

[email protected] linux-arm-kernel linux-gpio lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pinctrl: armada-37xx: rename reg-offset functiondrivers/pinctrl/mvebu/pinctrl-armada-37xx.c+8 -80 replies
2/2pinctrl: armada-37xx: fix control of pins 32 and updrivers/pinctrl/mvebu/pinctrl-armada-37xx.c+9 -92 replies

Reviews trailers per patch

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

PatchGregory CLEMENT
SeriesA-b
1/2
2/2A-b

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/2] pinctl: armada-37xx: fix for pins 32+

From: Patrick Williams <[email protected]>

The 37xx GPIO config registers are only 32 bits long and span 2 registers for the NB GPIO controller. The function to calculate the offset was missing the increase to the config register.

I have tested both raw gpio access and interrupts using libgpiod utilities on an Espressonbin.

The first patch is a simple rename of a function because the original name implied it was doing IO itself ("update reg"). This patch could be dropped if undesired.

The second patch contains the fix for GPIOs 32+.

Patrick Williams (2):
pinctrl: armada-37xx: rename reg-offset function
pinctrl: armada-37xx: fix control of pins 32 and up

 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
2.17.2 (Apple Git-113)