From: Maurizio Casciano <mauriziocasciano7@gmail.com>
To: Hans de Goede <hansg@kernel.org>
Cc: Ilpo Jarvinen <ilpo.jarvinen@linux.intel.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org,
Maurizio Casciano <mauriziocasciano7@gmail.com>
Subject: [PATCH v2 0/3] platform/x86: Describe Yoga Book haptics and audio resources
Date: Fri, 28 Aug 2026 01:16:57 +0200 [thread overview]
Message-ID: <cover.platform-v2.1787872237.git.mauriziocasciano7@gmail.com> (raw)
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
next reply other threads:[~2026-08-27 23:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 23:16 Maurizio Casciano [this message]
2026-08-27 23:16 ` [PATCH v2 1/3] platform/x86: x86-android-tablets: Describe Yoga Book haptics Maurizio Casciano
2026-08-27 23:16 ` [PATCH v2 2/3] platform/x86: x86-android-tablets: Add Yoga Book TS3A227E Maurizio Casciano
2026-08-27 23:17 ` [PATCH v2 3/3] platform/x86: x86-android-tablets: Add Yoga Book audio GPIOs Maurizio Casciano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.platform-v2.1787872237.git.mauriziocasciano7@gmail.com \
--to=mauriziocasciano7@gmail.com \
--cc=dmitry.torokhov@gmail.com \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®