Skip to contentSkip to conversation

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

DISCUSSION Zhu Ning 1 participant 1 message Jul 29, 2022

lore
Share & tools
lore

Zhu Ning

author
#0 lore raw
Quoted 11 lines

Review

Quoted 3 lines
(quoted diff) +3 -0
+  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.