Adjust behavior for HPD sensor
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | HID: amd_sfh: Allow configuring whether HPD is enabled or disabledDocumentation/ drivers/ drivers/ +2 more | +122 | 0 replies | |
| 2/3 | HID: amd_sfh: Default to HPD disableddrivers/ | +1 | 0 replies | |
| 3/3 | HID: amd_sfh: Don't show wrong status for amd_sfh_hpd_info()drivers/ | +1 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Anson Tsao |
|---|---|
| 1/3 | T-b |
| 2/3 | T-b |
| 3/3 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Adjust behavior for HPD sensor
From: Mario Limonciello <[email protected]>
Some platforms include a human presence detection (HPD) sensor. When enabled and a user is detected a wake event will be emitted from the sensor fusion hub that software can react to.
Example use cases are "wake from suspend on approach" or to "lock when leaving".
This is currently enabled by default on supported systems, but users can't control it. This essentially means that wake on approach is enabled which is a really surprising behavior to users that don't expect it.
Instead of defaulting to enabled add a sysfs knob that users can use to enable the feature if desirable and set it to disabled by default.
Mario Limonciello (3):
HID: amd_sfh: Allow configuring whether HPD is enabled or disabled
HID: amd_sfh: Default to HPD disabled
HID: amd_sfh: Don't show wrong status for amd_sfh_hpd_info()
.../ABI/testing/sysfs-driver-amd-sfh | 13 +++++ drivers/hid/amd-sfh-hid/amd_sfh_common.h | 1 + drivers/hid/amd-sfh-hid/amd_sfh_pcie.c | 58 +++++++++++++++++++ drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.c | 50 +++++++++++++++- drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_init.h | 3 + .../amd-sfh-hid/sfh1_1/amd_sfh_interface.c | 2 +- 6 files changed, 124 insertions(+), 3 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-driver-amd-sfh
Signature · 1 line
2.43.0