Skip to content

Commit 9a6f7ef

Browse files
or-rhsskstephanosio
authored andcommitted
scripts: fix 'compatible' property of generated thermistor tables
The generated 'compatible' property doesn't match the associated devicetree binding. Signed-off-by: Rihards Skuja <[email protected]>
1 parent 8e305b3 commit 9a6f7ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/utils/ntc_thermistor_table.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Zephyr's NTC Thermistor DTS Table generator
88
###########################################
99
10-
This script can be used to generate a "zephyr,thermistor-rt-table" compatible
10+
This script can be used to generate a "zephyr,ntc-thermistor-rt-table" compatible
1111
Device Tree node for NTC thermistors. This uses the Beta Parameter Equation
1212
1313
https://devxplained.eu/en/blog/temperature-measurement-with-ntcs#beta-parameter-equation
@@ -52,7 +52,7 @@ def main(
5252
f"\tthermistor_R25_{int(r25)}_B_{int(beta)}: thermistor-R25-{int(r25)}-B-{int(beta)} {{"
5353
)
5454
print(f'\t\tstatus = "disabled";')
55-
print(f'\t\tcompatible = "zephyr,thermistor-rt-table";\n')
55+
print(f'\t\tcompatible = "zephyr,ntc-thermistor-rt-table";\n')
5656

5757
table = []
5858
for temp in temps_range:

0 commit comments

Comments
 (0)