mbox series

[0/7] Enhancements and fixes to AMD SFH driver

Message ID 20220509132026.3204678-1-Basavaraj.Natikar@amd.com
Headers show
Series Enhancements and fixes to AMD SFH driver | expand

Message

Basavaraj Natikar May 9, 2022, 1:20 p.m. UTC
Changes includes to support sensor discovery, add sensor name by index
for debug info, clean up string generated for the HID device to make it
more obvious.

Before:
hid-generic 0020:1022:0001.0003: hidraw2: <UNKNOWN> HID v0.00
Device [hid-amdtp 1022:0001] on

After:
hid-generic 0020:1022:0001.0003: hidraw2: SENSOR HUB HID v0.00
Device [hid-amdsfh 1022:0001] on pcie_mp2_amd

Basavaraj Natikar (7):
  HID: amd_sfh: Add support for sensor discovery
  HID: amd_sfh: Add sensor name by index for debug info
  HID: amd_sfh: Modify the bus name
  HID: amd_sfh: Modify the hid name
  HID: amd_sfh: Add physical location to HID device
  HID: amd_sfh: Move bus declaration outside of amd-sfh
  HID: core: Display "SENSOR HUB" for sensor hub bus string in hid_info

 drivers/hid/amd-sfh-hid/amd_sfh_client.c | 45 ++++++++++++++++++++----
 drivers/hid/amd-sfh-hid/amd_sfh_hid.c    |  9 +++--
 drivers/hid/amd-sfh-hid/amd_sfh_hid.h    |  1 -
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.c   | 17 ++++++---
 drivers/hid/amd-sfh-hid/amd_sfh_pcie.h   |  5 +++
 drivers/hid/hid-core.c                   |  4 +++
 include/uapi/linux/input.h               |  1 +
 7 files changed, 69 insertions(+), 13 deletions(-)

Comments

Jiri Kosina May 11, 2022, 12:17 p.m. UTC | #1
On Mon, 9 May 2022, Basavaraj Natikar wrote:

> Changes includes to support sensor discovery, add sensor name by index
> for debug info, clean up string generated for the HID device to make it
> more obvious.
> 
> Before:
> hid-generic 0020:1022:0001.0003: hidraw2: <UNKNOWN> HID v0.00
> Device [hid-amdtp 1022:0001] on
> 
> After:
> hid-generic 0020:1022:0001.0003: hidraw2: SENSOR HUB HID v0.00
> Device [hid-amdsfh 1022:0001] on pcie_mp2_amd
> 
> Basavaraj Natikar (7):
>   HID: amd_sfh: Add support for sensor discovery
>   HID: amd_sfh: Add sensor name by index for debug info
>   HID: amd_sfh: Modify the bus name
>   HID: amd_sfh: Modify the hid name
>   HID: amd_sfh: Add physical location to HID device
>   HID: amd_sfh: Move bus declaration outside of amd-sfh
>   HID: core: Display "SENSOR HUB" for sensor hub bus string in hid_info
> 
>  drivers/hid/amd-sfh-hid/amd_sfh_client.c | 45 ++++++++++++++++++++----
>  drivers/hid/amd-sfh-hid/amd_sfh_hid.c    |  9 +++--
>  drivers/hid/amd-sfh-hid/amd_sfh_hid.h    |  1 -
>  drivers/hid/amd-sfh-hid/amd_sfh_pcie.c   | 17 ++++++---
>  drivers/hid/amd-sfh-hid/amd_sfh_pcie.h   |  5 +++
>  drivers/hid/hid-core.c                   |  4 +++
>  include/uapi/linux/input.h               |  1 +
>  7 files changed, 69 insertions(+), 13 deletions(-)

The series is now in hid.git#for-5.19/amd-sfh. Thanks,