Path: blob/master/Documentation/devicetree/bindings/iio/chemical/ams,ccs811.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/ams,ccs811.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: AMS CCS811 VOC Sensor78maintainers:9- Narcisa Vasile <narcisaanamaria12@gmail.com>1011description: |12Ultra-Low Power Digital Gas Sensor for Monitoring Indoor Air Quality.1314properties:15compatible:16enum:17- ams,ccs81118reg:19maxItems: 12021reset-gpios:22description: GPIO connected to the nRESET line. This is an active low23input to CCS811.24maxItems: 12526wakeup-gpios:27description: GPIO connected to the nWAKE line. This is an active low28input to CCS811.29maxItems: 13031required:32- compatible33- reg3435additionalProperties: false3637examples:38- |39#include <dt-bindings/gpio/gpio.h>40i2c {41#address-cells = <1>;42#size-cells = <0>;4344voc@5b {45compatible = "ams,ccs811";46reg = <0x5b>;47reset-gpios = <&gpioa 11 GPIO_ACTIVE_LOW>;48wakeup-gpios = <&gpioa 12 GPIO_ACTIVE_LOW>;49};50};5152...535455