OSDN Git Service

mfd: arizona: Add support for ACPI enumeration of WM5102 connected over SPI
authorHans de Goede <hdegoede@redhat.com>
Wed, 20 Jan 2021 21:49:55 +0000 (22:49 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 4 Feb 2021 13:55:34 +0000 (13:55 +0000)
commite933836744a2606e6cd42a6a83e5e43da2a60788
treedb48c5c30e5cff2c6a07489633f5e143345a3293
parent039da225d644e523a3bbec78ee258b25fe0676f9
mfd: arizona: Add support for ACPI enumeration of WM5102 connected over SPI

The Intel Bay Trail (x86/ACPI) based Lenovo Yoga Tablet 2 series use
a WM5102 codec connected over SPI.

Add support for ACPI enumeration to arizona-spi so that arizona-spi can
bind to the codec on these tablets.

This is loosely based on an earlier attempt (for Android-x86) at this by
Christian Hartmann, combined with insights in things like the speaker GPIO
from the android-x86 android port for the Lenovo Yoga Tablet 2 1051F/L [1].

[1] https://github.com/Kitsune2222/Android_Yoga_Tablet_2-1051F_Kernel

Cc: Christian Hartmann <cornogle@googlemail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-spi.c