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


Groups > linux.kernel > #1273256

[PATCH v3 1/6] extcon: arizona: Add device binding to enable ADC mode micdet

From Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Newsgroups linux.kernel
Subject [PATCH v3 1/6] extcon: arizona: Add device binding to enable ADC mode micdet
Date 2015-11-19 17:10 +0100
Message-ID <qwzWx-38R-13@gated-at.bofh.it> (permalink)
References <qwzWx-38R-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add a simple boolean binding to turn on and off the use of ADC
microphone detection mode to determine 3/4 pole jack.

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

diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index e4890dd..af3afee 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -1236,6 +1236,9 @@ static int arizona_extcon_device_get_pdata(struct arizona *arizona)
 	pdata->micd_force_micbias = device_property_read_bool(arizona->dev,
 						"wlf,micd-force-micbias");
 
+	pdata->micd_software_compare = device_property_read_bool(arizona->dev,
+						"wlf,micd-software-compare");
+
 	return 0;
 }
 
-- 
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/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/6] Arizona Extcon Update Device Bindings Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-11-19 17:10 +0100
  [PATCH v3 5/6] extcon: arizona: Update DT binding documentation for mic detection Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-11-19 17:10 +0100
    Re: [PATCH v3 5/6] extcon: arizona: Update DT binding documentation  for mic detection Rob Herring <robh@kernel.org> - 2015-11-20 17:00 +0100
      Re: [PATCH v3 5/6] extcon: arizona: Update DT binding  documentation for mic detection Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-11-20 17:40 +0100
  [PATCH v3 1/6] extcon: arizona: Add device binding to enable ADC mode micdet Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-11-19 17:10 +0100
  [PATCH v3 3/6] extcon: arizona: Add device binding for jack detect polarity inversion Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-11-19 17:10 +0100
  [PATCH v3 6/6] extcon: arizona: Update DT binding documentation for jack detection Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2015-11-19 17:10 +0100
    Re: [PATCH v3 6/6] extcon: arizona: Update DT binding documentation  for jack detection Chanwoo Choi <cw00.choi@samsung.com> - 2015-11-20 03:10 +0100
  Re: [PATCH v3 0/6] Arizona Extcon Update Device Bindings Chanwoo Choi <cw00.choi@samsung.com> - 2015-11-20 03:10 +0100

csiph-web