OSDN Git Service

iio_sensors: Add Light sensor sysfs interface and transformation
authorArchana Patni <archana.patni@linux.intel.com>
Fri, 30 May 2014 15:34:43 +0000 (11:34 -0400)
committersuyyala <sridhar.uyyala@intel.com>
Sat, 7 Jun 2014 16:37:28 +0000 (09:37 -0700)
commiteb4a8cf7a1b4860509cb8f912d9a5cc4ca57d571
treea85e5344ee16432f85bfe8f4a219b12af612be55
parent2c628fed5261c44e510239b3616ada8d91650c8d
iio_sensors: Add Light sensor sysfs interface and transformation

The IIO/HID sensor hub driver publishes the light sensor data using the
IIO_INTENSITY defined in iio industrial-core. This patch adds this
sensor type to the sensor catalogue and adds a corresponding transformation
in transform_sample_ISH function.

This was tested on BDW Wilson Beach (running Intel FW) and on BDW RVP Y
(running STM FW).

Change-Id: Ib0629dca03f8ec645fcd4d5816ee7131e1764e39
Signed-off-by: Archana Patni <archana.patni@intel.com>
Signed-off-by: Subramony Sesha <subramony.sesha@intel.com>
enumeration.c
transform.c