• Srinivas Pandruvada's avatar
    HID: sensor: Custom and Generic sensor support · 4a7de051
    Srinivas Pandruvada authored
    HID Sensor Spec defines two usage ids for custom sensors
    	In addition the standard also defines usage ids for custom fields.
    The purpose of these sensors is to extend the functionality or provide a way to
    obfuscate the data being communicated by a sensor. Without knowing the mapping
    between the data and its encapsulated form, it is difficult for an driver to
    determine what data is being communicated by the sensor.  This allows some
    differentiating use cases, where vendor can provide applications.  Since these
    can't be represented by standard sensor interfaces like IIO, we present these
    as fields with
    - type (input/output)
    - units
    - min/max
    - get/set value
    In addition an dev interface to transfer report events. Details about this
    interface is described in /Documentation/hid/hid-sensor.txt.  Manufacturers
    should not use these ids for any standard sensors, otherwise the the
    product/vendor id can be added to black list.
    Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
    Reviewed-by: default avatarJonathan Cameron <jic23@kernel.org>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Makefile 4.3 KB