1*c9c6f564SAnshul Dalal# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*c9c6f564SAnshul Dalal%YAML 1.2 3*c9c6f564SAnshul Dalal--- 4*c9c6f564SAnshul Dalal$id: http://devicetree.org/schemas/iio/chemical/aosong,ags02ma.yaml# 5*c9c6f564SAnshul Dalal$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c9c6f564SAnshul Dalal 7*c9c6f564SAnshul Dalaltitle: Aosong AGS02MA VOC Sensor 8*c9c6f564SAnshul Dalal 9*c9c6f564SAnshul Dalaldescription: | 10*c9c6f564SAnshul Dalal AGS02MA is an TVOC (Total Volatile Organic Compounds) i2c sensor with default 11*c9c6f564SAnshul Dalal address of 0x1a. 12*c9c6f564SAnshul Dalal 13*c9c6f564SAnshul Dalal Datasheet: 14*c9c6f564SAnshul Dalal https://asairsensors.com/wp-content/uploads/2021/09/AGS02MA.pdf 15*c9c6f564SAnshul Dalal 16*c9c6f564SAnshul Dalalmaintainers: 17*c9c6f564SAnshul Dalal - Anshul Dalal <anshulusr@gmail.com> 18*c9c6f564SAnshul Dalal 19*c9c6f564SAnshul Dalalproperties: 20*c9c6f564SAnshul Dalal compatible: 21*c9c6f564SAnshul Dalal enum: 22*c9c6f564SAnshul Dalal - aosong,ags02ma 23*c9c6f564SAnshul Dalal 24*c9c6f564SAnshul Dalal reg: 25*c9c6f564SAnshul Dalal maxItems: 1 26*c9c6f564SAnshul Dalal 27*c9c6f564SAnshul Dalal vdd-supply: true 28*c9c6f564SAnshul Dalal 29*c9c6f564SAnshul Dalalrequired: 30*c9c6f564SAnshul Dalal - compatible 31*c9c6f564SAnshul Dalal - reg 32*c9c6f564SAnshul Dalal - vdd-supply 33*c9c6f564SAnshul Dalal 34*c9c6f564SAnshul DalaladditionalProperties: false 35*c9c6f564SAnshul Dalal 36*c9c6f564SAnshul Dalalexamples: 37*c9c6f564SAnshul Dalal - | 38*c9c6f564SAnshul Dalal i2c { 39*c9c6f564SAnshul Dalal #address-cells = <1>; 40*c9c6f564SAnshul Dalal #size-cells = <0>; 41*c9c6f564SAnshul Dalal 42*c9c6f564SAnshul Dalal voc-sensor@1a { 43*c9c6f564SAnshul Dalal compatible = "aosong,ags02ma"; 44*c9c6f564SAnshul Dalal reg = <0x1a>; 45*c9c6f564SAnshul Dalal vdd-supply = <&vdd_regulator>; 46*c9c6f564SAnshul Dalal }; 47*c9c6f564SAnshul Dalal }; 48