Re: [PATCH v4 1/3] HID: hid-sensor-custom: Add custom sensor iio support

From: Jiri Kosina
Date: Mon Jan 04 2021 - 04:46:54 EST


On Tue, 15 Dec 2020, Ye Xiang wrote:

> 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 <xiang.ye@xxxxxxxxx>

Acked-by: Jiri Kosina <jkosina@xxxxxxx>

Jonathan, feel free to take this with the rest through your tree. Thanks,

--
Jiri Kosina
SUSE Labs