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/shim/include | |
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/shim/include')
-rw-r--r-- | zephyr/shim/include/config_chip.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index 8c8ba3bbf2..a19a2e1775 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -427,26 +427,6 @@ #define CONFIG_THERMISTOR #endif -#undef CONFIG_STEINHART_HART_3V0_22K6_47K_4050B -#ifdef CONFIG_PLATFORM_EC_STEINHART_HART_3V0_22K6_47K_4050B -#define CONFIG_STEINHART_HART_3V0_22K6_47K_4050B -#endif - -#undef CONFIG_STEINHART_HART_3V3_13K7_47K_4050B -#ifdef CONFIG_PLATFORM_EC_STEINHART_HART_3V3_13K7_47K_4050B -#define CONFIG_STEINHART_HART_3V3_13K7_47K_4050B -#endif - -#undef CONFIG_STEINHART_HART_3V3_30K9_47K_4050B -#ifdef CONFIG_PLATFORM_EC_STEINHART_HART_3V3_30K9_47K_4050B -#define CONFIG_STEINHART_HART_3V3_30K9_47K_4050B -#endif - -#undef CONFIG_STEINHART_HART_3V3_51K1_47K_4050B -#ifdef CONFIG_PLATFORM_EC_STEINHART_HART_3V3_51K1_47K_4050B -#define CONFIG_STEINHART_HART_3V3_51K1_47K_4050B -#endif - #ifdef CONFIG_PLATFORM_EC_I2C /* Also see shim/include/i2c/i2c.h which defines the ports enum */ #define CONFIG_I2C_CONTROLLER |