10 Sep
2020
10 Sep
'20
1:02 p.m.
On Wed, Sep 09, 2020 at 11:49:22AM -0600, Rob Herring wrote:
I would assume a codec to be similar. The codec node (the alc5682 node) should have any jack related properties (or possibly implicitly support it by default).
This isn't always clear - some jack detection is implemented entirely by integrating simple components like GPIOs and ADCs or by integrating limited support in one device with some external components to get more features (like bolting an ADC on the side for button detect). I would not expect to ever see a device with jack detection support that could just be unconditionally enabled, it will always require some board level wiring up to provide the connections required to function.