drivers: sensor: ntc-thermistor: Remove r25-ohm property
Remove the r25-ohm property. It is not used by the driver, and it is not present in linux. Signed-off-by: Paweł Anikiel <pan@semihalf.com>
This commit is contained in:
parent
4b33f4fe19
commit
5db05878ab
5 changed files with 0 additions and 10 deletions
|
@ -46,7 +46,6 @@
|
|||
temp_sensor: ambient_temp_sensor {
|
||||
compatible = "epcos,b57861s0103a039";
|
||||
io-channels = <&spi_adc 0>;
|
||||
r25-ohm = <10000>;
|
||||
pullup-uv = <3300000>;
|
||||
pullup-ohm = <0>;
|
||||
pulldown-ohm = <10000>;
|
||||
|
|
|
@ -102,7 +102,6 @@ static int ntc_thermistor_init(const struct device *dev)
|
|||
.adc_channel = ADC_DT_SPEC_INST_GET(inst), \
|
||||
.ntc_cfg = \
|
||||
{ \
|
||||
.r25_ohm = DT_INST_PROP(inst, r25_ohm), \
|
||||
.pullup_uv = DT_INST_PROP(inst, pullup_uv), \
|
||||
.pullup_ohm = DT_INST_PROP(inst, pullup_ohm), \
|
||||
.pulldown_ohm = DT_INST_PROP(inst, pulldown_ohm), \
|
||||
|
|
|
@ -21,7 +21,6 @@ struct ntc_type {
|
|||
|
||||
struct ntc_config {
|
||||
bool connected_positive;
|
||||
uint32_t r25_ohm;
|
||||
uint32_t pullup_uv;
|
||||
uint32_t pullup_ohm;
|
||||
uint32_t pulldown_ohm;
|
||||
|
|
|
@ -11,11 +11,6 @@ properties:
|
|||
description: |
|
||||
ADC IO channel connected to this NTC thermistor.
|
||||
|
||||
r25-ohm:
|
||||
type: int
|
||||
description: |
|
||||
The resistance value of the thermistor at 25 C.
|
||||
|
||||
pullup-uv:
|
||||
type: int
|
||||
description: |
|
||||
|
|
|
@ -36,7 +36,6 @@ test_adc_emul: adc {
|
|||
test_ntc_thermistor_generic: ntc-thermistor-generic {
|
||||
compatible = "ntc-thermistor-generic";
|
||||
io-channels = <&adc0 0>;
|
||||
r25-ohm = <10000>;
|
||||
pullup-uv = <3300000>;
|
||||
pullup-ohm = <0>;
|
||||
pulldown-ohm = <10000>;
|
||||
|
@ -47,7 +46,6 @@ test_ntc_thermistor_generic: ntc-thermistor-generic {
|
|||
test_epcos_b57861s0103a039: epcos-b57861s0103a039 {
|
||||
compatible = "epcos,b57861s0103a039";
|
||||
io-channels = <&adc0 0>;
|
||||
r25-ohm = <10000>;
|
||||
pullup-uv = <3300000>;
|
||||
pullup-ohm = <0>;
|
||||
pulldown-ohm = <10000>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue