Sensirion SHT15 humidity and temperature sensor

Schema identifier ($id): "http://devicetree.org/schemas/hwmon/sensirion,sht15.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sensirion,sht15"

clk-gpios — required here #

Maximum number of items (maxItems): 1

data-gpios — required here #

Maximum number of items (maxItems): 1

vcc-supply — required here #

regulator that drives the VCC pin

Required in this object (required): "compatible", "clk-gpios", "data-gpios", "vcc-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

sensor {
    compatible = "sensirion,sht15";
    clk-gpios = <&gpio4 12 0>;
    data-gpios = <&gpio4 13 0>;
    vcc-supply = <&reg_sht15>;

    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_sensor>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page