ASoC: simple-card-utils: create jack inputs for
authorMark Brown <broonie@kernel.org>
Sat, 28 Jan 2023 10:46:10 +0000 (10:46 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 28 Jan 2023 10:46:10 +0000 (10:46 +0000)
commit6c9802b82f368cfe1dbd0611d0f9ac0b7cfd1ca0
treed3dbc2112b118447220bed8539ba66e77d787917
parentaa9ff6a4955fdba02b54fbc4386db876603703b7
parent087b9dda8658052a33031ef82a8d8ef77a7c94ea
ASoC: simple-card-utils: create jack inputs for

Merge series from Astrid Rost <astrid.rost@axis.com>:

Add a generic way to create jack inputs for auxiliary jack detection
drivers (e.g. via i2c, spi), which are not part of any real codec.
The simple-card can be used as combining card driver to add the jacks,
no new one is required.

Create a jack (for input-events) for jack devices in the auxiliary
device list (aux_devs). A device which returns a valid value on
get_jack_type counts as jack device; set_jack is required
to add the jack to the device.