All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pinctl: armada-37xx: fix for pins 32+
@ 2019-06-18 16:01 ` alpawi
  0 siblings, 0 replies; 16+ messages in thread
From: alpawi @ 2019-06-18 16:01 UTC (permalink / raw)
  Cc: Benjamin Herrenschmidt, Patrick Williams, Jason Cooper,
	Andrew Lunn, Gregory Clement, Sebastian Hesselbarth,
	Linus Walleij, linux-arm-kernel, linux-gpio, linux-kernel

From: Patrick Williams <alpawi@amazon.com>

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(-)

-- 
2.17.2 (Apple Git-113)


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2019-10-04 21:54 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-18 16:01 [PATCH 0/2] pinctl: armada-37xx: fix for pins 32+ alpawi
2019-06-18 16:01 ` alpawi
2019-06-18 16:01 ` [PATCH 1/2] pinctrl: armada-37xx: rename reg-offset function alpawi
2019-06-18 16:01   ` alpawi
2019-06-18 16:01 ` [PATCH 2/2] pinctrl: armada-37xx: fix control of pins 32 and up alpawi
2019-06-18 16:01   ` alpawi
2019-10-01 15:46   ` [PATCH v2] " Patrick Williams
2019-10-01 15:46     ` Patrick Williams
2019-10-04 21:54     ` Linus Walleij
2019-10-04 21:54       ` Linus Walleij
2019-06-25 12:31 ` [PATCH 0/2] pinctl: armada-37xx: fix for pins 32+ Linus Walleij
2019-06-25 12:31   ` Linus Walleij
2019-06-25 13:38   ` Gregory CLEMENT
2019-06-25 13:38     ` Gregory CLEMENT
2019-06-25 14:25     ` Patrick Williams
2019-06-25 14:25       ` Patrick Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.