[PATCH 1/2] dt-bindings: hwmon: Add D3-323-AA
From: Hermes Zhang
Date: Wed Dec 11 2024 - 23:24:46 EST
Add Devicetree binding documentation for Nicera D3-323-AA Pyroelectric
IR sensor.
Signed-off-by: Hermes Zhang <Hermes.Zhang@xxxxxxxx>
---
.../bindings/hwmon/nicera,d3-323-aa.yaml | 50 +++++++++++++++++++
1 file changed, 50 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/nicera,d3-323-aa.yaml
diff --git a/Documentation/devicetree/bindings/hwmon/nicera,d3-323-aa.yaml b/Documentation/devicetree/bindings/hwmon/nicera,d3-323-aa.yaml
new file mode 100644
index 000000000000..31690e630b5f
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/nicera,d3-323-aa.yaml
@@ -0,0 +1,50 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/nicera,d3-323-aa.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nicera D3-323-AA Pyroelectric IR sensor
+
+maintainers:
+ - Hermes Zhang <Hermes.Zhang@xxxxxxxx>
+
+description: |
+ Nicera D3-323-AA Pyroelectric IR sensor
+
+ datasheet:
+ https://www.nicera.co.jp/wordpress/wp-content/uploads/2022/01/D3-323-AA_e.pdf
+
+properties:
+ compatible:
+ const: nicera,d3-323-aa
+
+ reset-gpios:
+ description: The GPIO pin connected to the reset pin on the sensor
+ maxItems: 1
+
+ clk-gpios:
+ description: The GPIO pin connected to the clk pin on the sensor
+ maxItems: 1
+
+ si-gpios:
+ description: The GPIO pin connected to the si pin on the sensor
+ maxItems: 1
+
+required:
+ - compatible
+ - reset-gpios
+ - clk-gpios
+ - si-gpios
+
+
+additionalProperties: false
+
+examples:
+ - |
+ sensor {
+ compatible = "nicera,d3-323-aa";
+ reset-gpios = <&gpio4 12 0>;
+ clk-gpios = <&gpio4 13 0>;
+ si-gpios = <&gpio4 14 0>;
+ };
--
2.45.2