From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751836AbdHAJcK (ORCPT ); Tue, 1 Aug 2017 05:32:10 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:36723 "EHLO mail-wr0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751533AbdHAJcI (ORCPT ); Tue, 1 Aug 2017 05:32:08 -0400 Date: Tue, 1 Aug 2017 11:32:04 +0200 From: Daniel Lezcano To: Dong Aisheng Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tglx@linutronix.de, shawnguo@kernel.org, ping.bai@nxp.com, anson.huang@nxp.com, dongas86@gmail.com, kernel@pengutronix.de Subject: Re: [PATCH V5 0/2] timer: add imx tpm timer support Message-ID: <20170801093204.GA1919@mai> References: <1501576817-18681-1-git-send-email-aisheng.dong@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1501576817-18681-1-git-send-email-aisheng.dong@nxp.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 01, 2017 at 04:40:15PM +0800, Dong Aisheng wrote: > The Timer/PWM Module (TPM) supports input capture, output compare, > and the generation of PWM signals to control electric motor and power > management applications. The counter, compare and capture registers > are clocked by an asynchronous clock that can remain enabled in low > power modes. TPM can support global counter bus where one TPM drives > the counter bus for the others, provided bit width is the same. > > This patch only adds the timer support. PWM would be added later. > > ChangeLog: > v4->v5: > * use request_irq instead of setup_irq > * switch to TIMER_OF_DECLARE from CLOCKSOURCE_OF_DECLARE > * add more error check > * patch title change to clocksource/drivers/imx-tpm: add imx tpm timer support > v3->v4: > * also add ETIME explanation in function > v2->v3: > * address a few minor comments from Daniel Lezcano > * add more explaination on ETIME check in commit message > v1->v2: > * change to readl/writel from __raw_readl/writel according to Arnd's > suggestion to avoid endian issue > * add help information in Kconfig > * add more error checking > > Dong Aisheng (2): > dt-bindings: timer: add nxp tpm timer binding doc > clocksource/drivers/imx-tpm: add imx tpm timer support > > .../devicetree/bindings/timer/nxp,tpm-timer.txt | 28 +++ > drivers/clocksource/Kconfig | 8 + > drivers/clocksource/Makefile | 1 + > drivers/clocksource/timer-imx-tpm.c | 239 +++++++++++++++++++++ > 4 files changed, 276 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/nxp,tpm-timer.txt > create mode 100644 drivers/clocksource/timer-imx-tpm.c > Hi Dong, applied for 4.14. Thanks. -- Daniel -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog