lkml.org 
[lkml]   [2017]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHv2 0/4] Regmap IRQ fix and related changes CPCAP
Date
Hi all,

Here's v2 set of fixes to make CPCAP PMIC interrupts work reliably when
used with multiple drivers. While working on the ADC, charger and
USB PHY drivers I noticed that the PMIC interrupt to the SoC would
eventually stop working.

All these can wait for v4.12 merge window as these issues don't show
up currently. Two of the patches are also harmless currently, so I've
kept them in this series to avoid pointless merge conflicts.

Regards,

Tony

Changes since v1:

- Updated regap-irq patch to use out_runtime_put in regmap_irq_thread
also if pm_runtime_get() fails

- Clarify patch description for regmap-irq changes to make clear
this is an issue with the CPCAP PMIC and not SoC GPIO edge/level
handling based on comments from Charles Keepax
<ckeepax@opensource.wolfsonmicro.com>

- Collected acks

Tony Lindgren (4):
regmap: irq: Fix lost interrupts by introducing handle_reread
mfd: cpcap: Use handle_reread flag for interrupts
mfd: cpcap: Use ack_invert interrupts
mfd: cpcap: Fix bad use of IRQ sense register

drivers/base/regmap/regmap-irq.c | 77 +++++++++++++++++++++++++++-------------
drivers/mfd/motorola-cpcap.c | 7 +++-
include/linux/regmap.h | 2 ++
3 files changed, 61 insertions(+), 25 deletions(-)

--
2.11.1

\
 
 \ /
  Last update: 2017-03-22 18:12    [W:0.108 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site