From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751737AbbIKHwq (ORCPT ); Fri, 11 Sep 2015 03:52:46 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:57289 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751215AbbIKHwo (ORCPT ); Fri, 11 Sep 2015 03:52:44 -0400 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 X-AuditID: cbfee68d-f79106d00000728c-d0-55f2884a0dd8 Content-transfer-encoding: 8BIT Message-id: <55F2884A.5000707@samsung.com> Date: Fri, 11 Sep 2015 16:52:42 +0900 From: Chanwoo Choi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 To: Charles Keepax , lee.jones@linaro.org Cc: myungjoo.ham@samsung.com, sameo@linux.intel.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patches@opensource.wolfsonmicro.com Subject: Re: [PATCH RESEND 5/5] mfd: arizona: Update DT doc for new mic detection bindings References: <1441787690-30148-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> <1441787690-30148-5-git-send-email-ckeepax@opensource.wolfsonmicro.com> In-reply-to: <1441787690-30148-5-git-send-email-ckeepax@opensource.wolfsonmicro.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAIsWRmVeSWpSXmKPExsWyRsSkQNer41Oowe+tIhb/ptxgt5h/5Byr xf2vRxktLu+aw2Zxu3EFm8Xyt//ZLE53szqwe9y5tofNY97JQI+XE3+zefRtWcXo8XmTXABr FJdNSmpOZllqkb5dAlfGleUnGAvWiFbsufORrYFxmWAXIyeHhICJxM9jHSwQtpjEhXvr2boY uTiEBFYwSrzY+5sJpmjd6ylMEIlZjBI/Xz9mBknwCghK/Jh8D6ibg4NZQF7iyKVskDCzgLrE pHmLmCHqHzBKNC9ayw5RryVxZGIzWC+LgKrE0yd7GE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MqRonUguSC4qT0XMO81HK94sTc4tK8dL3k/NxNjOCofia1g/Hg LvdDjAIcjEo8vBaqn0KFWBPLiitzDzFKcDArifAayAGFeFMSK6tSi/Lji0pzUosPMZoC/TeR WUo0OR+YcPJK4g2NTcyMLI3MDS2MjM2VxHllVz4LFRJITyxJzU5NLUgtgulj4uCUamCse5ry 7dHJVWfdRUvfqe40KXsrVn70zSHzk/8tP9go7NzwLT+jgeGf5Ta1rnfLJscvCxO2V7vY5u/z pN/4EUeIWPy99O6FJrMtD130uSjevplvcYD6cX1tf/utsYwe/B/iEgI8QoJMtY6csntVdZQj ufz3vO8t7vxmtpvvXjd9/Gj++ffivruUWIozEg21mIuKEwGcuEK5AAMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015년 09월 09일 17:34, Charles Keepax wrote: > Signed-off-by: Charles Keepax > --- > Documentation/devicetree/bindings/mfd/arizona.txt | 21 +++++++++++++++++++++ > include/dt-bindings/mfd/arizona.h | 5 +++++ > 2 files changed, 26 insertions(+), 0 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt > index a8fee60..b98a11b 100644 > --- a/Documentation/devicetree/bindings/mfd/arizona.txt > +++ b/Documentation/devicetree/bindings/mfd/arizona.txt > @@ -73,6 +73,27 @@ Optional properties: > If this node is not mentioned or if the value is unknown, then > headphone detection mode is set to HPDETL. > > + - wlf,micd-software-compare : Use a software comparison to determine mic > + presence > + - wlf,micd-detect-debounce : Additional software microphone detection > + debounce specified in milliseconds. > + - wlf,micd-pol-gpio : GPIO specifier for the GPIO controlling the headset > + polarity if one exists. > + - wlf,micd-bias-start-time : Time allowed for MICBIAS to startup prior to > + performing microphone detection, specified as per the ARIZONA_MICD_TIME_XXX > + defines. > + - wlf,micd-rate : Delay between successive microphone detection measurements, > + specified as per the ARIZONA_MICD_TIME_XXX defines. > + - wlf,micd-dbtime : Microphone detection hardware debounces specified as the > + number of measurements to take, valid values being 2 and 4. > + - wlf,micd-timeout : Timeout for microphone detection, specified in > + milliseconds. > + - wlf,micd-force-micbias : Force MICBIAS continuously on during microphone > + detection. > + > + - wlf,gpsw : Settings for the general purpose switch, set as one of the > + ARIZONA_GPSW_XXX defines. > + > - DCVDD-supply, MICVDD-supply : Power supplies, only need to be specified if > they are being externally supplied. As covered in > Documentation/devicetree/bindings/regulator/regulator.txt > diff --git a/include/dt-bindings/mfd/arizona.h b/include/dt-bindings/mfd/arizona.h > index c40f665..dedf46f 100644 > --- a/include/dt-bindings/mfd/arizona.h > +++ b/include/dt-bindings/mfd/arizona.h > @@ -110,4 +110,9 @@ > #define ARIZONA_ACCDET_MODE_HPM 4 > #define ARIZONA_ACCDET_MODE_ADC 7 > > +#define ARIZONA_GPSW_OPEN 0 > +#define ARIZONA_GPSW_CLOSED 1 > +#define ARIZONA_GPSW_CLAMP_ENABLED 2 > +#define ARIZONA_GPSW_CLAMP_DISABLED 3 > + > #endif > Reviewed-by: Chanwoo Choi You may need the ack message by DT maintainer. Thanks, Chanwoo Choi