From: Jonathan Cameron <jic23@kernel.org>
To: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 2/2] dt-bindings: iio: light: add UVIS25 device bindings
Date: Sat, 25 Nov 2017 16:11:26 +0000 [thread overview]
Message-ID: <20171125161126.5ac74773@archlinux> (raw)
In-Reply-To: <20171123225906.31838-3-lorenzo.bianconi83@gmail.com>
On Thu, 23 Nov 2017 23:59:06 +0100
Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> wrote:
> Acked-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Applied
> ---
> .../devicetree/bindings/iio/light/uvis25.txt | 23 ++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/light/uvis25.txt
>
> diff --git a/Documentation/devicetree/bindings/iio/light/uvis25.txt b/Documentation/devicetree/bindings/iio/light/uvis25.txt
> new file mode 100644
> index 000000000000..3041207e3f3c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/light/uvis25.txt
> @@ -0,0 +1,23 @@
> +* ST UVIS25 uv sensor
> +
> +Required properties:
> +- compatible: should be "st,uvis25"
> +- reg: i2c address of the sensor / spi cs line
> +
> +Optional properties:
> +- interrupt-parent: should be the phandle for the interrupt controller
> +- interrupts: interrupt mapping for IRQ. It should be configured with
> + flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
> + IRQ_TYPE_EDGE_FALLING.
> +
> + Refer to interrupt-controller/interrupts.txt for generic interrupt
> + client node bindings.
> +
> +Example:
> +
> +uvis25@47 {
> + compatible = "st,uvis25";
> + reg = <0x47>;
> + interrupt-parent = <&gpio0>;
> + interrupts = <0 IRQ_TYPE_EDGE_RISING>;
> +};
WARNING: multiple messages have this Message-ID (diff)
From: Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Lorenzo Bianconi
<lorenzo.bianconi83-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2 2/2] dt-bindings: iio: light: add UVIS25 device bindings
Date: Sat, 25 Nov 2017 16:11:26 +0000 [thread overview]
Message-ID: <20171125161126.5ac74773@archlinux> (raw)
In-Reply-To: <20171123225906.31838-3-lorenzo.bianconi83-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On Thu, 23 Nov 2017 23:59:06 +0100
Lorenzo Bianconi <lorenzo.bianconi83-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Applied
> ---
> .../devicetree/bindings/iio/light/uvis25.txt | 23 ++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/light/uvis25.txt
>
> diff --git a/Documentation/devicetree/bindings/iio/light/uvis25.txt b/Documentation/devicetree/bindings/iio/light/uvis25.txt
> new file mode 100644
> index 000000000000..3041207e3f3c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/light/uvis25.txt
> @@ -0,0 +1,23 @@
> +* ST UVIS25 uv sensor
> +
> +Required properties:
> +- compatible: should be "st,uvis25"
> +- reg: i2c address of the sensor / spi cs line
> +
> +Optional properties:
> +- interrupt-parent: should be the phandle for the interrupt controller
> +- interrupts: interrupt mapping for IRQ. It should be configured with
> + flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
> + IRQ_TYPE_EDGE_FALLING.
> +
> + Refer to interrupt-controller/interrupts.txt for generic interrupt
> + client node bindings.
> +
> +Example:
> +
> +uvis25@47 {
> + compatible = "st,uvis25";
> + reg = <0x47>;
> + interrupt-parent = <&gpio0>;
> + interrupts = <0 IRQ_TYPE_EDGE_RISING>;
> +};
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-11-25 16:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-23 22:59 [PATCH v2 0/2] Add support for UVIS25 uv sensor Lorenzo Bianconi
2017-11-23 22:59 ` Lorenzo Bianconi
2017-11-23 22:59 ` [PATCH v2 1/2] iio: light: add support for UVIS25 sensor Lorenzo Bianconi
2017-11-23 22:59 ` Lorenzo Bianconi
2017-11-25 16:11 ` Jonathan Cameron
2017-11-25 16:11 ` Jonathan Cameron
2017-11-27 22:09 ` Lorenzo Bianconi
2017-11-27 22:09 ` Lorenzo Bianconi
2017-11-23 22:59 ` [PATCH v2 2/2] dt-bindings: iio: light: add UVIS25 device bindings Lorenzo Bianconi
2017-11-23 22:59 ` Lorenzo Bianconi
2017-11-25 16:11 ` Jonathan Cameron [this message]
2017-11-25 16:11 ` Jonathan Cameron
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=20171125161126.5ac74773@archlinux \
--to=jic23@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=lorenzo.bianconi83@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.