drivers: sensor: zephyr_thermistor: align connection type with Linux

It looks like the Zephyr thermistor driver bindings were half-copied
from Linux ntc-thermistor. Zephyr principle is to maintain compatibility
with Linux, when possible, so there's no reason to deviate here. Convert
the connection type from a custom enum to a boolean, as Linux does.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2023-04-28 11:42:21 +02:00 committed by Carles Cufí
commit c60e4ec989
6 changed files with 11 additions and 16 deletions

View file

@ -53,5 +53,5 @@ test_adc_b57861s: b57861s@0 {
pullup-uv = <3300000>;
pullup-ohm = <0>;
pulldown-ohm = <10000>;
connection-type = "NTC_CONNECTED_POSITIVE";
connected-positive;
};