48 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/chemical/aosong,ags02ma.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Aosong AGS02MA VOC Sensor8 9description: |10 AGS02MA is an TVOC (Total Volatile Organic Compounds) i2c sensor with default11 address of 0x1a.12 13 Datasheet:14 https://asairsensors.com/wp-content/uploads/2021/09/AGS02MA.pdf15 16maintainers:17 - Anshul Dalal <anshulusr@gmail.com>18 19properties:20 compatible:21 enum:22 - aosong,ags02ma23 24 reg:25 maxItems: 126 27 vdd-supply: true28 29required:30 - compatible31 - reg32 - vdd-supply33 34additionalProperties: false35 36examples:37 - |38 i2c {39 #address-cells = <1>;40 #size-cells = <0>;41 42 voc-sensor@1a {43 compatible = "aosong,ags02ma";44 reg = <0x1a>;45 vdd-supply = <&vdd_regulator>;46 };47 };48