Messages in this thread | | | Date | Thu, 21 May 2015 12:10:28 +0100 | From | Mark Brown <> | Subject | Re: [alsa-devel] [PATCH 1/4] ASoC: rockchip: add rockchip machine driver |
| |
On Tue, May 19, 2015 at 09:37:58AM -0700, Dylan Reid wrote:
> Can the jacks can each be an aux_dev? The jack driver would create > the jack at probe time and register it with the card in aux_dev->init. > cht_bsw_max98090_ti.c is already doing something similar, although all > contained in the machine driver.
Yes, that's just a CODEC driver registered without any DAIs connected so it'd just be another CODEC driver.
> Then simple-card can have an optional property to specify aux devs. A > GPIO jack device could handle simple switch-based jack detection.
That's useful anyway for external headphone/speaker drivers. [unhandled content-type:application/pgp-signature] | |