1# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/hwmon/sensirion,sht15.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Sensirion SHT15 humidity and temperature sensor 8 9maintainers: 10 - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> 11 12properties: 13 compatible: 14 const: sensirion,sht15 15 16 clk-gpios: 17 maxItems: 1 18 19 data-gpios: 20 maxItems: 1 21 22 vcc-supply: 23 description: regulator that drives the VCC pin 24 25required: 26 - compatible 27 - clk-gpios 28 - data-gpios 29 - vcc-supply 30 31additionalProperties: false 32 33examples: 34 - | 35 sensor { 36 compatible = "sensirion,sht15"; 37 clk-gpios = <&gpio4 12 0>; 38 data-gpios = <&gpio4 13 0>; 39 vcc-supply = <®_sht15>; 40 41 pinctrl-names = "default"; 42 pinctrl-0 = <&pinctrl_sensor>; 43 }; 44