summaryrefslogtreecommitdiff
path: root/test/test_config.h
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2015-07-30 16:22:20 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-08-03 21:15:56 +0000
commit2bb093151fe5b65948f40b0518dc9c5e86f7b434 (patch)
treef7b64026e02b6a93a221e4ddb90ae2de8b4ec840 /test/test_config.h
parent252d2364f47ddb8447a5dc47a42a4ea7c21b61a4 (diff)
downloadchrome-ec-2bb093151fe5b65948f40b0518dc9c5e86f7b434.tar.gz
driver/temp_sensor: Add support for BD99992GW
Add support for ADC / thermistor reads on the BD99992GW PMIC. BUG=chrome-os-partner:42156 TEST=Manual on Glados with subsequent commit. Boot to S0, run "temps". Verify that temperatures start around 28C and begin to increase after system is powered-on for a long duration. BRANCH=None Change-Id: Ic15f41046130317a0e0c3bce4a923ba624328c0d Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/289935 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'test/test_config.h')
-rw-r--r--test/test_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h
index bc517314b6..e2ad96fbad 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -78,6 +78,9 @@ int board_discharge_on_ac(int enabled);
#define CONFIG_CHIPSET_CAN_THROTTLE
#define CONFIG_FANS 1
#define CONFIG_TEMP_SENSOR
+#define CONFIG_TEMP_SENSOR_BD99992GW
+#define I2C_PORT_THERMAL 1
+int bd99992gw_get_temp(uint16_t adc);
#endif
#ifdef TEST_FAN