[PATCH 0/2][SRU][OEM-5.10] Thinkpad - add palm sensor support needed for WWAN

Alex Hung alex.hung at canonical.com
Sat Jan 16 03:00:17 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1912033

[Impact]
  Add new palm sensor supports to Lenovo Thinkpad systems

[Fix]
  thinkpad_acpi is updated to check palm sensor presence and its events

[Test]
  Tested on Thinkpad systems

[Where problems could occur]
  Low risks. Only thinkpad systems are affected. Also thinkpad systems without palm sensor
  and without TP_HKEY_EV_PALM_DETECTED & TP_HKEY_EV_PALM_UNDETECTED events won't
  be affected either.

  There can an issue as discussed in commit log of "thinkpad_acpi: Add palm sensor support"

    Note: On some platforms, because of an issue in the HW implementation,
    the palm sensor presence may be incorrectly advertised as always
    enabled even if a palm sensor is not present. The palm sensor is
    intended for WWAN transmission power control and should be available
    and correct on all WWAN enabled systems. It is not recommended to use
    this interface for other use cases.


  Note: "thinkpad_acpi: Add palm sensor support" was cherry-picked from mainline, and
  "thinkpad_acpi: correct palmsensor error checking" is cherry-picked from maintainer's
  tree (git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git)

Mark Pearson (2):
  platform/x86: thinkpad_acpi: Add palm sensor support
  platform/x86: thinkpad_acpi: correct palmsensor error checking

 drivers/platform/x86/thinkpad_acpi.c | 162 +++++++++++++++++----------
 1 file changed, 103 insertions(+), 59 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list