[SRU][OEM-5.14/OEM-5.17/J][PATCH 0/1] Read the discovery registers for AMD_SFH

Aaron Ma aaron.ma at canonical.com
Thu May 26 07:57:44 UTC 2022

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

Lenovo(Z13/Z16) advertises an orientation sensor connected to SFH.
But actually it's not there.

Read reg of sensor discovery.

Verified on hardware, it show failure and driver returned.

[Where problems could occur]
Low risk, it may break AMD SFH driver.

Basavaraj Natikar (1):
  HID: amd_sfh: Add support for sensor discovery

 drivers/hid/amd-sfh-hid/amd_sfh_client.c | 11 +++++++++++
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.c   |  7 +++++++
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.h   |  4 ++++
 3 files changed, 22 insertions(+)


More information about the kernel-team mailing list