Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: bosch,bme680: Move from trivial-devices and add supplies

Move dt-binding for BME680 out of trivial-devices.yaml and extend it by
adding the missing supplies.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Link: https://patch.msgid.link/20241202192341.33187-2-vassilisamir@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Vasileios Amoiridis and committed by
Jonathan Cameron
139a45c3 804eb393

+62 -2
+62
Documentation/devicetree/bindings/iio/chemical/bosch,bme680.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/iio/chemical/bosch,bme680.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Bosch BME680 Gas sensor 8 + 9 + maintainers: 10 + - Vasileios Amoiridis <vassilisamir@gmail.com> 11 + 12 + description: > 13 + BME680 is a gas sensor which combines relative humidity, barometric pressure, 14 + ambient temperature and gas (VOC - Volatile Organic Compounds) measurements. 15 + 16 + https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme680-ds001.pdf 17 + 18 + properties: 19 + compatible: 20 + const: bosch,bme680 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + vdd-supply: true 26 + vddio-supply: true 27 + 28 + required: 29 + - compatible 30 + - reg 31 + 32 + allOf: 33 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 34 + 35 + unevaluatedProperties: false 36 + 37 + examples: 38 + - | 39 + i2c { 40 + #address-cells = <1>; 41 + #size-cells = <0>; 42 + 43 + co2-sensor@77 { 44 + compatible = "bosch,bme680"; 45 + reg = <0x77>; 46 + vddio-supply = <&vddio>; 47 + vdd-supply = <&vdd>; 48 + }; 49 + }; 50 + - | 51 + spi { 52 + #address-cells = <1>; 53 + #size-cells = <0>; 54 + 55 + co2-sensor@0 { 56 + compatible = "bosch,bme680"; 57 + reg = <0>; 58 + spi-max-frequency = <500000>; 59 + vddio-supply = <&vddio>; 60 + vdd-supply = <&vdd>; 61 + }; 62 + };
-2
Documentation/devicetree/bindings/trivial-devices.yaml
··· 55 55 - atmel,atsha204a 56 56 # BPA-RS600: Power Supply 57 57 - blutek,bpa-rs600 58 - # Bosch Sensortec pressure, temperature, humididty and VOC sensor 59 - - bosch,bme680 60 58 # CM32181: Ambient Light Sensor 61 59 - capella,cm32181 62 60 # CM3232: Ambient Light Sensor