From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: [PATCH v9 4/6] clocksource: stm32: add clocksource support Date: Fri, 8 Dec 2017 15:08:09 +0100 Message-ID: <810270c4-c6b4-ee05-2481-ced52f7d2685@linaro.org> References: <20171208113250.359-1-benjamin.gaignard@st.com> <20171208113250.359-5-benjamin.gaignard@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Content-Language: en-US Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Benjamin Gaignard Cc: Rob Herring , Mark Rutland , Russell King - ARM Linux , Maxime Coquelin , Alexandre Torgue , Thomas Gleixner , Arnd Bergmann , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux ARM , Linux Kernel Mailing List , Benjamin Gaignard List-Id: devicetree@vger.kernel.org On 08/12/2017 15:04, Benjamin Gaignard wrote: > 2017-12-08 14:46 GMT+01:00 Daniel Lezcano : >> On 08/12/2017 12:32, Benjamin Gaignard wrote: >>> The stm32 timer hardware is currently only used as a clock event device, >>> but it can be utilized as a clocksource as well. >>> >>> Implement this by enabling the free running counter in the hardware block >>> and converting the clock event part from a count down event timer to a >>> comparator based timer. >> >> >> Split this patch in two: >> - periodic support >> - clocksource support > > No because the way of implementing periodic support depend of how clocksource > part is implemented on the hardware. > I don't want to code functions that I will completely remove just after Sorry, I don't get it. Can you elaborate please ? -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html