diff options
| author | Ye Xiang <[email protected]> | 2020-12-15 13:44:42 +0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-01-22 08:52:02 +0000 |
| commit | 239319670e2a7c405eeb4b3e7721cf8bf8eef840 (patch) | |
| tree | 3d27444f0c1e3b52ebf66a6f292931650845a8d2 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ce69361ab74681b095d72376ad173dea3f4d9c29 (diff) | |
HID: hid-sensor-custom: Add custom sensor iio support
Currently custom sensors properties are not decoded and it is up to
user space to interpret.
Some manufacturers already standardized the meaning of some custom sensors.
They can be presented as a proper IIO sensor. We can identify these sensors
based on manufacturer and serial number property in the report.
This change is identifying hinge sensor when the manufacturer is "INTEL".
This creates a platform device so that a sensor driver can be loaded to
process these sensors.
Signed-off-by: Ye Xiang <[email protected]>
Acked-by: Jiri Kosina <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions