On 25.11.2015 02:01, Rob Herring wrote:
On Tue, Nov 24, 2015 at 12:59:49PM +0200, Adriana Reus wrote:
Add a property to allow changing the default power-saving mode.
By default, at read raw the chip will activate and provide
one measurent, then it will shut itself down. However, the
chip can
On 25.11.2015 02:01, Rob Herring wrote:
On Tue, Nov 24, 2015 at 12:59:49PM +0200, Adriana Reus wrote:
Add a property to allow changing the default power-saving mode.
By default, at read raw the chip will activate and provide
one measurent, then it will shut itself down. However, the
chip can
The first patches add a dt property for choosing the power mode for raw reads.
The following adds helper functions preparing for pm support.
The last ones add power management and interrupt support.
Adriana Reus (5):
iio: light: us5182d: Add property for choosing default power mode
on and off.
Signed-off-by: Adriana Reus
---
drivers/iio/light/us5182d.c | 90 +++--
1 file changed, 78 insertions(+), 12 deletions(-)
diff --git a/drivers/iio/light/us5182d.c b/drivers/iio/light/us5182d.c
index 49dab3c..7993014 100644
--- a/drivers/iio/l
Keep track of the als and px enabled/disabled status in
order to enable them selectively.
Signed-off-by: Adriana Reus
---
drivers/iio/light/us5182d.c | 64 ++---
1 file changed, 60 insertions(+), 4 deletions(-)
diff --git a/drivers/iio/light/us5182d.c b
Add power management for sleep as well as runtime pm.
Signed-off-by: Adriana Reus
---
drivers/iio/light/us5182d.c | 95 +
1 file changed, 88 insertions(+), 7 deletions(-)
diff --git a/drivers/iio/light/us5182d.c b/drivers/iio/light/us5182d.c
index
Signed-off-by: Adriana Reus
---
Documentation/devicetree/bindings/iio/light/us5182d.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/light/us5182d.txt
b/Documentation/devicetree/bindings/iio/light/us5182d.txt
index 6f0a530..a619
Add interrupt support and events for proximity.
Add two threshold events to signal rising and falling directions.
Signed-off-by: Adriana Reus
---
drivers/iio/light/us5182d.c | 272 +++-
1 file changed, 271 insertions(+), 1 deletion(-)
diff --git
Signed-off-by: Adriana Reus <adriana.r...@intel.com>
---
Documentation/devicetree/bindings/iio/light/us5182d.txt | 11 +++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/light/us5182d.txt
b/Documentation/devicetree/bindings/iio/light/us5182d.t
Add interrupt support and events for proximity.
Add two threshold events to signal rising and falling directions.
Signed-off-by: Adriana Reus <adriana.r...@intel.com>
---
drivers/iio/light/us5182d.c | 272 +++-
1 file changed, 271 insertions(+), 1 de
Keep track of the als and px enabled/disabled status in
order to enable them selectively.
Signed-off-by: Adriana Reus <adriana.r...@intel.com>
---
drivers/iio/light/us5182d.c | 64 ++---
1 file changed, 60 insertions(+), 4 deletions(-)
diff
Add power management for sleep as well as runtime pm.
Signed-off-by: Adriana Reus <adriana.r...@intel.com>
---
drivers/iio/light/us5182d.c | 95 +
1 file changed, 88 insertions(+), 7 deletions(-)
diff --git a/drivers/iio/light/us5182d.c b/drive
The first patches add a dt property for choosing the power mode for raw reads.
The following adds helper functions preparing for pm support.
The last ones add power management and interrupt support.
Adriana Reus (5):
iio: light: us5182d: Add property for choosing default power mode
on and off.
Signed-off-by: Adriana Reus <adriana.r...@intel.com>
---
drivers/iio/light/us5182d.c | 90 +++--
1 file changed, 78 insertions(+), 12 deletions(-)
diff --git a/drivers/iio/light/us5182d.c b/drivers/iio/light/us5182d.c
index 49dab3c..799301
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus
---
No changes since v6
drivers/iio/light/Kconfig | 10 +
drivers/iio/light
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor.
Also added a documentation file for this sensor's properties.
Signed-off-by: Adriana Reus
---
Changes since v6:
* Added some aditional clarifications on the optional
properties, as suggested by Rob
This series adds basic support for this als and proximity sensor
and devicetree docs.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation for UPISEMI us5182d ALS and Proximity
sensor
.../devicetree/bindings/iio/light
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus <adriana.r...@intel.com>
---
No changes since v6
drivers/iio/light/Kconfig
This series adds basic support for this als and proximity sensor
and devicetree docs.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation for UPISEMI us5182d ALS and Proximity
sensor
.../devicetree/bindings/iio/light
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor.
Also added a documentation file for this sensor's properties.
Signed-off-by: Adriana Reus <adriana.r...@intel.com>
---
Changes since v6:
* Added some aditional clarifications on the optional
prop
Hi,
Sorry for my delayed response, answers inline.
Thank you,
Adriana
On 09.09.2015 04:05, Rob Herring wrote:
On 09/07/2015 08:59 AM, Adriana Reus wrote:
Thanks for your feedback, some comments inline.
On 31.08.2015 18:38, Rob Herring wrote:
On Thu, Aug 27, 2015 at 3:23 PM, Jonathan
Hi,
Sorry for my delayed response, answers inline.
Thank you,
Adriana
On 09.09.2015 04:05, Rob Herring wrote:
On 09/07/2015 08:59 AM, Adriana Reus wrote:
Thanks for your feedback, some comments inline.
On 31.08.2015 18:38, Rob Herring wrote:
On Thu, Aug 27, 2015 at 3:23 PM, Jonathan
Thanks for your feedback, some comments inline.
On 31.08.2015 18:38, Rob Herring wrote:
On Thu, Aug 27, 2015 at 3:23 PM, Jonathan Cameron wrote:
On 20/08/15 11:12, Adriana Reus wrote:
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor.
Also added a documentation
Thanks for your feedback, some comments inline.
On 31.08.2015 18:38, Rob Herring wrote:
On Thu, Aug 27, 2015 at 3:23 PM, Jonathan Cameron <ji...@kernel.org> wrote:
On 20/08/15 11:12, Adriana Reus wrote:
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor.
Also
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor.
Also added a documentation file for this sensor's properties.
Signed-off-by: Adriana Reus
---
.../devicetree/bindings/iio/light/us5182d.txt | 23 ++
.../devicetree/bindings/vendor
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus
---
Changes since v5:
* fixed typos (thank you, Peter)
drivers/iio/light/Kconfig
This series adds basic support for this als and proximity sensor
and devicetree docs.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation for UPISEMI us5182d ALS and Proximity
sensor
.../devicetree/bindings/iio/light
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus
---
Changes since v4:
* Added a comment explaining the opmode set/store behaviour
This series adds basic support for this als and proximity sensor
and devicetree docs.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation for UPISEMI us5182d ALS and Proximity
sensor
.../devicetree/bindings/iio/light
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor.
Also added a documentation file for this sensor's properties.
Signed-off-by: Adriana Reus
---
No changes since v4 for the docs.
.../devicetree/bindings/iio/light/us5182d.txt | 23
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
Changes since v4:
* Added a comment explaining the opmode
This series adds basic support for this als and proximity sensor
and devicetree docs.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation for UPISEMI us5182d ALS and Proximity
sensor
.../devicetree/bindings/iio/light
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor.
Also added a documentation file for this sensor's properties.
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
No changes since v4 for the docs.
.../devicetree/bindings/iio/light/us5182d.txt | 23
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
Changes since v5:
* fixed typos (thank you, Peter
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor.
Also added a documentation file for this sensor's properties.
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
.../devicetree/bindings/iio/light/us5182d.txt | 23 ++
.../devicetree
This series adds basic support for this als and proximity sensor
and devicetree docs.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation for UPISEMI us5182d ALS and Proximity
sensor
.../devicetree/bindings/iio/light
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor.
Also added a documentation file for this sensor's properties.
Signed-off-by: Adriana Reus
---
Changes since v3:
* Added more specific description for the optional properties
* Removed an extra newline
This series adds basic support for this als and proximity sensor
and devicetree docs.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation for UPISEMI us5182d ALS and Proximity
sensor
.../devicetree/bindings/iio/light
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus
---
Changes since v3:
* Some more register definition rework
* Various suggested
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
Changes since v3:
* Some more register definition rework
Added entries in i2c/vendor-prefixes for the us5182d als and proximity sensor.
Also added a documentation file for this sensor's properties.
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
Changes since v3:
* Added more specific description for the optional properties
* Removed an extra
This series adds basic support for this als and proximity sensor
and devicetree docs.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation for UPISEMI us5182d ALS and Proximity
sensor
.../devicetree/bindings/iio/light
Thanks for the review, added some comments inline, next patch set coming
soon.
Adriana
On 15.08.2015 17:27, Jonathan Cameron wrote:
On 14/08/15 10:29, Adriana Reus wrote:
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found
Thank you Jonathan, I'll add a new patch set soon, added some comments
inline also.
Adriana
On 15.08.2015 17:31, Jonathan Cameron wrote:
On 14/08/15 10:29, Adriana Reus wrote:
Added entries in trivial-devices and i2c/vendor-prefixes for
the us5182d als and proximity sensor. Also added
Thank you Jonathan, I'll add a new patch set soon, added some comments
inline also.
Adriana
On 15.08.2015 17:31, Jonathan Cameron wrote:
On 14/08/15 10:29, Adriana Reus wrote:
Added entries in trivial-devices and i2c/vendor-prefixes for
the us5182d als and proximity sensor. Also added
Thanks for the review, added some comments inline, next patch set coming
soon.
Adriana
On 15.08.2015 17:27, Jonathan Cameron wrote:
On 14/08/15 10:29, Adriana Reus wrote:
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found
This series adds basic support for this als and proximity sensor and devicetree
docs.
Resending the series because I forgot to cc devicetree. Sorry for the follow-up.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus
---
Changes since v2:
- Adressed Peter's comments (with the exception of setting
Added entries in trivial-devices and i2c/vendor-prefixes for
the us5182d als and proximity sensor. Also added a documentation file for
this sensor's properties.
Signed-off-by: Adriana Reus
---
No changes - resending because I forgot to cc devicetree.
.../devicetree/bindings/i2c/trivial
Added entries in trivial-devices and i2c/vendor-prefixes for
the us5182d als and proximity sensor. Also added a documentation file for
this sensor's properties.
Signed-off-by: Adriana Reus
---
.../devicetree/bindings/i2c/trivial-devices.txt| 1 +
.../devicetree/bindings/iio/light
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus
---
Changes since v2:
- Adressed Peter's comments (with the exception of setting
This series adds basic support for this als and proximity sensor and devicetree
docs.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation for UPISEMI us5182d ALS and Proximity
sensor
.../devicetree/bindings/i2c/trivial
Hi Jonathan,
Thanks for the review, I'll send out a new version soon.
Replies inline.
On 08.08.2015 17:54, Jonathan Cameron wrote:
On 04/08/15 14:40, Adriana Reus wrote:
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found
Hi Jonathan,
Thanks for the review, I'll send out a new version soon.
Replies inline.
On 08.08.2015 17:54, Jonathan Cameron wrote:
On 04/08/15 14:40, Adriana Reus wrote:
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
Changes since v2:
- Adressed Peter's comments
Added entries in trivial-devices and i2c/vendor-prefixes for
the us5182d als and proximity sensor. Also added a documentation file for
this sensor's properties.
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
.../devicetree/bindings/i2c/trivial-devices.txt| 1 +
.../devicetree
This series adds basic support for this als and proximity sensor and devicetree
docs.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation for UPISEMI us5182d ALS and Proximity
sensor
.../devicetree/bindings/i2c/trivial
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
Changes since v2:
- Adressed Peter's comments
Added entries in trivial-devices and i2c/vendor-prefixes for
the us5182d als and proximity sensor. Also added a documentation file for
this sensor's properties.
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
No changes - resending because I forgot to cc devicetree.
.../devicetree
This series adds basic support for this als and proximity sensor and devicetree
docs.
Resending the series because I forgot to cc devicetree. Sorry for the follow-up.
Adriana Reus (2):
iio: light: Add support for UPISEMI uS5182d als and proximity sensor
devicetree: Add documentation
On 04.08.2015 17:40, Peter Meerwald wrote:
On Tue, 4 Aug 2015, Adriana Reus wrote:
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
comments below
Thank you
On 04.08.2015 17:40, Peter Meerwald wrote:
On Tue, 4 Aug 2015, Adriana Reus wrote:
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
comments below
Thank you
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus
---
Changes since v1: added data-sheet link to commit message
drivers/iio/light
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Data sheet for this device can be found here:
http://www.upi-semi.com/temp/uS5182D-DS-P0103-temp.pdf
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
Changes since v1: added data-sheet link to commit message
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Signed-off-by: Adriana Reus
---
drivers/iio/light/Kconfig | 10 +
drivers/iio/light/Makefile | 1 +
drivers/iio/light/us5182d.c | 539
3 files changed, 550
Add support for UPISEMI us5182d als and proximity sensor.
Supports raw readings.
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
drivers/iio/light/Kconfig | 10 +
drivers/iio/light/Makefile | 1 +
drivers/iio/light/us5182d.c | 539
3
Add support for TXC PA12203001 als and proximity sensor.
Support for raw illuminance and proximity readings.
Signed-off-by: Adriana Reus
---
drivers/iio/light/Kconfig | 11 +
drivers/iio/light/Makefile | 1 +
drivers/iio/light/pa12203001.c | 501
Add support for TXC PA12203001 als and proximity sensor.
Support for raw illuminance and proximity readings.
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
drivers/iio/light/Kconfig | 11 +
drivers/iio/light/Makefile | 1 +
drivers/iio/light/pa12203001.c | 501
Export the available scales for accel and gyro in order
to hint the user-space as to what are the available valid values.
Signed-off-by: Adriana Reus
---
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/iio/imu/inv_mpu6050
The gyroscope needs IIO_VAL_INT_PLUS_NANO for the scale channel and
unless specified write returns MICRO by default.
This needs to be properly specified so that write operations into scale
have the expected behaviour.
Signed-off-by: Adriana Reus
---
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
This series exports available scales for inv-mpu6050 and also
fixes the format for write channels.
Adriana Reus (2):
iio: inv-mpu: Export scale_available attributes
iio: inv-mpu: Specify the expected format/precision for write channels
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 24
The gyroscope needs IIO_VAL_INT_PLUS_NANO for the scale channel and
unless specified write returns MICRO by default.
This needs to be properly specified so that write operations into scale
have the expected behaviour.
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
drivers/iio/imu
This series exports available scales for inv-mpu6050 and also
fixes the format for write channels.
Adriana Reus (2):
iio: inv-mpu: Export scale_available attributes
iio: inv-mpu: Specify the expected format/precision for write channels
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 24
Export the available scales for accel and gyro in order
to hint the user-space as to what are the available valid values.
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/iio/imu
specification.
Signed-off-by: Adriana Reus
---
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 56 --
1 file changed, 30 insertions(+), 26 deletions(-)
diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
b/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
index 9be9b20..4cf056d
specification.
Signed-off-by: Adriana Reus adriana.r...@intel.com
---
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c | 56 --
1 file changed, 30 insertions(+), 26 deletions(-)
diff --git a/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
b/drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
76 matches
Mail list logo