summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/rpr0521.c
Commit message (Collapse)AuthorAgeFilesLines
* iio: Reconcile operation order between iio_register/unregister and pm functionsAdriana Reus2015-11-081-10/+4
| | | | | | | | | | | | | At probe, runtime pm should be setup before registering the sysfs interface so that all the power attributes are accurate and functional when registering. Also, when removing the device we should unregister first to make sure that the interfaces that may result in wakeups are no longer available. Fix this behaviour for the following drivers: bmc150, bmg160, kmx61, kxcj-1013, mma9551, mma9553, rpr0521. Signed-off-by: Adriana Reus <adriana.reus@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio: light: Add support for ROHM RPR0521 sensorDaniel Baluta2015-06-211-0/+615
This patch adds support for ROHM RPR0521 ambient light and proximity sensor. It offers raw readings for intensity and proximity. Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
OpenPOWER on IntegriCloud