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

Jonathan Tinkham sctincman at gmail.com
Mon Feb 22 22:12:15 CET 2016


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?



More information about the Alsa-devel mailing list