From: Jonathan Cameron <jic23@kernel.org>
To: Waqar Hameed <waqar.hameed@axis.com>
Cc: "David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
kernel@axis.com, linux-iio@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/3] dt-bindings: iio: proximity: Add Nicera D3-323-AA PIR sensor
Date: Sun, 6 Jul 2025 11:53:19 +0100 [thread overview]
Message-ID: <20250706115319.4f663960@jic23-huawei> (raw)
In-Reply-To: <19a2744cebaee57fe5349986094168524baa9838.1751636734.git.waqar.hameed@axis.com>
On Fri, 4 Jul 2025 18:14:38 +0200
Waqar Hameed <waqar.hameed@axis.com> wrote:
> Nicera D3-323-AA is a PIR sensor for human detection. It has two GPIOs
> for detection and data communication.
>
> Signed-off-by: Waqar Hameed <waqar.hameed@axis.com>
> ---
> .../iio/proximity/nicera,d3323aa.yaml | 62 +++++++++++++++++++
> 1 file changed, 62 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/proximity/nicera,d3323aa.yaml
>
> diff --git a/Documentation/devicetree/bindings/iio/proximity/nicera,d3323aa.yaml b/Documentation/devicetree/bindings/iio/proximity/nicera,d3323aa.yaml
> new file mode 100644
> index 000000000000..65d9b44fcd5e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/proximity/nicera,d3323aa.yaml
> @@ -0,0 +1,62 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/proximity/nicera,d3323aa.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Nicera D3-323-AA PIR sensor
> +
> +maintainers:
> + - Waqar Hameed <waqar.hameed@axis.com>
> +
> +description: |
> + PIR sensor for human detection.
> + Datasheet: https://www.endrich.com/Datenbl%C3%A4tter/Sensoren/D3-323-AA_e.pdf
> +
> +properties:
> + compatible:
> + const: nicera,d3323aa
> +
> + vdd-supply:
> + description:
> + Supply voltage (1.8 to 5.5 V).
> +
> + vout-clk-gpios:
> + maxItems: 1
> + description:
> + GPIO for clock and detection.
> + After reset, the device signals with two falling edges on this pin that it
> + is ready for configuration (within 1.2 s).
> + During configuration, it is used as clock for data reading and writing (on
> + data-gpios).
> + After all this, when device is in operational mode, it signals on this pin
> + for any detections.
Don't start a new line for a new sentence.
> +
> + data-gpios:
> + maxItems: 1
> + description:
> + GPIO for data reading and writing. This is denoted "DO (SI)" in datasheet.
> + During configuration, this pin is used for writing and reading
> + configuration data (together with vout-clk-gpios as clock).
> + After this, during operational mode, the device will output serial data on
> + this GPIO.
> +
> +required:
> + - compatible
> + - vdd-supply
> + - vout-clk-gpios
> + - data-gpios
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + proximity {
> + compatible = "nicera,d3323aa";
> + vdd-supply = <®ulator_3v3>;
> + vout-clk-gpios = <&gpio 78 GPIO_ACTIVE_HIGH>;
> + data-gpios = <&gpio 76 GPIO_ACTIVE_HIGH>;
> + };
> +...
next prev parent reply other threads:[~2025-07-06 10:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-04 16:14 [PATCH v3 0/3] Add driver for Nicera D3-323-AA PIR sensor Waqar Hameed
2025-07-04 16:14 ` [PATCH v3 1/3] dt-bindings: vendor-prefixes: Add Nicera Waqar Hameed
2025-07-04 16:14 ` [PATCH v3 3/3] iio: Add driver for Nicera D3-323-AA PIR sensor Waqar Hameed
2025-07-06 11:11 ` Jonathan Cameron
2025-07-07 8:46 ` Waqar Hameed
2025-07-13 16:20 ` Jonathan Cameron
2025-07-04 16:14 ` [PATCH v3 2/3] dt-bindings: iio: proximity: Add " Waqar Hameed
2025-07-06 10:53 ` Jonathan Cameron [this message]
2025-07-07 6:44 ` Krzysztof Kozlowski
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=20250706115319.4f663960@jic23-huawei \
--to=jic23@kernel.org \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=kernel@axis.com \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
--cc=waqar.hameed@axis.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