summaryrefslogtreecommitdiff
path: root/board/waddledoo
diff options
context:
space:
mode:
authorSooraj Govindan <sooraj.govindan@intel.com>2020-09-08 20:49:42 +0530
committerCommit Bot <commit-bot@chromium.org>2020-09-09 19:13:19 +0000
commit8af744fdcb4b701456154adc3e9c82d115bf80f0 (patch)
treececcc2e1eb6f554d3a85335772505d8738f01f1f /board/waddledoo
parent5041496934c14966aed77b4ffab501b8663cfb24 (diff)
downloadchrome-ec-8af744fdcb4b701456154adc3e9c82d115bf80f0.tar.gz
Revert "Waddledoo: Add thermistors"
This reverts commit e834efc7488bc98211084f54fad9da9b584daec1. Reason for revert: DUT fails to enter G3 state on shutdown BUG=b:164202851, b:163486924 BRANCH=None TEST=Verify DUT entering into G3 after shutdown. Change-Id: I67876ec7ed22526770ac38e261b5b1903bcb6476 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2397934 Tested-by: Sooraj Govindan <sooraj.govindan@intel.corp-partner.google.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/waddledoo')
-rw-r--r--board/waddledoo/board.c15
-rw-r--r--board/waddledoo/board.h12
2 files changed, 0 insertions, 27 deletions
diff --git a/board/waddledoo/board.c b/board/waddledoo/board.c
index 9cc417ce92..e9c7004d13 100644
--- a/board/waddledoo/board.c
+++ b/board/waddledoo/board.c
@@ -16,8 +16,6 @@
#include "compile_time_macros.h"
#include "driver/accel_bma2x2.h"
#include "driver/accelgyro_bmi_common.h"
-#include "driver/temp_sensor/thermistor.h"
-#include "temp_sensor.h"
#include "driver/bc12/pi3usb9201.h"
#include "driver/charger/isl923x.h"
#include "driver/retimer/nb7v904m.h"
@@ -117,19 +115,6 @@ const struct adc_t adc_channels[] = {
};
BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT);
-/* Thermistors */
-const struct temp_sensor_t temp_sensors[] = {
- [TEMP_SENSOR_1] = {.name = "Memory",
- .type = TEMP_SENSOR_TYPE_BOARD,
- .read = get_temp_3v3_51k1_47k_4050b,
- .idx = ADC_TEMP_SENSOR_1},
- [TEMP_SENSOR_2] = {.name = "Ambient",
- .type = TEMP_SENSOR_TYPE_BOARD,
- .read = get_temp_3v3_51k1_47k_4050b,
- .idx = ADC_TEMP_SENSOR_2},
-};
-BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
-
void board_init(void)
{
int on;
diff --git a/board/waddledoo/board.h b/board/waddledoo/board.h
index 189f9cb9dd..98a4b2caca 100644
--- a/board/waddledoo/board.h
+++ b/board/waddledoo/board.h
@@ -122,12 +122,6 @@
#define CONFIG_MKBP_EVENT
#define CONFIG_MKBP_USE_GPIO
-/* Thermistors */
-#define CONFIG_TEMP_SENSOR
-#define CONFIG_THERMISTOR
-#define CONFIG_STEINHART_HART_3V3_51K1_47K_4050B
-#define CONFIG_TEMP_SENSOR_POWER_GPIO GPIO_EN_PP3300_A
-
#ifndef __ASSEMBLER__
#include "gpio_signal.h"
@@ -162,12 +156,6 @@ enum pwm_channel {
PWM_CH_COUNT,
};
-enum temp_sensor_id {
- TEMP_SENSOR_1,
- TEMP_SENSOR_2,
- TEMP_SENSOR_COUNT
-};
-
/* List of possible batteries */
enum battery_type {
BATTERY_POWER_TECH,