The latest development version of this page may be more current than this released 4.0.0 version.

maxim,ds18b20 (on w1 bus)

Vendor: Maxim Integrated Products

Note

An implementation of a driver matching this compatible is available in drivers/sensor/maxim/ds18b20/ds18b20.c.

Description

Maxim 1-Wire temperature sensor

Properties

Properties not inherited from the base binding file.

Name

Type

Details

resolution

int

Resolution of the temperature reading in bit.
Valid configurations are from 9 to 12 bits.

This property is required.

friendly-name

string

Human readable string describing the sensor. It can be used to
distinguish multiple instances of the same model (e.g., lid accelerometer
vs. base accelerometer in a laptop) to a host operating system.

This property is defined in the Generic Sensor Property Usages of the HID
Usage Tables specification
(https://usb.org/sites/default/files/hut1_3_0.pdf, section 22.5).

family-code

int

8-bit 1-Wire family code, which is also part of the 64 bit ROM ID.

overdrive-speed

boolean

Instead of standard speed timing, use overdrive speed timing for
communication.
The driver will automatically use OVERDRIVE_SKIP and OVERDRIVE_MATCH
command instead of the standard commands.