Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1225945 > unrolled thread

[PATCH 0/9] Arizona Extcon Bug Fixes and Improvements

Started byCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
First post2015-09-16 12:20 +0200
Last post2015-09-16 12:30 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/9] Arizona Extcon Bug Fixes and Improvements Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-09-16 12:20 +0200
    [PATCH 7/9] extcon: arizona: Ignore jd_invert for MICD_CLAMP_STS Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-09-16 12:30 +0200

#1225945 — [PATCH 0/9] Arizona Extcon Bug Fixes and Improvements

FromCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Date2015-09-16 12:20 +0200
Subject[PATCH 0/9] Arizona Extcon Bug Fixes and Improvements
Message-ID<q9hP4-1id-17@gated-at.bofh.it>
Hi,

Ok I have split these patches out into 2 chains; this chain
contains no device tree changes so that should let us merge
these now and at least get the benefit of the bug fixes
etc. whilst we work on getting the necessary ACKs for the
DT changes. The DT changes themselves should be simpler to
merge as there are no build dependencies there between the
extcon and MFD patches so they can just each go through
their respective trees. Whereas this chain needs to all go
through one tree.

These patches add support for the ADC mode microphone
detection, and the general purpose switch for pop
suppression. The bug fixes include fixing the headphone
detection accuracy at the top end of the range and some
corrections around the use of the microphone clamps.

Thanks,
Charles

Charles Keepax (8):
  mfd: arizona: Add registers for ADC microphone detection
  mfd: arizona: Add register bits for general purpose switch
  mfd: arizona: Add TST_CAP bits for headphone detection
  extcon: arizona: Add support for new ADC value mic detect
  extcon: arizona: Add support for general purpose switch
  extcon: arizona: Additional settings to improve accuracy of HP detect
  extcon: arizona: Use the micd_clamp for interrupts if it is available
  extcon: arizona: Don't disable debounce for inverted jacks

Nariman Poushin (1):
  extcon: arizona: Ignore jd_invert for MICD_CLAMP_STS

 drivers/extcon/extcon-arizona.c       |  106 +++++++++++++++++++++++++++------
 drivers/mfd/wm5110-tables.c           |    6 ++
 include/dt-bindings/mfd/arizona.h     |    2 +
 include/linux/mfd/arizona/pdata.h     |    6 ++
 include/linux/mfd/arizona/registers.h |   14 ++++-
 5 files changed, 113 insertions(+), 21 deletions(-)

-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1225969 — [PATCH 7/9] extcon: arizona: Ignore jd_invert for MICD_CLAMP_STS

FromCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Date2015-09-16 12:30 +0200
Subject[PATCH 7/9] extcon: arizona: Ignore jd_invert for MICD_CLAMP_STS
Message-ID<q9i8r-1Fl-25@gated-at.bofh.it>
In reply to#1225945
From: Nariman Poushin <nariman@opensource.wolfsonmicro.com>

The polarity of MICD_CLAMP_STS does not change when different clamp
modes are used, this patch corrects this issue.

Signed-off-by: Nariman Poushin <nariman@opensource.wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
---
 drivers/extcon/extcon-arizona.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index 6d35147b..ece5892 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -1059,10 +1059,7 @@ static irqreturn_t arizona_jackdet(int irq, void *data)
 
 	if (arizona->pdata.jd_gpio5) {
 		mask = ARIZONA_MICD_CLAMP_STS;
-		if (arizona->pdata.jd_invert)
-			present = ARIZONA_MICD_CLAMP_STS;
-		else
-			present = 0;
+		present = 0;
 	} else {
 		mask = ARIZONA_JD1_STS;
 		if (arizona->pdata.jd_invert)
-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web