Commit 4ecee360 authored by Cosmin Tanislav's avatar Cosmin Tanislav Committed by Jonathan Cameron

dt-bindings: iio: temperature: ltc2983: add default values

Binding properties should have default values to let the reader
know if they should change it. Add them based on driver logic.
Signed-off-by: default avatarCosmin Tanislav <cosmin.tanislav@analog.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20221103130041.2153295-3-demonsingur@gmail.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 5e017621
...@@ -34,6 +34,7 @@ properties: ...@@ -34,6 +34,7 @@ properties:
cases. An extra delay can be configured using this property. The value is cases. An extra delay can be configured using this property. The value is
rounded to nearest 100us. rounded to nearest 100us.
maximum: 255 maximum: 255
default: 0
adi,filter-notch-freq: adi,filter-notch-freq:
description: description:
...@@ -45,6 +46,7 @@ properties: ...@@ -45,6 +46,7 @@ properties:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 2 maximum: 2
default: 0
'#address-cells': '#address-cells':
const: 1 const: 1
...@@ -104,6 +106,7 @@ patternProperties: ...@@ -104,6 +106,7 @@ patternProperties:
This property set's the pulsed current value applied during This property set's the pulsed current value applied during
open-circuit detect. open-circuit detect.
enum: [10, 100, 500, 1000] enum: [10, 100, 500, 1000]
default: 10
adi,cold-junction-handle: adi,cold-junction-handle:
description: description:
...@@ -163,6 +166,7 @@ patternProperties: ...@@ -163,6 +166,7 @@ patternProperties:
cycles, this property will assume different predefined values on cycles, this property will assume different predefined values on
each cycle. Just set the value of the first cycle (1l). each cycle. Just set the value of the first cycle (1l).
enum: [10, 20, 40, 80] enum: [10, 20, 40, 80]
default: 10
adi,ideal-factor-value: adi,ideal-factor-value:
description: description:
...@@ -170,6 +174,7 @@ patternProperties: ...@@ -170,6 +174,7 @@ patternProperties:
be multiplied by 1000000 to remove the fractional part. For more be multiplied by 1000000 to remove the fractional part. For more
information look at table 20 of the datasheet. information look at table 20 of the datasheet.
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
default: 0
"^rtd@": "^rtd@":
type: object type: object
...@@ -207,6 +212,7 @@ patternProperties: ...@@ -207,6 +212,7 @@ patternProperties:
property to 5 means 4 wires with Kelvin Rsense. property to 5 means 4 wires with Kelvin Rsense.
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [2, 3, 4, 5] enum: [2, 3, 4, 5]
default: 2
adi,rsense-share: adi,rsense-share:
description: description:
...@@ -226,6 +232,7 @@ patternProperties: ...@@ -226,6 +232,7 @@ patternProperties:
This property controls the magnitude of the excitation current This property controls the magnitude of the excitation current
applied to the RTD. applied to the RTD.
enum: [5, 10, 25, 50, 100, 250, 500, 1000] enum: [5, 10, 25, 50, 100, 250, 500, 1000]
default: 5
adi,rtd-curve: adi,rtd-curve:
description: description:
...@@ -234,6 +241,7 @@ patternProperties: ...@@ -234,6 +241,7 @@ patternProperties:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3 maximum: 3
default: 0
adi,custom-rtd: adi,custom-rtd:
description: description:
...@@ -308,6 +316,7 @@ patternProperties: ...@@ -308,6 +316,7 @@ patternProperties:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 250, 500, 1000, 5000, 10000, 25000, 50000, 100000, 250000, enum: [0, 250, 500, 1000, 5000, 10000, 25000, 50000, 100000, 250000,
500000, 1000000] 500000, 1000000]
default: 0
adi,custom-thermistor: adi,custom-thermistor:
description: description:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment