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:
parent
4310853d07
commit
c60e4ec989
6 changed files with 11 additions and 16 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue