diff options
author | Basavaraj Natikar <Basavaraj.Natikar@amd.com> | 2023-04-11 19:19:01 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2023-04-13 16:57:14 +0300 |
commit | 4bd763568dbdafdf7cd6b3fcc73f84f1a6f305d1 (patch) | |
tree | 3eb9e827ee3df0a2f89384157a110f06ecb7281d /drivers/hid/amd-sfh-hid/amd_sfh_pcie.h | |
parent | 8455cbb25927013b3417ab619dced1c0e87708af (diff) | |
download | linux-4bd763568dbdafdf7cd6b3fcc73f84f1a6f305d1.tar.xz |
HID: amd_sfh: Support for additional light sensor
There is support for additional light sensors in the SFH firmware.
As a result, add support for additional light sensors.
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/amd-sfh-hid/amd_sfh_pcie.h')
-rw-r--r-- | drivers/hid/amd-sfh-hid/amd_sfh_pcie.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h b/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h index dfb7cabd82ef..70add75fc506 100644 --- a/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h +++ b/drivers/hid/amd-sfh-hid/amd_sfh_pcie.h @@ -23,6 +23,7 @@ #define V2_STATUS 0x2 #define HPD_IDX 16 +#define ACS_IDX 22 #define SENSOR_DISCOVERY_STATUS_MASK GENMASK(5, 3) #define SENSOR_DISCOVERY_STATUS_SHIFT 3 |