summaryrefslogtreecommitdiff
path: root/board/lulu/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/lulu/board.c')
-rw-r--r--board/lulu/board.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/lulu/board.c b/board/lulu/board.c
index 0f36360450..a879ed5517 100644
--- a/board/lulu/board.c
+++ b/board/lulu/board.c
@@ -20,6 +20,8 @@
#include "lid_switch.h"
#include "peci.h"
#include "power.h"
+#include "pwm.h"
+#include "pwm_chip.h"
#include "power_button.h"
#include "registers.h"
#include "switch.h"
@@ -65,6 +67,12 @@ const struct adc_t adc_channels[] = {
};
BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT);
+/* PWM channels. Must be in the exactly same order as in enum pwm_channel. */
+const struct pwm_t pwm_channels[] = {
+ {4, 0},
+};
+BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);
+
/* Physical fans. These are logically separate from pwm_channels. */
const struct fan_t fans[] = {
{.flags = FAN_USE_RPM_MODE,