Re: [PATCH 1/3] dt/bindings: Add 'nvidia,hd-no-invert' option
From: Stephen Warren <hidden>
Date: 2016-02-22 19:48:52
Also in:
alsa-devel, linux-tegra
From: Stephen Warren <hidden>
Date: 2016-02-22 19:48:52
Also in:
alsa-devel, linux-tegra
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?