Re: [PATCH 4/5] mfd: arizona: Add micdet ranges and polarity devicetree bindings

From: Stephen Warren
Date: Mon Sep 23 2013 - 17:41:37 EST


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 linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/