From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965007AbdGTJ7u (ORCPT ); Thu, 20 Jul 2017 05:59:50 -0400 Received: from mail-he1eur01on0077.outbound.protection.outlook.com ([104.47.0.77]:22629 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S964968AbdGTJ7r (ORCPT ); Thu, 20 Jul 2017 05:59:47 -0400 From: "A.s. Dong" To: "A.s. Dong" , "linux-kernel@vger.kernel.org" CC: "linux-arm-kernel@lists.infradead.org" , "daniel.lezcano@linaro.org" , "tglx@linutronix.de" , "shawnguo@kernel.org" , Jacky Bai , Anson Huang , "dongas86@gmail.com" , "kernel@pengutronix.de" Subject: RE: [PATCH V4 0/2] timer: add imx tpm timer support Thread-Topic: [PATCH V4 0/2] timer: add imx tpm timer support Thread-Index: AQHS9TeQ8LhQnx2UDUiW30DJ0hGWaaJcktFg Date: Thu, 20 Jul 2017 09:59:44 +0000 Message-ID: References: <1499222112-9988-1-git-send-email-aisheng.dong@nxp.com> In-Reply-To: <1499222112-9988-1-git-send-email-aisheng.dong@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [192.158.241.86] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM3PR04MB1313;7:2yr8pJPDPm76kuILk+nJnj/UBX4mJQdH6N8cnveJGu80mOdMs6A3pOzhr2Bd2ODJUdGIs+F3CMf4/kC9AJrBB4SMdm4o0c/3CnPnaEoyezHJmbN+d85gtZxM5tYCWwcwnMutn7FEfG4ySlvUxpMV6j6HsHYSbouTzfNfeBxjIRm0FiRou/sXFW3PEj9nW0fYzcOtFI0CsvFkIl+z0D42IZi2syeX1TeYzsD//cMTWOEqu5iWgcq5pocAlH14yQo9jc3DX5igyZE4ZgJ59C+qcGqnVvAzkZ1jwDNlN8a1LjX/MtbAtrgUDB09cLV82h3RWZR1/yP+O5I+XHaI89nYZb8TJ+K6oYsS0JCVY905TeA6V97l86fcNAbQfZOjLH/py/On1qTE2QvE2mBvUUip5SR3Bwy/BZtFo+/hmNhS8r6KpMHaHcgr4qMiWgs+0J6cxdIls8mPsnONDHunzkO7Xg2BINSJDJT93k95ycjfUJ6CrAcITxnOVsw9nidEHHKPLL/2PhH0nYn+TWhZ3z0xIgeCYEv4BCh8eX0V/wf6CHlxi7Smenlq25E38nIvlMcLsFcISROq2PZ8HG3mplJkLctnjYz33fagoN6flfvH2fbcXtgggqumrgBjvl7taSEIpV7rEFeM/MZsLShhvFypFnZ6BeNiArgHWJ4WuSWrYubdriT3fjxoUch7ShKEkCOyCBrYKhLGAVicH3IvclzamAD0CgJ0PxAWBLPe5oRY3ab0mfAb9O9FBNdaBWmjezsFHYjusPDQ6R+cBu4rp7Slj6ILwUBUaw8sw4dsnUcHe4M= x-forefront-antispam-report: SFV:SKI;SCL:-1SFV:NSPM;SFS:(10009020)(6009001)(39410400002)(39400400002)(39850400002)(39840400002)(39860400002)(39450400003)(13464003)(54534003)(377454003)(3660700001)(2900100001)(189998001)(54356999)(39060400002)(66066001)(81166006)(3280700002)(76176999)(33656002)(2906002)(53546010)(50986999)(38730400002)(6246003)(86362001)(54906002)(55016002)(2950100002)(478600001)(7736002)(25786009)(9686003)(305945005)(2501003)(6436002)(229853002)(5250100002)(6116002)(6506006)(3846002)(4326008)(8676002)(53936002)(14454004)(99286003)(8936002)(7696004)(102836003)(5660300001)(74316002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR04MB1313;H:AM3PR04MB306.eurprd04.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; x-ms-office365-filtering-correlation-id: 2ba1942d-6b32-4d6d-f80a-08d4cf560c31 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:AM3PR04MB1313; x-ms-traffictypediagnostic: AM3PR04MB1313: x-exchange-antispam-report-test: UriScan:(133145235818549)(236129657087228)(9452136761055)(185117386973197)(258649278758335)(247924648384137); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123555025)(20161123558100)(20161123564025)(20161123560025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:AM3PR04MB1313;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:AM3PR04MB1313; x-forefront-prvs: 0374433C81 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jul 2017 09:59:44.2945 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB1313 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v6K9xvdA011387 Gently Ping... It's been two weeks. > -----Original Message----- > From: Dong Aisheng [mailto:aisheng.dong@nxp.com] > Sent: Wednesday, July 05, 2017 10:35 AM > To: linux-kernel@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org; daniel.lezcano@linaro.org; > tglx@linutronix.de; shawnguo@kernel.org; Jacky Bai; Anson Huang; > dongas86@gmail.com; kernel@pengutronix.de; A.s. Dong > Subject: [PATCH V4 0/2] timer: add imx tpm timer support > > 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: > 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 > timer: 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 > > -- > 2.7.4