summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorCosmin Tanislav <cosmin.tanislav@analog.com>2022-11-03 15:00:36 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 19:54:00 +0000
commitee7e336c48d3f8f5bef748b202792290d0fa0c1e (patch)
treec34fd53582057655a85bb47fca30f0ac3e7bcdd7 /Documentation
parentb3805fc3dcf35512266bddf8c785eb82a24325bc (diff)
dt-bindings: iio: temperature: ltc2983: change default excitation for custom thermistors
Excitation cannot be set to auto-range when using a custom thermistor or Steinhart sensor type. Default it to 1000nA to match the driver and remove the auto-range value from the enum. Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20221103130041.2153295-9-demonsingur@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml b/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
index b603219fb0c9..1b6a11f2aa9d 100644
--- a/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
+++ b/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
@@ -378,6 +378,11 @@ patternProperties:
adi,sensor-type:
const: 26
then:
+ properties:
+ adi,excitation-current-nanoamp:
+ enum: [250, 500, 1000, 5000, 10000, 25000, 50000, 100000,
+ 250000, 500000, 1000000]
+ default: 1000
required:
- adi,custom-steinhart
- if:
@@ -385,6 +390,11 @@ patternProperties:
adi,sensor-type:
const: 27
then:
+ properties:
+ adi,excitation-current-nanoamp:
+ enum: [250, 500, 1000, 5000, 10000, 25000, 50000, 100000,
+ 250000, 500000, 1000000]
+ default: 1000
required:
- adi,custom-thermistor