linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Allow gpio-mmio to co-exist with pinctrl driver
@ 2018-10-17 21:30 Kun Yi
  2018-10-17 21:30 ` [PATCH 1/2] gpio: gpio-mmio: Allow volatile shadow regs Kun Yi
  2018-10-17 21:30 ` [PATCH 2/2] pinctrl: pinctrl-npcm7xx: Set BGPIOF_VOLATILE_REG Kun Yi
  0 siblings, 2 replies; 7+ messages in thread
From: Kun Yi @ 2018-10-17 21:30 UTC (permalink / raw)
  To: linus.walleij, linux-gpio, tmaimon77
  Cc: linux-kernel, avifishman70, openbmc, Kun Yi

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

-- 
2.19.1.331.ge82ca0e54c-goog


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

end of thread, other threads:[~2018-10-31  5:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 21:30 [PATCH 0/2] Allow gpio-mmio to co-exist with pinctrl driver Kun Yi
2018-10-17 21:30 ` [PATCH 1/2] gpio: gpio-mmio: Allow volatile shadow regs Kun Yi
2018-10-18 11:49   ` kbuild test robot
2018-10-30 12:06   ` Linus Walleij
2018-10-17 21:30 ` [PATCH 2/2] pinctrl: pinctrl-npcm7xx: Set BGPIOF_VOLATILE_REG Kun Yi
2018-10-30 12:08   ` Linus Walleij
2018-10-31  5:06     ` Kun Yi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).