1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 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 Sensor 8 9description: | 10 AGS02MA is an TVOC (Total Volatile Organic Compounds) i2c sensor with default 11 address of 0x1a. 12 13 Datasheet: 14 https://asairsensors.com/wp-content/uploads/2021/09/AGS02MA.pdf 15 16maintainers: 17 - Anshul Dalal <anshulusr@gmail.com> 18 19properties: 20 compatible: 21 enum: 22 - aosong,ags02ma 23 24 reg: 25 maxItems: 1 26 27 vdd-supply: true 28 29required: 30 - compatible 31 - reg 32 - vdd-supply 33 34additionalProperties: false 35 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