0001 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/hwmon/sensirion,sht15.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Sensirion SHT15 humidity and temperature sensor
0008
0009 maintainers:
0010 - Krzysztof Kozlowski <krzk@kernel.org>
0011
0012 properties:
0013 compatible:
0014 const: sensirion,sht15
0015
0016 clk-gpios:
0017 maxItems: 1
0018
0019 data-gpios:
0020 maxItems: 1
0021
0022 vcc-supply:
0023 description: regulator that drives the VCC pin
0024
0025 required:
0026 - compatible
0027 - clk-gpios
0028 - data-gpios
0029 - vcc-supply
0030
0031 additionalProperties: false
0032
0033 examples:
0034 - |
0035 sensor {
0036 compatible = "sensirion,sht15";
0037 clk-gpios = <&gpio4 12 0>;
0038 data-gpios = <&gpio4 13 0>;
0039 vcc-supply = <®_sht15>;
0040
0041 pinctrl-names = "default";
0042 pinctrl-0 = <&pinctrl_sensor>;
0043 };