Re: [PATCH 2/5] Documentation: devicetree: Add property for controlling power saving mode for the us5182 als sensor

2015-11-25 Thread Adriana Reus
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

Re: [PATCH 2/5] Documentation: devicetree: Add property for controlling power saving mode for the us5182 als sensor

2015-11-25 Thread Adriana Reus
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

[PATCH 0/5] iio: light: us5281d: Add power managmenet and interrupt support

2015-11-24 Thread Adriana Reus
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

[PATCH 1/5] iio: light: us5182d: Add property for choosing default power mode

2015-11-24 Thread Adriana Reus
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

[PATCH 3/5] iio: light: us5182d: Add functions for selectively enabling als and proximity

2015-11-24 Thread Adriana Reus
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

[PATCH 4/5] iio: light: us8152d: Add power management support

2015-11-24 Thread Adriana Reus
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

[PATCH 2/5] Documentation: devicetree: Add property for controlling power saving mode for the us5182 als sensor

2015-11-24 Thread Adriana Reus
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

[PATCH 5/5] iio: light: us5182d: Add interrupt support and events

2015-11-24 Thread Adriana Reus
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

[PATCH 2/5] Documentation: devicetree: Add property for controlling power saving mode for the us5182 als sensor

2015-11-24 Thread Adriana Reus
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

[PATCH 5/5] iio: light: us5182d: Add interrupt support and events

2015-11-24 Thread Adriana Reus
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

[PATCH 3/5] iio: light: us5182d: Add functions for selectively enabling als and proximity

2015-11-24 Thread Adriana Reus
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

[PATCH 4/5] iio: light: us8152d: Add power management support

2015-11-24 Thread Adriana Reus
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

[PATCH 0/5] iio: light: us5281d: Add power managmenet and interrupt support

2015-11-24 Thread Adriana Reus
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

[PATCH 1/5] iio: light: us5182d: Add property for choosing default power mode

2015-11-24 Thread Adriana Reus
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

[v7 PATCH 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-09-16 Thread Adriana Reus
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

[v7 PATCH 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-09-16 Thread Adriana Reus
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

[v7 PATCH 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-09-16 Thread Adriana Reus
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

[v7 PATCH 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-09-16 Thread Adriana Reus
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

[v7 PATCH 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-09-16 Thread Adriana Reus
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

[v7 PATCH 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-09-16 Thread Adriana Reus
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

Re: [PATCH v6 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-09-11 Thread Adriana Reus
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

Re: [PATCH v6 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-09-11 Thread Adriana Reus
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

Re: [PATCH v6 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-09-07 Thread Adriana Reus
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

Re: [PATCH v6 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-09-07 Thread Adriana Reus
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

[PATCH v6 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v6 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v6 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v5 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v5 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v5 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v5 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v5 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v5 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v6 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v6 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v6 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-08-20 Thread Adriana Reus
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

[PATCH v4 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-19 Thread Adriana Reus
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

[PATCH v4 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-08-19 Thread Adriana Reus
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

[PATCH v4 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-19 Thread Adriana Reus
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

[PATCH v4 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-19 Thread Adriana Reus
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

[PATCH v4 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-19 Thread Adriana Reus
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

[PATCH v4 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-08-19 Thread Adriana Reus
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

Re: [PATCH v3 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-18 Thread Adriana Reus
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

Re: [PATCH v3 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-18 Thread Adriana Reus
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

Re: [PATCH v3 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-18 Thread Adriana Reus
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

Re: [PATCH v3 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-18 Thread Adriana Reus
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

[PATCH v3 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH v3 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH v3 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH v3 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-08-14 Thread Adriana Reus
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

Re: [PATCH v2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-14 Thread Adriana Reus
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

Re: [PATCH v2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH v3 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH v3 1/2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH v3 2/2] devicetree: Add documentation for UPISEMI us5182d ALS and Proximity sensor

2015-08-14 Thread Adriana Reus
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

[PATCH v3 0/2] Add support and documentation for UPISEMI us5182d als and proximity sensor

2015-08-14 Thread Adriana Reus
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

Re: [PATCH v2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-05 Thread Adriana Reus
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

Re: [PATCH v2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-05 Thread Adriana Reus
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

[PATCH v2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-04 Thread Adriana Reus
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

[PATCH v2] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-08-04 Thread Adriana Reus
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

[PATCH] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-07-28 Thread Adriana Reus
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

[PATCH] iio: light: Add support for UPISEMI uS5182d als and proximity sensor

2015-07-28 Thread Adriana Reus
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

[PATCH] iio: light: Add support for TXC PA12 als and proximity sensor

2015-06-25 Thread Adriana Reus
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

[PATCH] iio: light: Add support for TXC PA12 als and proximity sensor

2015-06-25 Thread Adriana Reus
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

[PATCH 1/2] iio: inv-mpu: Export scale_available attributes

2015-06-11 Thread Adriana Reus
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

[PATCH 2/2] iio: inv-mpu: Specify the expected format/precision for write channels

2015-06-11 Thread Adriana Reus
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

[PATCH 0/2] iio: inv-mpu: small scale fixes

2015-06-11 Thread Adriana Reus
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

[PATCH 2/2] iio: inv-mpu: Specify the expected format/precision for write channels

2015-06-11 Thread Adriana Reus
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

[PATCH 0/2] iio: inv-mpu: small scale fixes

2015-06-11 Thread Adriana Reus
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

[PATCH 1/2] iio: inv-mpu: Export scale_available attributes

2015-06-11 Thread Adriana Reus
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

[PATCH] iio:inv-mpu6050: Fix inconsistency for the scale channel

2015-02-23 Thread Adriana Reus
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

[PATCH] iio:inv-mpu6050: Fix inconsistency for the scale channel

2015-02-23 Thread Adriana Reus
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