drivers: sensor: add Innovative Sensor Technology TSic xx6 driver
Add driver for TSic 206/306/316/506F/516/716 temperature sensor. The driver uses PWM capture driver to read a single wire with Manchester-like encoding. Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
This commit is contained in:
parent
af1b627065
commit
c9f53d3374
7 changed files with 343 additions and 0 deletions
40
dts/bindings/sensor/ist,tsic-xx6.yaml
Normal file
40
dts/bindings/sensor/ist,tsic-xx6.yaml
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Copyright (c) 2024, Vitrolife A/S
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
TSic xx6 temperature sensor.
|
||||
https://www.ist-ag.com/sites/default/files/downloads/ATTSic_E.pdf
|
||||
|
||||
Example:
|
||||
tsic_716: tsic_716 {
|
||||
status = "okay";
|
||||
compatible = "ist,tsic-xx6";
|
||||
pwms = <&pwm2 1 PWM_USEC(5) PWM_POLARITY_NORMAL>;
|
||||
data-bits = <14>;
|
||||
lower-temperature-limit = <(-10)>;
|
||||
higher-temperature-limit = <60>;
|
||||
};
|
||||
|
||||
compatible: "ist,tsic-xx6"
|
||||
|
||||
properties:
|
||||
pwms:
|
||||
required: true
|
||||
type: phandle-array
|
||||
description: Reference to a PWM instance with PWM capture support.
|
||||
|
||||
lower-temperature-limit:
|
||||
required: true
|
||||
type: int
|
||||
description: Lowest temperature supported by the device in celcius degrees.
|
||||
|
||||
higher-temperature-limit:
|
||||
required: true
|
||||
type: int
|
||||
description: Highest temperature supported by the device in celcius degrees.
|
||||
|
||||
data-bits:
|
||||
required: true
|
||||
type: int
|
||||
description: Data bits per reading.
|
||||
enum: [11, 14]
|
|
@ -321,6 +321,7 @@ isee ISEE 2007 S.L.
|
|||
isentek Isentek Inc.
|
||||
isil Intersil
|
||||
issi Integrated Silicon Solutions Inc.
|
||||
ist Innovative Sensor Technology IST AG
|
||||
ite ITE Tech. Inc.
|
||||
itead ITEAD Intelligent Systems Co.Ltd
|
||||
ivo InfoVision Optoelectronics Kunshan Co. Ltd.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue