Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752234AbbLNCEI (ORCPT ); Sun, 13 Dec 2015 21:04:08 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:37353 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751567AbbLNCEF convert rfc822-to-8bit (ORCPT ); Sun, 13 Dec 2015 21:04:05 -0500 X-AuditID: cbfee68f-f793a6d000001364-ad-566e2393c0c2 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8BIT Message-id: <566E238E.4050007@samsung.com> Date: Mon, 14 Dec 2015 11:03:58 +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 Cc: myungjoo.ham@samsung.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patches@opensource.wolfsonmicro.com Subject: Re: [PATCH 2/2] extcon: arizona: Update device tree binding for mic detect configurations References: <1449767299-29691-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> <1449767299-29691-2-git-send-email-ckeepax@opensource.wolfsonmicro.com> In-reply-to: <1449767299-29691-2-git-send-email-ckeepax@opensource.wolfsonmicro.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrOIsWRmVeSWpSXmKPExsWyRsSkRHeycl6YQXsTl8W/KTfYLeYfOcdq cXnXHDaL240r2CyWv/3P5sDq8XLibzaPvi2rGD0+b5ILYI7isklJzcksSy3St0vgyrj5cw97 wQO+imM/frA3MHbwdDFyckgImEj0HlnPDmGLSVy4t56ti5GLQ0hgBaNE862bTDBF8w7MYoJI zGKU6H/wGayDV0BQ4sfkeywgNrOAusSkeYuYIWwRiQW9bVC2tsSyha+ZIZofMErc/riEBaJZ S+LS2bdANgcHi4CqxMHz7iBhNqDw/hc32EDCogIREt0nKkHCIgIWElOW3IIaWSuxbPsrMFtY IEXi1+L/UOPnM0ps2DIdLM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jRFOi9icxSosn5wESSVxJvaGxiZmRpZG5oYWRsriTO u+9SZJiQQHpiSWp2ampBahFMHxMHp1QD4/rPK0vl94sKvX/wluvotuTUlOmMS8yzN0TcO/V2 Isdq7xtXE/5t/3dg2y8Fmai2/bLH50u6P1r1RugY4+ukw93WPaaf829eeGfwxuLEmQ+SLW5z X4usydomUp4z8db0qYpX5NhynZ4/1ni7+liu4FZdDpmlPTeLPZx81s1K7nHVMLkflSz194wS S3FGoqEWc1FxIgBnKvBy7AIAAA== 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 Content-Length: 2070 Lines: 48 Hi Charles, On 2015년 12월 11일 02:08, Charles Keepax wrote: > Update the device tree binding documentation to include documentation for > the wlf,micd-configs property that is used to specify the configurations > for headset polarity detection (CTIA / OTMP). > > Signed-off-by: Charles Keepax > --- > Documentation/devicetree/bindings/extcon/extcon-arizona.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt > index 238e10e..fd9b898 100644 > --- a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt > +++ b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt > @@ -37,5 +37,13 @@ Optional properties: > milliseconds. > - wlf,micd-force-micbias : Force MICBIAS continuously on during microphone > detection. > + - wlf,micd-configs : Headset polarity configurations (generally used for > + detection of CTIA / OMTP headsets), the field can be of variable length > + but should always be a multiple of 3 cells long, each three cell group > + represents one polarity configuration. > + The first cell defines the accessory detection pin, zero will use MICDET1 > + and all other values will use MICDET2. > + The second cell represents the MICBIAS to be used. > + The third cell represents the value of the micd-pol-gpio pin. I think that you better to add the example using the 'wlf,micd-configs' to improve the understanding of using this property. because the number of 'wlf,micd-configs' value is not fixed. Also, How about do you add the real example for all arizona properties on separate patch? Thanks, Chanwoo Choi > > - wlf,gpsw : Settings for the general purpose switch > -- 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/