[PATCH v3 0/3] platform/x86: Describe Yoga Book haptics and audio resources
From: Maurizio Casciano
Date: Sat Aug 29 2026 - 18:57: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 describing the DRV2604 mode, waveform
library and enable GPIOs, instantiate the TS3A227E headset detector, and
attach software-node GPIO properties to the RT5677 codec for the second
speaker amplifier and headphone path.
Changes since v2:
- replace the RT5677 GPIO lookup table with GPIO properties on a
codec-attached software node, as suggested by Dmitry; and
- reprobe the codec after attaching the software node so its GPIO
provider is initialized with the new fwnode.
All three patches pass strict checkpatch. They were built and booted on
a Lenovo Yoga Book YB1-X91L. Both haptic devices played effects before
and after s2idle. From a fresh boot, the RT5677 GPIO consumers were
present, GPIO2 went high during speaker playback, GPIO4 went high during
headphone playback, and microphone capture succeeded.
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 | 188 +++++++++++++++++-
1 file changed, 187 insertions(+), 1 deletion(-)
base-commit: 32e17ef088fc55858886738d0b904248e98b30e0
--
2.53.0