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