ASoC: Intel: bytcr_rt5640: Add support for non ACPI instantiated codec
authorHans de Goede <hdegoede@redhat.com>
Thu, 24 Oct 2024 21:16:14 +0000 (23:16 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 24 Oct 2024 23:50:14 +0000 (00:50 +0100)
commitd48696b915527b5bcdd207a299aec03fb037eb17
tree0a64195e703402f3387968dbc33c94b31ec4b4a2
parent032532f91a1d06d0750f16c49a9698ef5374a68f
ASoC: Intel: bytcr_rt5640: Add support for non ACPI instantiated codec

On some x86 Bay Trail tablets which shipped with Android as factory OS,
the DSDT is so broken that the codec needs to be manually instantatiated
by the special x86-android-tablets.ko "fixup" driver for cases like this.

This means that the codec-dev cannot be retrieved through its ACPI fwnode,
add support to the bytcr_rt5640 machine driver for such manually
instantiated rt5640 i2c_clients.

An example of a tablet which needs this is the Vexia EDU ATLA 10 tablet,
which has been distributed to schools in the Spanish AndalucĂ­a region.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20241024211615.79518-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bytcr_rt5640.c