lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250206061521.2546108-3-Hermes.Zhang@axis.com>
Date: Thu, 6 Feb 2025 14:15:16 +0800
From: Hermes Zhang <Hermes.Zhang@...s.com>
To: <jic23@...nel.org>, <robh@...nel.org>, <lars@...afoo.de>,
	<krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, Hermes Zhang
	<chenhuiz@...s.com>
CC: <kernel@...s.com>, Hermes Zhang <Hermes.Zhang@...s.com>,
	<linux-iio@...r.kernel.org>, <devicetree@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>
Subject: [PATCH 2/3] dt-bindings: iio: chemical: sensirion,senxx: Add yaml description

Add documentation for the SEN5x/SEN6x environmental sensor from Sensirion.

Signed-off-by: Hermes Zhang <Hermes.Zhang@...s.com>
---
 .../iio/chemical/sensirion,senxx.yaml         | 49 +++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,senxx.yaml

diff --git a/Documentation/devicetree/bindings/iio/chemical/sensirion,senxx.yaml b/Documentation/devicetree/bindings/iio/chemical/sensirion,senxx.yaml
new file mode 100644
index 000000000000..4d998eabe441
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/chemical/sensirion,senxx.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/chemical/sensirion,senxx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sensirion SEN5x/SEN6x environmental sensor
+
+maintainers:
+  - Hermes Zhang <chenhuiz@...s.com>
+
+description: |
+  The SEN5x/SEN6x is a sensor module family combining the measurement of air
+  quality parameters: particulate matter, VOC, NOx, humidity, and temperature.
+
+  Datasheet:
+  https://sensirion.com/media/documents/6791EFA0/62A1F68F/Sensirion_Datasheet_Environmental_Node_SEN5x.pdf
+  https://sensirion.com/media/documents/FAFC548D/6731FFFA/Sensirion_Datasheet_SEN6x.pdf
+
+properties:
+  compatible:
+    enum:
+      - sensirion,sen50
+      - sensirion,sen54
+      - sensirion,sen55
+      - sensirion,sen60
+      - sensirion,sen65
+      - sensirion,sen66
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      sen55@69 {
+        compatible = "sensirion,sen55";
+        reg = <0x69>;
+      };
+    };
-- 
2.45.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ