Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / hwmon / sensirion,sht15.yaml
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
7 title: Sensirion SHT15 humidity and temperature sensor
8
9 maintainers:
10   - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
11
12 properties:
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
25 required:
26   - compatible
27   - clk-gpios
28   - data-gpios
29   - vcc-supply
30
31 additionalProperties: false
32
33 examples:
34   - |
35     sensor {
36         compatible = "sensirion,sht15";
37         clk-gpios = <&gpio4 12 0>;
38         data-gpios = <&gpio4 13 0>;
39         vcc-supply = <&reg_sht15>;
40
41         pinctrl-names = "default";
42         pinctrl-0 = <&pinctrl_sensor>;
43     };