Re: [PATCH v3 2/3] iio: chemical: sgp30: Support Sensirion SGP30/SGPC3 sensors

2019-03-10 Thread Andreas Brauchli
On Sat, 2019-03-09 at 17:02 +, Jonathan Cameron wrote: > On Thu, 07 Mar 2019 21:34:12 +0100 > Andreas Brauchli wrote: > > > On Sat, 2018-12-22 at 16:56 +, Jonathan Cameron wrote: > > > On Tue, 18 Dec 2018 18:44:40 +0100 > > > Tomasz Duszynski wrote: >

Re: [PATCH v3 2/3] iio: chemical: sgp30: Support Sensirion SGP30/SGPC3 sensors

2019-03-07 Thread Andreas Brauchli
On Sat, 2018-12-22 at 16:56 +, Jonathan Cameron wrote: > On Tue, 18 Dec 2018 18:44:40 +0100 > Tomasz Duszynski wrote: > > > On Mon, Dec 17, 2018 at 11:59:36AM +, Jonathan Cameron wrote: > > > On Sun, 16 Dec 2018 17:38:18 +0100 > > > Andreas Brauchli wr

Re: [PATCH v2] iio: chemical: sps30: add support for self cleaning

2018-12-28 Thread Andreas Brauchli
y comments, it'll only be out as testing so we can > still modify if that make sense for at least the next couple of weeks. I backported and tested the whole series on a 4.9.53 raspberry pi with an SPS30. Tested-by: Andreas Brauchli Cheers, Andreas > > Thanks, > > Jonathan >

Re: [PATCH v3 2/3] iio: chemical: sgp30: Support Sensirion SGP30/SGPC3 sensors

2018-12-16 Thread Andreas Brauchli
On Sun, 2018-12-16 at 13:34 +, Jonathan Cameron wrote: > On Thu, 13 Dec 2018 15:43:23 +0100 > Andreas Brauchli wrote: > > > Support Sensirion SGP30 and SGPC3 multi-pixel I2C gas sensors > > > > Supported Features: > > > > * Indoor Air Qualit

[PATCH v3 1/3] iio: Add modifiers for ethanol and H2 gases

2018-12-13 Thread Andreas Brauchli
Add ethanol and H2 gas modifiers: * IIO_MOD_ETHANOL * IIO_MOD_H2 Signed-off-by: Andreas Brauchli --- Documentation/ABI/testing/sysfs-bus-iio | 4 include/uapi/linux/iio/types.h | 2 ++ tools/iio/iio_event_monitor.c | 4 3 files changed, 10 insertions(+) diff --git

[PATCH v3 2/3] iio: chemical: sgp30: Support Sensirion SGP30/SGPC3 sensors

2018-12-13 Thread Andreas Brauchli
to allow the sensor to maintain its internal baseline. * Gas concentration signals - Ethanol (in_concentration_ethanol_raw) - H2 (in_concentration_h2_raw) - SGP30 only https://www.sensirion.com/file/datasheet_sgp30 https://www.sensirion.com/file/datasheet_sgpc3 Signed-off-by: Andreas Brauchli

[PATCH v3 0/3] iio: chemical: sgp30: Support Sensirion Gas Sensors

2018-12-13 Thread Andreas Brauchli
commit * SPDX License header * Style and whitespace changes (Different sender due to corporate server molesting emails) Andreas Brauchli (3): iio: Add modifiers for ethanol and H2 gases iio: chemical: sgp30: Support Sensirion SGP30/SGPC3 sensors iio: chemical: sgp30: add device tree support

[PATCH v3 3/3] iio: chemical: sgp30: add device tree support

2018-12-13 Thread Andreas Brauchli
Add device tree support for Sensirion SGP30/SGPC3 gas sensors. Signed-off-by: Andreas Brauchli --- .../bindings/iio/chemical/sensirion,sgp30.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sgp30.txt

Re: [PATCH 2/3] iio: chemical: add support for Sensirion SPS30 sensor

2018-12-03 Thread Andreas Brauchli
From: Andreas Brauchli On Sat, 1 Dec 2018 15:58:57 +, Jonathan Cameron wrote: > On Sun, 25 Nov 2018 20:05:09 +0100 > Tomasz Duszynski wrote: > > > On Sun, Nov 25, 2018 at 08:56:59AM +, Jonathan Cameron wrote: > > > On Sat, 24 Nov 2018 23:14:14 +0100 >

Re: [PATCH 2/3] iio: chemical: add support for Sensirion SPS30 sensor

2018-12-03 Thread Andreas Brauchli
From: Andreas Brauchli On Sat, 1 Dec 2018 15:58:57 +, Jonathan Cameron wrote: > On Sun, 25 Nov 2018 20:05:09 +0100 > Tomasz Duszynski wrote: > > > On Sun, Nov 25, 2018 at 08:56:59AM +, Jonathan Cameron wrote: > > > On Sat, 24 Nov 2018 23:14:14 +0100 >

[PATCH v2 2/2] iio: chemical: sgp30: Support Sensirion SGPxx sensors

2018-03-10 Thread Andreas Brauchli
(1/30Hz) sampling - SGPC3 only * Checksummed I2C communication For all features, refer to the data sheet or the documentation in Documentation/iio/chemical/sgp30.txt for more details. The ABI is documented in Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp30 Signed-off-by: Andreas Brauchli

[PATCH v2 2/2] iio: chemical: sgp30: Support Sensirion SGPxx sensors

2018-03-10 Thread Andreas Brauchli
(1/30Hz) sampling - SGPC3 only * Checksummed I2C communication For all features, refer to the data sheet or the documentation in Documentation/iio/chemical/sgp30.txt for more details. The ABI is documented in Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp30 Signed-off-by: Andreas Brauchli

[PATCH v2 0/2] iio: chemical: sgp30: Support SGP30 / SGPC3 Gas Sensors

2018-03-10 Thread Andreas Brauchli
s to Peter Meerwald-Standler and Jonathan Cameron for their most valuable feedback on v1. Andreas Brauchli (2): iio: Add modifiers for ethanol and H2 gases iio: chemical: sgp30: Support Sensirion SGPxx sensors Documentation/ABI/testing/sysfs-bus-iio|4 + .../ABI/testing/sys

[PATCH v2 1/2] iio: Add modifiers for ethanol and H2 gases

2018-03-10 Thread Andreas Brauchli
Add ethanol and H2 gas modifiers: * IIO_MOD_ETHANOL * IIO_MOD_H2 Signed-off-by: Andreas Brauchli <andreas.brauc...@sensirion.com> --- Documentation/ABI/testing/sysfs-bus-iio | 4 include/uapi/linux/iio/types.h | 2 ++ tools/iio/iio_event_monitor.c | 4 3

[PATCH v2 0/2] iio: chemical: sgp30: Support SGP30 / SGPC3 Gas Sensors

2018-03-10 Thread Andreas Brauchli
s to Peter Meerwald-Standler and Jonathan Cameron for their most valuable feedback on v1. Andreas Brauchli (2): iio: Add modifiers for ethanol and H2 gases iio: chemical: sgp30: Support Sensirion SGPxx sensors Documentation/ABI/testing/sysfs-bus-iio|4 + .../ABI/testing/sys

[PATCH v2 1/2] iio: Add modifiers for ethanol and H2 gases

2018-03-10 Thread Andreas Brauchli
Add ethanol and H2 gas modifiers: * IIO_MOD_ETHANOL * IIO_MOD_H2 Signed-off-by: Andreas Brauchli --- Documentation/ABI/testing/sysfs-bus-iio | 4 include/uapi/linux/iio/types.h | 2 ++ tools/iio/iio_event_monitor.c | 4 3 files changed, 10 insertions(+) diff --git

Re: [PATCH 2/2] iio: chemical: sgpxx: triggered buffer support

2018-03-10 Thread Andreas Brauchli
On Sat, 2017-11-25 at 17:48 +, Jonathan Cameron wrote: > On Tue, 21 Nov 2017 17:11:29 +0100 > Andreas Brauchli <a.brauc...@elementarea.net> wrote: > > > Support triggered buffer for use with e.g. hrtimer for automated > > polling to ensure that the sensor's int

Re: [PATCH 2/2] iio: chemical: sgpxx: triggered buffer support

2018-03-10 Thread Andreas Brauchli
On Sat, 2017-11-25 at 17:48 +, Jonathan Cameron wrote: > On Tue, 21 Nov 2017 17:11:29 +0100 > Andreas Brauchli wrote: > > > Support triggered buffer for use with e.g. hrtimer for automated > > polling to ensure that the sensor's internal baseline is correctly >

Re: [PATCH 1/2] iio: chemical: sgpxx: Support Sensirion SGPxx sensors

2018-03-10 Thread Andreas Brauchli
I2C communication > > > > > > > > > For all features, refer to the data sheet or the documentation in > > > Documentation/iio/chemical/sgpxx.txt for more details. > > > > may some brief TODOs; heat controller? The heater interface is

Re: [PATCH 1/2] iio: chemical: sgpxx: Support Sensirion SGPxx sensors

2018-03-10 Thread Andreas Brauchli
ommunication > > > > > > > > > For all features, refer to the data sheet or the documentation in > > > Documentation/iio/chemical/sgpxx.txt for more details. > > > > may some brief TODOs; heat controller? The heater i

[PATCH v4] checkpatch: allow long lines containing URL

2017-11-22 Thread Andreas Brauchli
Signed-off-by: Andreas Brauchli <andreas.brauc...@sensirion.com> --- scripts/checkpatch.pl | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 95cda3ecc66b..8e4c4ee9811a 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -

Re: [PATCH v3] checkpatch: allow URL >80 chars

2017-11-22 Thread Andreas Brauchli
On Die, 2017-11-21 at 17:05 -0800, Joe Perches wrote: > On Tue, 2017-11-21 at 22:50 +0100, Andreas Brauchli wrote: > > Allow URL to exceed the 80 char limit for improved interaction in > > adaption to ongoing but undocumented practice. > > > > $ git grep

[PATCH v4] checkpatch: allow long lines containing URL

2017-11-22 Thread Andreas Brauchli
Signed-off-by: Andreas Brauchli --- scripts/checkpatch.pl | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 95cda3ecc66b..8e4c4ee9811a 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2875,6 +2875,7 @@ sub process

Re: [PATCH v3] checkpatch: allow URL >80 chars

2017-11-22 Thread Andreas Brauchli
On Die, 2017-11-21 at 17:05 -0800, Joe Perches wrote: > On Tue, 2017-11-21 at 22:50 +0100, Andreas Brauchli wrote: > > Allow URL to exceed the 80 char limit for improved interaction in > > adaption to ongoing but undocumented practice. > > > > $ git grep

[PATCH v3] checkpatch: allow URL >80 chars

2017-11-21 Thread Andreas Brauchli
currently left out of the heuristics. $rawline is used in the check as comments are removed from $line. [1] https://tools.ietf.org/html/rfc3986#section-3.1 Signed-off-by: Andreas Brauchli <andreas.brauc...@sensirion.com> --- scripts/checkpatch.pl | 4 1 file changed, 4 insertions(+) diff

[PATCH v3] checkpatch: allow URL >80 chars

2017-11-21 Thread Andreas Brauchli
currently left out of the heuristics. $rawline is used in the check as comments are removed from $line. [1] https://tools.ietf.org/html/rfc3986#section-3.1 Signed-off-by: Andreas Brauchli --- scripts/checkpatch.pl | 4 1 file changed, 4 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts

[PATCH 2/2] iio: chemical: sgpxx: triggered buffer support

2017-11-21 Thread Andreas Brauchli
Support triggered buffer for use with e.g. hrtimer for automated polling to ensure that the sensor's internal baseline is correctly updated independently of the use-case. Triggered buffer support is only enabled when IIO_BUFFER is set. Signed-off-by: Andreas Brauchli <andreas.br

[PATCH 2/2] iio: chemical: sgpxx: triggered buffer support

2017-11-21 Thread Andreas Brauchli
Support triggered buffer for use with e.g. hrtimer for automated polling to ensure that the sensor's internal baseline is correctly updated independently of the use-case. Triggered buffer support is only enabled when IIO_BUFFER is set. Signed-off-by: Andreas Brauchli --- drivers/iio/chemical

[PATCH 1/2] iio: chemical: sgpxx: Support Sensirion SGPxx sensors

2017-11-21 Thread Andreas Brauchli
/chemical/sgpxx.txt for more details. Signed-off-by: Andreas Brauchli <andreas.brauc...@sensirion.com> --- Documentation/iio/chemical/sgpxx.txt | 112 + drivers/iio/chemical/Kconfig | 13 + drivers/iio/chemical/Makefile| 1 + drivers/iio/chemical/sgpxx.c

[PATCH 0/2] iio: chemical: sgpxx: Support SGP30 / SGPC3 Gas Sensors

2017-11-21 Thread Andreas Brauchli
extend_name. Patches will be issued separately, but reviewers are kindly asked to ensure that this patch follows best IIO attribute naming practises. Further product specs available from: https://www.sensirion.com/en/environmental-sensors/gas-sensors/multi-pixel-gas-sensors/ Andreas Brauchli (2): iio

[PATCH 1/2] iio: chemical: sgpxx: Support Sensirion SGPxx sensors

2017-11-21 Thread Andreas Brauchli
/chemical/sgpxx.txt for more details. Signed-off-by: Andreas Brauchli --- Documentation/iio/chemical/sgpxx.txt | 112 + drivers/iio/chemical/Kconfig | 13 + drivers/iio/chemical/Makefile| 1 + drivers/iio/chemical/sgpxx.c | 894 +++ 4 files

[PATCH 0/2] iio: chemical: sgpxx: Support SGP30 / SGPC3 Gas Sensors

2017-11-21 Thread Andreas Brauchli
extend_name. Patches will be issued separately, but reviewers are kindly asked to ensure that this patch follows best IIO attribute naming practises. Further product specs available from: https://www.sensirion.com/en/environmental-sensors/gas-sensors/multi-pixel-gas-sensors/ Andreas Brauchli (2): iio

Re: [PATCH v2] checkpatch: allow URL >80 chars

2017-11-20 Thread Andreas Brauchli
On Mon, 2017-11-20 at 22:02 -0800, Joe Perches wrote: > On Mon, 2017-11-20 at 13:40 +0100, Andreas Brauchli wrote: > > Allow URL to exceed the 80 char limit for improved interaction in > > adaption to ongoing but undocumented practice. > > > > $ git grep

Re: [PATCH v2] checkpatch: allow URL >80 chars

2017-11-20 Thread Andreas Brauchli
On Mon, 2017-11-20 at 22:02 -0800, Joe Perches wrote: > On Mon, 2017-11-20 at 13:40 +0100, Andreas Brauchli wrote: > > Allow URL to exceed the 80 char limit for improved interaction in > > adaption to ongoing but undocumented practice. > > > > $ git grep

[PATCH v2] checkpatch: allow URL >80 chars

2017-11-20 Thread Andreas Brauchli
currently left out of the heuristics. $rawline is used in the check as comments are removed from $line. [1] https://tools.ietf.org/html/rfc3986#section-3.1 Signed-off-by: Andreas Brauchli <andreas.brauc...@sensirion.com> --- scripts/checkpatch.pl | 5 + 1 file changed, 5 insertions(+) diff

[PATCH v2] checkpatch: allow URL >80 chars

2017-11-20 Thread Andreas Brauchli
currently left out of the heuristics. $rawline is used in the check as comments are removed from $line. [1] https://tools.ietf.org/html/rfc3986#section-3.1 Signed-off-by: Andreas Brauchli --- scripts/checkpatch.pl | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/checkpatch.pl b

Re: [PATCH] checkpatch: allow URL >80 chars

2017-11-18 Thread Andreas Brauchli
On Fre, 2017-11-17 at 21:21 -0800, Joe Perches wrote: > On Fri, 2017-11-17 at 16:56 +0100, Andreas Brauchli wrote: > > Allow URL to exceed the 80 char limit for improved interaction in > > adaption to ongoing but undocumented practice. > > > > $ git grep

Re: [PATCH] checkpatch: allow URL >80 chars

2017-11-18 Thread Andreas Brauchli
On Fre, 2017-11-17 at 21:21 -0800, Joe Perches wrote: > On Fri, 2017-11-17 at 16:56 +0100, Andreas Brauchli wrote: > > Allow URL to exceed the 80 char limit for improved interaction in > > adaption to ongoing but undocumented practice. > > > > $ git grep

[PATCH] checkpatch: allow URL >80 chars

2017-11-17 Thread Andreas Brauchli
he check as comments are removed from $line. Signed-off-by: Andreas Brauchli <andreas.brauc...@sensirion.com> --- scripts/checkpatch.pl | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 8b80bac055e4..aed447923354 100755 --- a/scripts/c

[PATCH] checkpatch: allow URL >80 chars

2017-11-17 Thread Andreas Brauchli
he check as comments are removed from $line. Signed-off-by: Andreas Brauchli --- scripts/checkpatch.pl | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 8b80bac055e4..aed447923354 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl