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 14:46:34 +0100 Message-ID: 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: <20171208113250.359-5-benjamin.gaignard@st.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Benjamin Gaignard , robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, tglx@linutronix.de, arnd@arndb.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Gaignard List-Id: devicetree@vger.kernel.org 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 -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog