lkml.org 
[lkml]   [2022]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] dt-bindings: iio: humidity: Add si7020 bindings
Date
Document the si7020 bindings with a new "silabs,skip-reset" property.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
.../bindings/iio/humidity/silabs,si7020.yaml | 42 +++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml

diff --git a/Documentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml b/Documentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml
new file mode 100644
index 000000000000..ab53bb8d9606
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/humidity/silabs,si7020.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/humidity/silabs,si7020.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: SI7020 humidity + temperature sensor
+
+maintainers:
+ - David Barksdale <dbarksdale@uplogix.com>
+
+description: |
+ The Silicon Labs Si7013/20/21 Relative Humidity and Temperature Sensors
+ are i2c devices which have an identical programming interface for
+ measuring relative humidity and temperature.
+
+properties:
+ compatible:
+ const: silabs,si7020
+
+ reg:
+ maxItems: 1
+
+ siliabs,skip-reset:
+ $ref: /schemas/types.yaml#/definitions/flag
+ description:
+ Disables resetting of the device during probe
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ si7021-a20@40 {
+ silabs,skip-reset;
+ compatible = "silabs,si7020";
+ reg = <0x40>;
+ };
+...
--
2.27.0
\
 
 \ /
  Last update: 2022-05-11 21:11    [W:0.062 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site