diff options
Diffstat (limited to 'board/falco/board.c')
-rw-r--r-- | board/falco/board.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/falco/board.c b/board/falco/board.c index e65e68dae0..c43c3d08f5 100644 --- a/board/falco/board.c +++ b/board/falco/board.c @@ -23,6 +23,8 @@ #include "lm4_adc.h" #include "peci.h" #include "power_button.h" +#include "pwm.h" +#include "pwm_data.h" #include "registers.h" #include "switch.h" #include "temp_sensor.h" @@ -182,6 +184,12 @@ 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}, +}; +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 |