Skip to contentSkip to conversation

hwmon: (yogafan) Update reference database and contributors for new models

PATCH Superseded Sergio Melas 2 participants 2 messages Sep 7

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Sergio Melas

author maintainer
#0 lore raw

PATCH 1/1 hwmon: (yogafan) Update reference database and contributors for new models

Add documentation entries for the newly supported laptop models (Yoga 14cACN 2021, Yoga 740-15IML, and IdeaPad 3 15ALC6 Ub) in the master reference database table, and include the new contributor.

---
 Documentation/hwmon/yogafan.rst | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/hwmon/yogafan.rst +4 -0
index 9ff5db5dc..5c21c50b7 100644
@@ -87,6 +87,9 @@ immediately to ensure the user knows the fan has stopped.
 
  MODEL (DMI PN) | FAMILY / SERIES  | EC OFFSET | FULL ACPI OBJECT PATH          | WIDTH  | MULTiplier
  ----------------------------------------------------------------------------------------------------
+ 82N7           | Yoga 14cACN 2021   | 0x06      | \_SB.PCI0.LPC0.EC0.FANS        |  8-bit | 100
+ 81TD           | Yoga 740-15IML     | 0x06      | \_SB.PCI0.LPCB.EC0.FANS        |  8-bit | 100
+ 82KU           | IdeaPad 3 15ALC6 Ub| 0x06      | \_SB.PCI0.LPC0.EC0.FANS/FA2S   |  8-bit | 100
  82N7           | Yoga 14cACN      | 0x06      | \_SB.PCI0.LPC0.EC0.FANS        |  8-bit | 100
  80V2 / 81C3    | Yoga 710/720     | 0x06      | \_SB.PCI0.LPC0.EC0.FAN0        |  8-bit | 100
  83E2           | Yoga Pro 7       | 0xFE      | \_SB.PCI0.LPC0.EC0.FANS        |  8-bit | 100
@@ -159,6 +162,7 @@ Contributors & DSDT Providers:
 - **Sarbajit Sarkar** (Lenovo LOQ 15IAX9)
 - **HinataKato** (XiaoXin Pro 13ARE 2020 - 83KF)
 - **PenPenIsGod** (IdeaPad 3 15ALC6 - 82KU & Legion Pro 7 16AFR10H - 83RU)
+- **wizard-28** (IdeaPad 3 15ALC6 Ub - 82KU)
 - **unlockxiaom** (Legion Pro 7 16AFR10H - 83RU, Yoga Pro 7 14IAH10 - 83KF, ThinkCentre M80q)
 - **Phani Pavan K** (Yoga Pro 7 14IAH10 - 83KF)
 - **Splarkszter** (Yoga 7 16ARP8 - 83BS)
Signature · 1 line
2.55.0
#1 lore raw
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] The commit message and documentation claim support for new models (Yoga 740-15IML and IdeaPad 3…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The commit message and documentation claim support for new models (Yoga 740-15IML and IdeaPad 3 15ALC6 Ub), but the required driver code changes are completely missing, meaning the driver will fail to probe on these devices. --

commit abc418693a23c59c4a3eff683b30c6c57e8bcc13
Author: Sergio Melas <[email protected]>

hwmon: (yogafan) Update reference database and contributors for new models

Add documentation entries for the newly supported laptop models (Yoga 14cACN 2021, Yoga 740-15IML, and IdeaPad 3 15ALC6 Ub) in the master reference database table, and include the new contributor.

Documentation/hwmon/yogafan.rst immediately to ensure the user knows the fan has stopped. · line 91

Quoted 10 lines
Documentation/hwmon/yogafan.rst +2 -0
index 9ff5db5dc08ce..5c21c50b7c4fa 100644
@@ -87,6 +87,9 @@ immediately to ensure the user knows the fan has stopped.
 
  MODEL (DMI PN) | FAMILY / SERIES  | EC OFFSET | FULL ACPI OBJECT PATH          | WIDTH  | MULTiplier
  ----------------------------------------------------------------------------------------------------
+ 82N7           | Yoga 14cACN 2021   | 0x06      | \_SB.PCI0.LPC0.EC0.FANS        |  8-bit | 100
+ 81TD           | Yoga 740-15IML     | 0x06      | \_SB.PCI0.LPCB.EC0.FANS        |  8-bit | 100

[Severity: Medium]
Will the driver successfully probe on the Yoga 740-15IML?

The commit message and documentation claim support for this model, but the driver code changes appear to be missing. The documentation specifies the LPCB ACPI path. When the driver probes on a Yoga 740-15IML, the generic Lenovo Yoga DMI quirk is matched, applying yoga_8bit_fans_cfg, which searches for the ACPI path \_SB.PCI0.LPC0.EC0.FANS.

Since the device uses LPCB instead of LPC0, acpi_get_handle() will fail and the driver will return -ENODEV.

Documentation/hwmon/yogafan.rst immediately to ensure the user knows the fan has stopped. · line 92

Quoted 1 line
Documentation/hwmon/yogafan.rst +1 -0
+ 82KU           | IdeaPad 3 15ALC6 Ub| 0x06      | \_SB.PCI0.LPC0.EC0.FANS/FA2S   |  8-bit | 100

[Severity: Medium]
Will the driver successfully probe on the IdeaPad 3 15ALC6 Ub?

The documentation specifies dual fans (FANS and FA2S), but the driver only contains a single-fan configuration (FAN0) for the IdeaPad 3 15ALC6 DMI match.

When matching the generic IdeaPad 3 15ALC6 quirk (using ideapad_8bit_fan0_cfg), it will probe for FAN0 instead of the required dual-fan FANS and FA2S paths, resulting in probe failure. Are there driver changes missing from this patch?

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1