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

ntc-thermistor-generic

Vendor: Generic or vendor-independent

Note

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

Description

Generic NTC thermistor

Properties

Properties not inherited from the base binding file.

Name

Type

Details

zephyr,compensation-table

array

Compensation table, formatted as temperature, resistance pairs. A script
to generate a valid table is provided in
scripts/utils/ntc_thermistor_table.py.

This property is required.

pullup-uv

int

The pullup voltage microvoltage in the circuit.
If not specified, it is assumed that the pullup voltage is VDD. Therefore,
the specified ADC IO channel must be configured so that VDD is used as the
reference voltage.

pullup-ohm

int

The pullup resistance in the circuit.

pulldown-ohm

int

The pulldown resistance in the circuit.

connected-positive

boolean

Indicates how the thermistor is connected in series with a pull-up and/or
a pull-down resistor. If this flag is NOT specified, the thermistor is
assumed to be connected-ground, which usually means a pull-down resistance
of zero but complex arrangements are possible.

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).