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

From: Maurizio Casciano

Date: Thu Aug 27 2026 - 19:17:16 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 describing the DRV2604 mode, waveform
library and enable GPIOs, 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:

- move the enable-GPIO mapping out of the generic drv260x driver and into
the Yoga Book board description, as requested by Dmitry;
- attach the software nodes to the existing ACPI-enumerated I2C devices,
reprobe devices which attempted to bind before the nodes were available,
and retain the device references until removal; and
- remove the dependency on the withdrawn optional-vbat Input change.

All three patches pass strict checkpatch, W=1 and sparse v0.6.5-rc1.
They were tested on a Lenovo Yoga Book YB1-X91L: both haptic devices bind
and work after suspend/resume, while speakers, microphone and headset
detection use the described audio resources successfully.

With Best Regards,
Maurizio Casciano

Maurizio Casciano (3):
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/lenovo.c | 140 +++++++++++++++++-
1 file changed, 139 insertions(+), 1 deletion(-)


base-commit: 32e17ef088fc55858886738d0b904248e98b30e0
--
2.53.0