summaryrefslogtreecommitdiff
path: root/board/bolt/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bolt/board.c')
-rw-r--r--board/bolt/board.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/bolt/board.c b/board/bolt/board.c
index 55c22f2f7b..4fc4b2fc49 100644
--- a/board/bolt/board.c
+++ b/board/bolt/board.c
@@ -22,6 +22,7 @@
#include "peci.h"
#include "power_button.h"
#include "pwm.h"
+#include "pwm_data.h"
#include "registers.h"
#include "switch.h"
#include "temp_sensor.h"
@@ -179,6 +180,13 @@ const struct adc_t adc_channels[] = {
};
BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT);
+/* PWM channels */
+const struct pwm_t pwm_channels[] = {
+ [PWM_CH_FAN] = {FAN_CH_CPU, PWM_CONFIG_HAS_RPM_MODE},
+ [PWM_CH_KBLIGHT] = {FAN_CH_KBLIGHT, 0},
+};
+BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);
+
/* I2C ports */
const struct i2c_port_t i2c_ports[] = {
/* Note: battery and charger share a port. Only include it once in