From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH 4/5] mfd: arizona: Add micdet ranges and polarity device tree bindings Date: Mon, 23 Sep 2013 15:41:26 -0600 Message-ID: <5240B586.20609@wwwdotorg.org> References: <1379961043-23762-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> <1379961043-23762-4-git-send-email-ckeepax@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1379961043-23762-4-git-send-email-ckeepax-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Charles Keepax Cc: lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, rob-VoJi6FS/r0vR7s880joybQ@public.gmane.org, broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, patches-yzvPICuk2AATkU/dhu1WVueM+bqZidxxQQ4Iyu8u01E@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On 09/23/2013 12:30 PM, Charles Keepax wrote: > Add device tree bindings for the pdata that configures the microphone > button detection and microphone detection polarity configurations. > diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt > + - wlf,micd-ranges : Microphone detection level and key configuration, this > + field can be of variable length but should always be a multiple of 2 cells > + long, each two cell group represents one button configuration > + The first cell is the maximum impedance for this button in ohms > + The second cell the key that should be reported to the input layer Is there a limit on how many ranges can be specified? Are the impedance values arbitrary, or limited to some pre-determined set of values supported by HW? > + - wlf,micd-configs : Headset polarity configurations, the field can be of > + variable length but should always be a multiple of 3 cells long, each two s/two/three/ -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753701Ab3IWVld (ORCPT ); Mon, 23 Sep 2013 17:41:33 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:50972 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752341Ab3IWVlc (ORCPT ); Mon, 23 Sep 2013 17:41:32 -0400 Message-ID: <5240B586.20609@wwwdotorg.org> Date: Mon, 23 Sep 2013 15:41:26 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Charles Keepax CC: lee.jones@linaro.org, sameo@linux.intel.com, rob.herring@calxeda.com, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, rob@landley.net, broonie@kernel.org, patches@opensource.wolfsonmicro.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/5] mfd: arizona: Add micdet ranges and polarity device tree bindings References: <1379961043-23762-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> <1379961043-23762-4-git-send-email-ckeepax@opensource.wolfsonmicro.com> In-Reply-To: <1379961043-23762-4-git-send-email-ckeepax@opensource.wolfsonmicro.com> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/23/2013 12:30 PM, Charles Keepax wrote: > Add device tree bindings for the pdata that configures the microphone > button detection and microphone detection polarity configurations. > diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt > + - wlf,micd-ranges : Microphone detection level and key configuration, this > + field can be of variable length but should always be a multiple of 2 cells > + long, each two cell group represents one button configuration > + The first cell is the maximum impedance for this button in ohms > + The second cell the key that should be reported to the input layer Is there a limit on how many ranges can be specified? Are the impedance values arbitrary, or limited to some pre-determined set of values supported by HW? > + - wlf,micd-configs : Headset polarity configurations, the field can be of > + variable length but should always be a multiple of 3 cells long, each two s/two/three/