summaryrefslogtreecommitdiff
path: root/chip/mec1322/pwm_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/mec1322/pwm_chip.h')
-rw-r--r--chip/mec1322/pwm_chip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chip/mec1322/pwm_chip.h b/chip/mec1322/pwm_chip.h
index 8ffdbef5b6..c52f586291 100644
--- a/chip/mec1322/pwm_chip.h
+++ b/chip/mec1322/pwm_chip.h
@@ -18,4 +18,9 @@ struct pwm_t {
extern const struct pwm_t pwm_channels[];
+/*
+ * Returns PWMs that must remain active in low-power idle -
+ * MEC1322_PCR_EC_SLP_EN bit mask.
+ */
+inline uint32_t pwm_get_keep_awake_mask(void);
#endif /* __CROS_EC_PWM_CHIP_H */