Subject: Re: [PATCH v3 2/2] ASoC: dt-bindings: Add Everest ES8326 audio CODEC

Zhu Ning zhuning0077 at gmail.com
Fri Jul 29 09:27:21 CEST 2022


>> +  everest,jack-detect-inverted:
>> +    description:
>> +      Defined to invert the jack detection.
>
>What's the difference with this and bit 3 of everest,jack-pol?
>
>We already have numerous vendor properties for jack detect. Can we come 
>up with something common?
>
>The problem with 'inverted' is it assumes you know the non-inverted 
>state. Better to just state high or low.

This property is in compatible with the property in es8316.c and sof_essx8336.c.
(which is not documented in es8316.yaml, another problem)
There is a quirk in sof_essx8336.c so that when the user find they're having a 
wrong jack insert configuration, they can set the quirk to invert it.


More information about the Alsa-devel mailing list