The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v3 0/2] x86-android-tablets: Add sound and haptics support for Lenovo YB1-X9*
@ 2026-06-11  8:29 Yauhen Kharuzhy
  2026-06-11  8:29 ` [PATCH v3 1/2] platform: x86-android-tablets: lenovo: Add Yoga Book haptics entries Yauhen Kharuzhy
  2026-06-11  8:29 ` [PATCH v3 2/2] platform: x86-android-tablets: lenovo: Add Yoga Book YB1 sound card info Yauhen Kharuzhy
  0 siblings, 2 replies; 4+ messages in thread
From: Yauhen Kharuzhy @ 2026-06-11  8:29 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen
  Cc: platform-driver-x86, linux-kernel, Yauhen Kharuzhy

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-07 13:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-11  8:29 [PATCH v3 0/2] x86-android-tablets: Add sound and haptics support for Lenovo YB1-X9* Yauhen Kharuzhy
2026-06-11  8:29 ` [PATCH v3 1/2] platform: x86-android-tablets: lenovo: Add Yoga Book haptics entries Yauhen Kharuzhy
2026-07-07 13:19   ` Ilpo Järvinen
2026-06-11  8:29 ` [PATCH v3 2/2] platform: x86-android-tablets: lenovo: Add Yoga Book YB1 sound card info Yauhen Kharuzhy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox