[PATCH v2 0/4] platform/x86: Describe Yoga Book haptics and audio resources

From: Maurizio Casciano

Date: Thu Aug 27 2026 - 14:16:41 EST


The Lenovo Yoga Book YB1-X91F/L firmware omits software properties for
its two DRV2604 haptic controllers and does not instantiate or map all
resources used by the RT5677 audio design.

Attach board software nodes containing the DRV2604 mode, waveform
library and enable-GPIO mappings, instantiate the TS3A227E headset
detector, and add lookup entries for the codec GPIOs which control the
second speaker amplifier and headphone path.

Changes since v1:

- keep the missing enable-GPIO mapping out of the generic drv260x driver
and provide it from the Yoga Book board software nodes, as requested by
Dmitry;
- fix x86-android-tablets GPIO-provider software-node matching by
attaching the secondary node to the matching gpio_device;
- hold references to the existing DRV2604 devices, reprobe after adding
their properties, and detach the nodes in reverse order; and
- remove the dependency on the withdrawn optional-vbat Input patch.

The series is based on platform-drivers-x86 for-next at 5b05bb3f6c57.
Strict checkpatch reports no errors, warnings or checks.

Runtime testing used the integrated series on a Lenovo Yoga Book
YB1-X91L. Both DRV2604 devices bound and accepted separate fftest sine
effects, with physical vibration confirmed for each side. The TS3A227E
and both codec GPIO lookups also bound in the validated audio stack;
speaker, microphone and headset routing tests passed.

Maurizio Casciano (4):
platform/x86: x86-android-tablets: Fix GPIO software node matching
platform/x86: x86-android-tablets: Describe Yoga Book haptics
platform/x86: x86-android-tablets: Add Yoga Book TS3A227E
platform/x86: x86-android-tablets: Add Yoga Book audio GPIOs

.../platform/x86/x86-android-tablets/core.c | 21 ++-
.../platform/x86/x86-android-tablets/lenovo.c | 140 +++++++++++++++++-
2 files changed, 152 insertions(+), 9 deletions(-)


base-commit: 5b05bb3f6c5716fab6911e12d60dd1f43ad9806a
--
2.53.0