Path: blob/master/Documentation/devicetree/bindings/iio/chemical/sensirion,scd30.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/chemical/sensirion,scd30.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Sensirion SCD30 carbon dioxide sensor78maintainers:9- Tomasz Duszynski <tomasz.duszynski@octakon.com>1011description: |12Air quality sensor capable of measuring co2 concentration, temperature13and relative humidity.1415properties:16compatible:17enum:18- sensirion,scd301920reg:21maxItems: 12223interrupts:24maxItems: 12526vdd-supply: true2728sensirion,sel-gpios:29description: GPIO connected to the SEL line30maxItems: 13132sensirion,pwm-gpios:33description: GPIO connected to the PWM line34maxItems: 13536required:37- compatible3839additionalProperties: false4041examples:42- |43# include <dt-bindings/interrupt-controller/irq.h>44i2c {45#address-cells = <1>;46#size-cells = <0>;4748co2-sensor@61 {49compatible = "sensirion,scd30";50reg = <0x61>;51vdd-supply = <&vdd>;52interrupt-parent = <&gpio0>;53interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;54};55};56- |57# include <dt-bindings/interrupt-controller/irq.h>58serial {59co2-sensor {60compatible = "sensirion,scd30";61vdd-supply = <&vdd>;62interrupt-parent = <&gpio0>;63interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;64};65};6667...686970