drivers: sensors: Add support for ds18s20

Added support for the older ds18s20 inside the (newer) ds18b20.

Signed-off-by: Fredrik Gihl <fgihl@hotmail.com>
This commit is contained in:
Fredrik Gihl 2024-04-27 12:51:40 +02:00 committed by Anas Nashif
commit 2d31d45429
6 changed files with 83 additions and 27 deletions

View file

@ -12,3 +12,9 @@ test_w1_ds18b20: ds18b20 {
resolution = <12>;
status = "okay";
};
test_w1_ds18s20: ds18s20 {
compatible = "maxim,ds18s20";
family-code = <0x10>;
status = "okay";
};