| 1 |
|
| 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 <[email protected]> |
| 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 = <®_sht15>; |
| 40 |
|
| 41 |
pinctrl-names = "default"; |
| 42 |
pinctrl-0 = <&pinctrl_sensor>; |
| 43 |
}; |