Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932153AbbLNJS5 (ORCPT ); Mon, 14 Dec 2015 04:18:57 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:33989 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752578AbbLNJSz (ORCPT ); Mon, 14 Dec 2015 04:18:55 -0500 Authentication-Results: ppops.net; spf=none smtp.mail=ckeepax@opensource.wolfsonmicro.com Date: Mon, 14 Dec 2015 09:18:50 +0000 From: Charles Keepax To: Chanwoo Choi CC: , , , Subject: Re: [PATCH 2/2] extcon: arizona: Update device tree binding for mic detect configurations Message-ID: <20151214091850.GS6058@localhost.localdomain> References: <1449767299-29691-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> <1449767299-29691-2-git-send-email-ckeepax@opensource.wolfsonmicro.com> <566E238E.4050007@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <566E238E.4050007@samsung.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1507310007 definitions=main-1512140166 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2206 Lines: 47 On Mon, Dec 14, 2015 at 11:03:58AM +0900, Chanwoo Choi wrote: > 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? Yeah that seems sensible I will do a patch to add an example to this file. Thanks, Charles -- 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/