Message ID | 20200217134546.14562-3-benjamin.gaignard@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | clockevent: add low power STM32 timer | expand |
Hi Lee, On 17/02/2020 14:45, Benjamin Gaignard wrote: > Add defines to be able to enable/clear irq and configure one shot mode. > > Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Are you fine if I pick this patch with the series? > --- > version 4: > - move defines in mfd/stm32-lptimer.h > > include/linux/mfd/stm32-lptimer.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/include/linux/mfd/stm32-lptimer.h b/include/linux/mfd/stm32-lptimer.h > index 605f62264825..90b20550c1c8 100644 > --- a/include/linux/mfd/stm32-lptimer.h > +++ b/include/linux/mfd/stm32-lptimer.h > @@ -27,10 +27,15 @@ > #define STM32_LPTIM_CMPOK BIT(3) > > /* STM32_LPTIM_ICR - bit fields */ > +#define STM32_LPTIM_ARRMCF BIT(1) > #define STM32_LPTIM_CMPOKCF_ARROKCF GENMASK(4, 3) > > +/* STM32_LPTIM_IER - bit flieds */ > +#define STM32_LPTIM_ARRMIE BIT(1) > + > /* STM32_LPTIM_CR - bit fields */ > #define STM32_LPTIM_CNTSTRT BIT(2) > +#define STM32_LPTIM_SNGSTRT BIT(1) > #define STM32_LPTIM_ENABLE BIT(0) > > /* STM32_LPTIM_CFGR - bit fields */ >
On Thu, 20 Feb 2020, Daniel Lezcano wrote: > > Hi Lee, > > On 17/02/2020 14:45, Benjamin Gaignard wrote: > > Add defines to be able to enable/clear irq and configure one shot mode. > > > > Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> > > Are you fine if I pick this patch with the series? Acked-by: Lee Jones <lee.jones@linaro.org>
On Thu, 20 Feb 2020, Daniel Lezcano wrote: > On 17/02/2020 14:45, Benjamin Gaignard wrote: > > Add defines to be able to enable/clear irq and configure one shot mode. > > > > Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> > > Are you fine if I pick this patch with the series? Nothing heard from you since I Acked this. Are you still planning on taking this patch? If so, can you also take patch 1 please?
On 3/19/20 11:10 AM, Lee Jones wrote: > On Thu, 20 Feb 2020, Daniel Lezcano wrote: >> On 17/02/2020 14:45, Benjamin Gaignard wrote: >>> Add defines to be able to enable/clear irq and configure one shot mode. >>> >>> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> >> Are you fine if I pick this patch with the series? > Nothing heard from you since I Acked this. > > Are you still planning on taking this patch? > > If so, can you also take patch 1 please? I will send a v5. Daniel could you wait until that to merge all the patches (even if this one won't change) ? Benjamin >
On 19/03/2020 11:28, Benjamin GAIGNARD wrote: > > > On 3/19/20 11:10 AM, Lee Jones wrote: >> On Thu, 20 Feb 2020, Daniel Lezcano wrote: >>> On 17/02/2020 14:45, Benjamin Gaignard wrote: >>>> Add defines to be able to enable/clear irq and configure one shot mode. >>>> >>>> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> >>> Are you fine if I pick this patch with the series? >> Nothing heard from you since I Acked this. >> >> Are you still planning on taking this patch? >> >> If so, can you also take patch 1 please? > I will send a v5. > Daniel could you wait until that to merge all the patches (even if this > one won't change) ? Sure, no problem.
diff --git a/include/linux/mfd/stm32-lptimer.h b/include/linux/mfd/stm32-lptimer.h index 605f62264825..90b20550c1c8 100644 --- a/include/linux/mfd/stm32-lptimer.h +++ b/include/linux/mfd/stm32-lptimer.h @@ -27,10 +27,15 @@ #define STM32_LPTIM_CMPOK BIT(3) /* STM32_LPTIM_ICR - bit fields */ +#define STM32_LPTIM_ARRMCF BIT(1) #define STM32_LPTIM_CMPOKCF_ARROKCF GENMASK(4, 3) +/* STM32_LPTIM_IER - bit flieds */ +#define STM32_LPTIM_ARRMIE BIT(1) + /* STM32_LPTIM_CR - bit fields */ #define STM32_LPTIM_CNTSTRT BIT(2) +#define STM32_LPTIM_SNGSTRT BIT(1) #define STM32_LPTIM_ENABLE BIT(0) /* STM32_LPTIM_CFGR - bit fields */
Add defines to be able to enable/clear irq and configure one shot mode. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> --- version 4: - move defines in mfd/stm32-lptimer.h include/linux/mfd/stm32-lptimer.h | 5 +++++ 1 file changed, 5 insertions(+)