Plantower PMS7003 air pollution sensor

Schema identifier ($id): "http://devicetree.org/schemas/iio/chemical/plantower,pms7003.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Tomasz Duszynski <tduszyns@gmail.com>"

Air pollution sensor capable of measuring mass concentration of dust particles.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "plantower,pms1003", "plantower,pms3003", "plantower,pms5003", "plantower,pms6003", "plantower,pms7003", "plantower,pmsa003"

vcc-supply — required here #

regulator that provides power to the sensor

plantower,set-gpios — not listed as required here #

GPIO connected to the SET line

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

GPIO connected to the RESET line

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "vcc-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

serial {
  air-pollution-sensor {
    compatible = "plantower,pms7003";
    vcc-supply = <&reg_vcc5v0>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page