Skip to content

Add SFH sensor support for newer AMD platforms

Basavaraj Natikar linux-input 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3amd_sfh: Extend driver capabilities for multi-generation supportdrivers/hid/amd-sfh-hid/amd_sfh_client.c drivers/hid/amd-sfh-hid/amd_sfh_pcie.c drivers/hid/amd-sfh-hid/amd_sfh_pcie.h+105 -60 replies
2/3amd_sfh: Extend ALS support for newer AMD platformdrivers/hid/amd-sfh-hid/amd_sfh_client.c drivers/hid/amd-sfh-hid/amd_sfh_hid.h drivers/hid/amd-sfh-hid/amd_sfh_pcie.c +3 more+45 -260 replies
3/3amd_sfh: Add initial support for HPD sensordrivers/hid/amd-sfh-hid/amd_sfh_hid.h drivers/hid/amd-sfh-hid/amd_sfh_pcie.c drivers/hid/amd-sfh-hid/amd_sfh_pcie.h +3 more+174 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchNehal ShahShyam Sundar S K
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Add SFH sensor support for newer AMD platforms

AMD SFH firmware (MP2) has evolved since the time the last driver update has been pushed. The way in which the MP2 FW and the driver communicates have also changed with changing silicon versions. Hence there is an update to the data structure and the things around it.

With this in-place, the AMD next generation SoC's like Renoir, Cezanne are added here along with the support for Ambient Light Sensor (ALS).

Finally, bringing in initial support for Human Presence Detection (HPD) sensor on supported generations.

Basavaraj Natikar (3):
amd_sfh: Extend driver capabilities for multi-generation support
amd_sfh: Extend ALS support for newer AMD platform
amd_sfh: Add initial support for HPD sensor

 drivers/hid/amd-sfh-hid/amd_sfh_client.c      |  43 ++++---
 drivers/hid/amd-sfh-hid/amd_sfh_hid.h         |  12 +-
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.c        |  89 +++++++++++++-
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.h        |  43 +++++++
 .../hid_descriptor/amd_sfh_hid_desc.c         |  48 +++++++-
 .../hid_descriptor/amd_sfh_hid_desc.h         |  11 +-
 .../hid_descriptor/amd_sfh_hid_report_desc.h  | 112 ++++++++++++++++++
 7 files changed, 324 insertions(+), 34 deletions(-)
Signature · 1 line
2.25.1