aosong,dht

Vendor: Unknown vendor

Description

Aosong DHT (Digital-output Humidity and Temperature Sensor)

The Aosong DHT family of sensors provide temperature and humidity
measurements through a bidirectional serial digital signal.  The
DHT11 uses a polymer humidity capacitor with NTC thermistor; the
DHT22 replaces the thermistor with a DS18B20 1-wire thermometer.

The DHT22 is also known as an AM2303.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

dio-gpios

phandle-array

Pin on which sensor communication will be performed.

Control and data are encoded by the duration of active low
signals.  A pull up may be appropriate.

This property is required.

dht22

boolean

Set to identify sensor as a DHT22/AM2303.  Leave unset to identify
sensor as a DHT11.

Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “aosong,dht” compatible.

Name

Type

Details

status

string

indicates the operational status of a device

Legal values: 'ok', 'okay', 'disabled', 'reserved', 'fail', 'fail-sss'

See Important properties for more information.

compatible

string-array

compatible strings

This property is required.

See Important properties for more information.

reg

array

register space

See Important properties for more information.

reg-names

string-array

name of each register space

interrupts

array

interrupts for device

See Important properties for more information.

interrupts-extended

compound

extended interrupt specifier for device

interrupt-names

string-array

name of each interrupt

interrupt-parent

phandle

phandle to interrupt controller node

label

string

Human readable string describing the device (used as device_get_binding() argument)

See Important properties for more information.

clocks

phandle-array

Clock gate information

clock-names

string-array

name of each clock

#address-cells

int

number of address cells in reg property

#size-cells

int

number of size cells in reg property

dmas

phandle-array

DMA channels specifiers

dma-names

string-array

Provided names of DMA channel specifiers

io-channels

phandle-array

IO channels specifiers

io-channel-names

string-array

Provided names of IO channel specifiers