From: Jonathan Cameron <jic23@kernel.org>
To: Jacopo Mondi <jacopo@jmondi.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Matt Ranostay <matt.ranostay@konsulko.com>,
Magnus Damm <magnus.damm@gmail.com>,
linux-iio@vger.kernel.org
Subject: Re: [PATCH v4 3/3] iio: ABI: docs: Document Senseair Sunrise ABI
Date: Sun, 5 Sep 2021 11:52:44 +0100 [thread overview]
Message-ID: <20210905115244.1fd960fb@jic23-huawei> (raw)
In-Reply-To: <20210903144828.497166-4-jacopo@jmondi.org>
On Fri, 3 Sep 2021 16:48:28 +0200
Jacopo Mondi <jacopo@jmondi.org> wrote:
> Add documentation for the sysfs attributes of the sunrise_co2 driver.
>
> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Nice but please fill in the version numbers with 5.16
Thanks,
Jonathan
> ---
> .../sysfs-bus-iio-chemical-sunrise-co2 | 38 +++++++++++++++++++
> 1 file changed, 38 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-chemical-sunrise-co2
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-iio-chemical-sunrise-co2 b/Documentation/ABI/testing/sysfs-bus-iio-chemical-sunrise-co2
> new file mode 100644
> index 000000000000..bbdbf9dd4818
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-bus-iio-chemical-sunrise-co2
> @@ -0,0 +1,38 @@
> +What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_calibration_factory
> +Date: August 2021
> +KernelVersion:
> +Contact: Jacopo Mondi <jacopo@jmondi.org>
> +Description:
> + Writing '1' triggers a 'Factory' calibration cycle.
> +
> +What: /sys/bus/iio/devices/iio:deviceX/in_concentration_co2_calibration_background
> +Date: August 2021
> +KernelVersion:
> +Contact: Jacopo Mondi <jacopo@jmondi.org>
> +Description:
> + Writing '1' triggers a 'Background' calibration cycle.
> +
> +What: /sys/bus/iio/devices/iio:deviceX/error_status_available
> +Date: August 2021
> +KernelVersion:
Be an optimist and fill this in for v5! I'll never remember to do it.
I'd be very surprised if we don't get this lined up for 5.16
> +Contact: Jacopo Mondi <jacopo@jmondi.org>
> +Description:
> + Reading returns the list of possible chip error status.
> + Available options are:
> + - 'error_fatal': Analog front-end initialization error
> + - 'error_i2c': Read/write to non-existing register
> + - 'error_algorithm': Corrupted parameters
> + - 'error_calibration': Calibration has failed
> + - 'error_self_diagnostic': Internal interface failure
> + - 'error_out_of_range': Measured concentration out of scale
> + - 'error_memory': Error during memory operations
> + - 'error_no_measurement': Cleared at first measurement
> + - 'error_low_voltage': Sensor regulated voltage too low
> + - 'error_measurement_timeout': Unable to complete measurement
> +
> +What: /sys/bus/iio/devices/iio:deviceX/error_status
> +Date: August 2021
> +KernelVersion:
> +Contact: Jacopo Mondi <jacopo@jmondi.org>
> +Description:
> + Reading returns the current chip error status.
prev parent reply other threads:[~2021-09-05 10:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-03 14:48 [PATCH v4 0/3] iio: chemical: Add Senseair Sunrise CO2 sensor Jacopo Mondi
2021-09-03 14:48 ` [PATCH v4 1/3] dt-bindings: iio: chemical: Document senseair,sunrise " Jacopo Mondi
2021-09-03 14:48 ` [PATCH v4 2/3] iio: chemical: Add Senseair Sunrise 006-0-007 driver Jacopo Mondi
2021-09-03 15:36 ` Andy Shevchenko
2021-09-03 16:43 ` Jacopo Mondi
2021-09-03 20:21 ` Andy Shevchenko
2021-09-05 10:37 ` Jonathan Cameron
2021-09-05 21:10 ` Matt Ranostay
2021-09-08 12:48 ` Jacopo Mondi
2021-09-08 16:56 ` Jonathan Cameron
2021-09-09 8:43 ` Jacopo Mondi
2021-09-03 14:48 ` [PATCH v4 3/3] iio: ABI: docs: Document Senseair Sunrise ABI Jacopo Mondi
2021-09-05 10:52 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210905115244.1fd960fb@jic23-huawei \
--to=jic23@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=jacopo@jmondi.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=matt.ranostay@konsulko.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).