This commit adds support for the ds18b20 1-wire temperature sensor. The sampling resolution of the sensor can be set in DT. In case only a single device is on the bus, the driver issues skip_rom commands. However, in case DT defines several devices, the driver will use match_rom commands and therefore it is necessary to set the rom_id of the device via the sensor attribute interface before being able to sample sensor values. Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com> |
||
|---|---|---|
| .. | ||
| arc/synopsys | ||
| arm | ||
| arm64 | ||
| bindings | ||
| common | ||
| nios2/intel | ||
| posix | ||
| riscv | ||
| sparc/gaisler | ||
| x86/intel | ||
| xtensa | ||
| binding-template.yaml | ||
| Kconfig | ||