diff options
author | Aaron Massey <aaronmassey@google.com> | 2021-09-24 11:22:12 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-24 19:47:45 +0000 |
commit | 465c9dc87a353f48b969da0631c4fd2b6df32a4f (patch) | |
tree | eae7fa5a0f92cb81af315eb7912267167ed078e1 /zephyr/Kconfig.temperature | |
parent | fc2b67a878f6c57c02569253032fc5d09f6c581e (diff) | |
download | chrome-ec-465c9dc87a353f48b969da0631c4fd2b6df32a4f.tar.gz |
zephyr: drivers: thermistors are device tree nodes
Thermistor drivers now query the device tree for configuration.
Thermistor tests have been updated to be parameterized
on all thermistors enabled in the device tree.
BRANCH=none
BUG=b:184374937
TEST= 1) zmake testall
2) make runhosttests
Cq-Depend: chromium:3161332
Signed-off-by: Aaron Massey <aaronmassey@chromium.org>
Change-Id: Ic5330cd5c33e79e192428ca857651de9a225856e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3133812
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Tested-by: Aaron Massey <aaronmassey@google.com>
Commit-Queue: Aaron Massey <aaronmassey@google.com>
Diffstat (limited to 'zephyr/Kconfig.temperature')
-rw-r--r-- | zephyr/Kconfig.temperature | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/zephyr/Kconfig.temperature b/zephyr/Kconfig.temperature index c103e1a561..4af5aa99f8 100644 --- a/zephyr/Kconfig.temperature +++ b/zephyr/Kconfig.temperature @@ -31,54 +31,6 @@ config PLATFORM_EC_THERMISTOR Enables support for thermistors (resistor whose resistance is strongly dependent on temperature) as temperature-sensor type. -config PLATFORM_EC_STEINHART_HART_3V0_22K6_47K_4050B - bool "Steinhart-hart 3V0_22K6_47K_4050B" - depends on PLATFORM_EC_THERMISTOR - help - Enables support for measuring temperature using the Steinhart-Hart - equation model and the thermistor configured with the following - circuit configuration: - -3.0V reference voltage - -22.6 kilohm fixed resistor, connected to the reference voltage - -47 kilohm thermistor reference resistance at 25 C - -4050 B-constant (thermistor sensitivity) - -config PLATFORM_EC_STEINHART_HART_3V3_13K7_47K_4050B - bool "Steinhart-hart 3V3_13K7_47K_4050B" - depends on PLATFORM_EC_THERMISTOR - help - Enables support for measuring temperature using the Steinhart-Hart - equation model and the thermistor configured with the following - circuit configuration: - -3.3V reference voltage - -13.7 kilohm fixed resistor, connected to the reference voltage - -47 kilohm thermistor reference resistance at 25 C - -4050 B-constant (thermistor sensitivity) - -config PLATFORM_EC_STEINHART_HART_3V3_30K9_47K_4050B - bool "Steinhart-hart 3V3_30K9_47K_4050B" - depends on PLATFORM_EC_THERMISTOR - help - Enables support for measuring temperature using the Steinhart-Hart - equation model and the thermistor configured with the following - circuit configuration: - -3.3V reference voltage - -30.9 kilohm fixed resistor, connected to the reference voltage - -47 kilohm thermistor reference resistance at 25 C - -4050 B-constant (thermistor sensitivity) - -config PLATFORM_EC_STEINHART_HART_3V3_51K1_47K_4050B - bool "Steinhart-hart 3V3_51K1_47K_4050B" - depends on PLATFORM_EC_THERMISTOR - default y - help - Enables support for measuring temperature using the Steinhart-Hart - equation model and the thermistor configured with the following - circuit configuration: - -3.3V reference voltage - -51.1 kilohm fixed resistor, connected to the reference voltage - -47 kilohm thermistor reference resistance at 25 C - -4050 B-constant (thermistor sensitivity) endif # PLATFORM_EC_TEMP_SENSOR |