Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: stm32: Add defines to be used for clkevent purpose

Add defines to be able to enable/clear irq and configure one shot mode.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Benjamin Gaignard and committed by
Lee Jones
e0bcc58d cb8ae6e1

+5
+5
include/linux/mfd/stm32-lptimer.h
··· 27 27 #define STM32_LPTIM_CMPOK BIT(3) 28 28 29 29 /* STM32_LPTIM_ICR - bit fields */ 30 + #define STM32_LPTIM_ARRMCF BIT(1) 30 31 #define STM32_LPTIM_CMPOKCF_ARROKCF GENMASK(4, 3) 32 + 33 + /* STM32_LPTIM_IER - bit flieds */ 34 + #define STM32_LPTIM_ARRMIE BIT(1) 31 35 32 36 /* STM32_LPTIM_CR - bit fields */ 33 37 #define STM32_LPTIM_CNTSTRT BIT(2) 38 + #define STM32_LPTIM_SNGSTRT BIT(1) 34 39 #define STM32_LPTIM_ENABLE BIT(0) 35 40 36 41 /* STM32_LPTIM_CFGR - bit fields */