hwmon: (yogafan) Update reference database and contributors for new models
Subsystems (3)
Sergio Melas
maintainerPATCH v2 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.
---
v2: Split changes and addressed reviewer comments.
--- Documentation/hwmon/yogafan.rst | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/hwmon/yogafan.rst +4 -0
@@ -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
[email protected]
AI reviewThank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [Medium] Missing driver implementation for the newly documented laptop models (Yoga 740-15IML and IdeaPad…
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] Missing driver implementation for the newly documented laptop models (Yoga 740-15IML and IdeaPad 3 15ALC6 Ub), leading to broken hardware support.
- [Low] Misaligned table columns in the reference database.
--
commit 23a8dae262a81e6cfc70a98f694a306fc940b81b
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.
Quoted 3 lines
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.
[Severity: Medium]
Are the changes to drivers/hwmon/yogafan.c missing from this patch?
The commit message states these are newly supported models, but the driver changes are not included. When booting the kernel on these models, yoga_fan_probe() will fail.
The documentation specifies unique ACPI paths required for these models, but the driver relies on DMI matches that map to incorrect fallbacks (e.g., Lenovo Yoga providing LPC0 instead of LPCB for the 740-15IML) or incorrect fan paths (e.g., mapping to FAN0 instead of FANS/FA2S for the IdeaPad 3 Ub). This causes acpi_get_handle() to fail and return -ENODEV.
Should the updates to yogafan_quirks in drivers/hwmon/yogafan.c be included here?
Documentation/hwmon/yogafan.rst immediately to ensure the user knows the fan has stopped. · line 92
Quoted 11 lines
Documentation/hwmon/yogafan.rst +3
-0@@ -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
[Severity: Low]
Does this cause misalignment in the rendered documentation?
The newly added rows exceed the width of the FAMILY / SERIES column header. This shifts the subsequent pipe separators by up to 3 spaces and breaks the literal text block table alignment.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Guenter Roeck
maintainerQuoted 7 lines · Sergio Melas
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.
Signed-off-by Sergio Melas <[email protected]>---
v2: Split changes and addressed reviewer comments.
This wasn't just a split. v1 changed the code and the table contents. This is no longer the case. This version just adds support for the new models. With the lack of content changes, it would have been appropriate to submit this as single patch.
What am I missing ?
Guenter
Quoted 26 lines
--- Documentation/hwmon/yogafan.rst | 4 ++++ 1 file changed, 4 insertions(+)Documentation/hwmon/yogafan.rst +4
-0@@ -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)
Sergio Melas
maintainerHi Guenter,
Understood. My apologies, I misinterpreted your feedback and split the documentation thinking you wanted it strictly isolated from the driver changes.
Since the driver patch is already in, please either apply this documentation update as-is to keep things in sync, or let me know if I should drop it and bundle it with the next patch set.
Thanks,
Sergio
Guenter Roeck
maintainerQuoted 5 lines · Sergio Melas
Hi Guenter,
Understood. My apologies, I misinterpreted your feedback and split the documentation thinking you wanted it strictly isolated from the driver changes.
No, separation is per logical change, and the documentation should be updated together with the code. In the original patch you also implemented functional changes. I wanted those separated.
Quoted 4 lines
Since the driver patch is already in, please either apply this documentation update as-is to keep things in sync, or let me know if I should drop it and bundle it with the next patch set.
It looks like it has some formatting issues. Please fix and resubmit just this patch, and I can squash it with the driver change. Alternatively, submit both the driver and documentation update as single patch but, again, _only_ add the new models with that patch. In that case I'll just replace the applied patch with the new one.
Thanks,
Guenter