zephyr/dts/bindings/sensor/ams,ccs811.yaml
Peter Bigot acb43b66da sensors: ccs811: update to new API
Update devicetree sources and bindings, switch to new GPIO API.  Use
devicetree property name to identify interrupt signal.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-02-05 12:00:36 +01:00

32 lines
882 B
YAML

# Copyright (c) 2018, Linaro Limited
# SPDX-License-Identifier: Apache-2.0
description: CCS811 digital air quality sensor
compatible: "ams,ccs811"
include: i2c-device.yaml
properties:
wake-gpios:
type: phandle-array
required: false
description: |
The WAKEn pin is asserted to communicate with the sensor. The
sensor receives this as an active-low signal.
reset-gpios:
type: phandle-array
required: false
description: |
The RESETn pin is asserted to disable the sensor causing a hard
reset. The sensor receives this as an active-low signal.
irq-gpios:
type: phandle-array
required: false
description: |
The INTn pin signals that a new reading is available. The
sensor generates an active-low level signal which remains
asserted until the data is read.