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:
Paweł Anikiel 2023-08-04 10:36:40 +00:00 committed by Maureen Helm
commit 5db05878ab
5 changed files with 0 additions and 10 deletions

View file

@ -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>;

View file

@ -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), \

View file

@ -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;

View file

@ -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: |

View file

@ -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>;