Skip to content

Allow gpio-mmio to co-exist with pinctrl driver

Kun Yi linux-gpio lkml openbmc 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/2gpio: gpio-mmio: Allow volatile shadow regsdrivers/gpio/gpio-mmio.c include/linux/gpio/driver.h+36 -161 reply
2/2pinctrl: pinctrl-npcm7xx: Set BGPIOF_VOLATILE_REGdrivers/pinctrl/nuvoton/pinctrl-npcm7xx.c+2 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Allow gpio-mmio to co-exist with pinctrl driver

This patchset is to resolve an issue found with Nuvoton pinctrl driver when it uses a generic GPIO interface. Since the generic GPIO driver stores the bgpio_data and bgpio_dir shadow register values and later on modify based on the stored values, any change to the pin states in between by the pinctrl driver is lost.

Kun Yi (2):
gpio: gpio-mmio: Allow volatile shadow regs
pinctrl: pinctrl-npcm7xx: Set BGPIOF_VOLATILE_REG

 drivers/gpio/gpio-mmio.c                  | 50 +++++++++++++++--------
 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c |  3 +-
 include/linux/gpio/driver.h               |  2 +
 3 files changed, 38 insertions(+), 17 deletions(-)
Signature · 1 line
2.19.1.331.ge82ca0e54c-goog