zephyr/dts/bindings/sensor/winsen,mhz19b.yaml
Chris Friedt 83bea9a796 dts: bindings: clean up redundant required false attributes
DTS property attributes are (by default) not required.

Explicitly specifying `required: false` is redundant.
Perhaps a warning to that effect would be useful.

Signed-off-by: Chris Friedt <cfriedt@meta.com>
2022-11-20 13:12:44 -05:00

24 lines
444 B
YAML

# Copyright (c) 2021 G-Technologies Sdn. Bhd.
# SPDX-License-Identifier: Apache-2.0
description: Winsen MHZ-19B CO2 Sensor
compatible: "winsen,mhz19b"
include: [sensor-device.yaml, uart-device.yaml]
properties:
maximum-range:
type: int
required: true
description: CO2 detection range.
enum:
- 2000
- 5000
- 10000
abc-on:
type: boolean
description: |
Enable ABC self-calibration function