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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oh! I see now. That should actually work, will test quickly and see.

On 02/22/2016 12:48 PM, Stephen Warren wrote:
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?

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux