linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH: V2  0/2] Fix TC35894 gpio interrupt bug
@ 2020-09-03  7:30 dillon.minfei
  2020-09-03  7:30 ` [PATCH: V2 1/2] gpio: tc35894: fix up tc35894 interrupt configuration dillon.minfei
  2020-09-03  7:30 ` [PATCH: V2 2/2] gpio: tc35894: Disable Direct KBD interrupts to enable gpio irq dillon.minfei
  0 siblings, 2 replies; 6+ messages in thread
From: dillon.minfei @ 2020-09-03  7:30 UTC (permalink / raw)
  To: linus.walleij, lee.jones, bgolaszewski
  Cc: linux-gpio, linux-kernel, dillon min

From: dillon min <dillon.minfei@gmail.com>

This patchset intend to fix two bug on tc35894

V2:
1 change V1[1] patch's Fixes tag
2 add DIRECTx register configuration in tc3589x_gpio_irq_sync_unlock()
  to active general purpose gpio mode, else can't read correct
  GPIOMISx to identify which interrupt


V1:

1 offset counting is wrong in tc3589x_gpio_irq_sync_unlock()
2 disable Direct KBD interrupts in gpio-tc3589x's probe(),
  at least have to do this on tc35894, if not, after chip reset,
  IRQST(0x91) will always be 0x20, IRQN always low level,
  can't be cleared. need more test on other tc3589x.


dillon min (2):
  gpio: tc35894: fix up tc35894 interrupt configuration
  gpio: tc35894: Disable Direct KBD interrupts to enable gpio irq

 drivers/gpio/gpio-tc3589x.c | 20 +++++++++++++++++---
 include/linux/mfd/tc3589x.h |  6 ++++++
 2 files changed, 23 insertions(+), 3 deletions(-)

-- 


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

end of thread, other threads:[~2020-09-09  9:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-03  7:30 [PATCH: V2 0/2] Fix TC35894 gpio interrupt bug dillon.minfei
2020-09-03  7:30 ` [PATCH: V2 1/2] gpio: tc35894: fix up tc35894 interrupt configuration dillon.minfei
2020-09-09  9:34   ` Bartosz Golaszewski
2020-09-03  7:30 ` [PATCH: V2 2/2] gpio: tc35894: Disable Direct KBD interrupts to enable gpio irq dillon.minfei
2020-09-08 14:04   ` Lee Jones
2020-09-09  9:33   ` Bartosz Golaszewski

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