Defines I2C board info and properties for the DRV2604L haptics driver used in
Lenovo Yoga Book YB1-X90/X91 tablets.
Defines sound devices for both models: rt5677 codec and TS3A227E jack
detection IC. Machine sound driver is implemented in [1].
To simplify the sound driver, the same set of properties is used for both
the X91 and X90 versions. For X91, software nodes with such properties are
attached to the ACPI nodes.
Changes in v2:
- Use cleanup functions instead of goto's in lenovo_yb1_x91_init();
- Adjust ts3a227e settings: MICBIAS voltage and jack insertion
debounce timeout, to prevent fake keypresses.
Changes in v3:
- Declarations of variables using cleanup functions have been moved from
the start of the function to the assignment.
- Link to v2: https://lore.kernel.org/r/20260302-x86-tablets-yogabook-v2-0-061768d5c9e7@gmail.com
1. https://lore.kernel.org/linux-sound/20260611-asoc-yogabook-v2-v3-0-3128447b67b6@gmail.com/
Yauhen Kharuzhy (2):
platform: x86-android-tablets: lenovo: Add Yoga Book haptics entries
platform: x86-android-tablets: lenovo: Add Yoga Book YB1 sound card
info
.../platform/x86/x86-android-tablets/lenovo.c | 223 ++++++++++++++++++
1 file changed, 223 insertions(+)
base-commit: next-20260227
--
2.51.0
---
Yauhen Kharuzhy (2):
platform: x86-android-tablets: lenovo: Add Yoga Book haptics entries
platform: x86-android-tablets: lenovo: Add Yoga Book YB1 sound card info
drivers/platform/x86/x86-android-tablets/lenovo.c | 224 ++++++++++++++++++++++
1 file changed, 224 insertions(+)
---
base-commit: e3b58e24c60351eaa02813cfc7ca110fb68144c5
change-id: 20260301-x86-tablets-yogabook-6fe4563ccb92
Best regards,
--
Yauhen Kharuzhy