[alsa-devel] [PATCH 1/3] dt/bindings: Add 'nvidia, hd-no-invert' option

Stephen Warren swarren at wwwdotorg.org
Mon Feb 22 20:48:52 CET 2016


On 02/21/2016 11:24 PM, Jonathan Tinkham wrote:
> Document an option to not invert the headphone detect GPIO signal
>

> diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-max98090.txt b/Documentation/devicetree/bindings/sound/nvidia,tegra-audio-max98090.txt

>   Optional properties:
>   - nvidia,hp-det-gpios : The GPIO that detect headphones are plugged in
> +- nvidia,hd-no-invert : Do not invert headphone detect signal

We should use "hp" not "hd" to be consistent with other properties.

Why can't we use the GPIO specifier's ACTIVE_LOW/ACTIVE_HIGH flag to 
represent the polarity of this signal?


More information about the Alsa-devel mailing list