summaryrefslogtreecommitdiff
path: root/board/waddledoo
diff options
context:
space:
mode:
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,