Bosch BME680 Gas sensor
Schema identifier ($id): "http://devicetree.org/schemas/iio/chemical/bosch,bme680.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vasileios Amoiridis <vassilisamir@gmail.com>"
BME680 is a gas sensor which combines relative humidity, barometric pressure, ambient temperature and gas (VOC - Volatile Organic Compounds) measurements. https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme680-ds001.pdf
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "bosch,bme680"
reg — required here #
Maximum number of items (maxItems): 1
vdd-supply — not listed as required here #
true — No constraints added by this property rule.
vddio-supply — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
co2-sensor@77 {
compatible = "bosch,bme680";
reg = <0x77>;
vddio-supply = <&vddio>;
vdd-supply = <&vdd>;
};
};
spi {
#address-cells = <1>;
#size-cells = <0>;
co2-sensor@0 {
compatible = "bosch,bme680";
reg = <0>;
spi-max-frequency = <500000>;
vddio-supply = <&vddio>;
vdd-supply = <&vdd>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)