From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752414AbdGEIsr (ORCPT ); Wed, 5 Jul 2017 04:48:47 -0400 Received: from mail-eopbgr40043.outbound.protection.outlook.com ([40.107.4.43]:7088 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750867AbdGEIsp (ORCPT ); Wed, 5 Jul 2017 04:48:45 -0400 From: "A.s. Dong" To: Jonathan Cameron CC: "linux-kernel@vger.kernel.org" , Jacky Bai , Anson Huang , "daniel.lezcano@linaro.org" , "kernel@pengutronix.de" , "tglx@linutronix.de" , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "dongas86@gmail.com" 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: AQHS9TeQ8LhQnx2UDUiW30DJ0hGWaaJE5ZqAgAAGp2A= Date: Wed, 5 Jul 2017 08:48:41 +0000 Message-ID: References: <1499222112-9988-1-git-send-email-aisheng.dong@nxp.com> <20170705162345.0000020e@huawei.com> In-Reply-To: <20170705162345.0000020e@huawei.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.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;AM3PR04MB1316;7:VPSKtqlGAuCFAhGS8dSaQbJRkrUvAMSXRPGiZDtXLhMnsbOVOHleynyvciqsPaRzS7eY9RdSOgDkr0vbfnB1KJQWbRXTY9GJL0KRpQHKvpMTIkHAdGjyCSj9rNtQE6SJPyS6wqJ1o4kgzNdfJS7npVxISIMMg0MUKD7jLzDi1qC+HW5lGvZ2jnlKMh2VBfSdxtmj4IEkEyi/VfiVwftJqGHC7SGhJ3xK95tLLlMi14SqNFSXd60bHD58G0hSpyyxMKsUt6OzJMc8Smvstc4MPSriPVfi6G63nEByR2VYg9NgptROX+NBv978OsHJtmUAWXAI7o46priRqk/cwkNEeuE7cF/2xszzJOOhcHNcgOsZO51Qc6L8Yt6d5aZm2NwW2T8K09VD37f4S9fwWmFKxzvTPXSxwXO9vDNMAqlZfccP4ivE5PeHAocwTDuEOZ5l8A8pY4/Zj7XBJ5tsBG9D8fac3R8m8UzBjdNR6nr+LOSHJ2zFVlxut2LUVxMQ74I4viW/lIAQULv5J92DQR/KGx+u5YlS+tOEXBsxEMv4G8uKobKI5JKVQhRjkeBK5Ole/NAxJOuF30HHCa78/i1vMN0dFDE5WoogMK0MXVZtcdiPWs4kU40zTYcE6igdy9zYyJTqHXutx4wWXk+T3zjZ8JgDUlyY3N3elmCuxHdpNYcXHevEF6xZnAFz+/n9M8r1ZOJLQ8Se7jhqURC8/fXx5GRal/aypFqmIpM9LCn2hx/7JxLen2c6hiOP84eK/aOX+4/uMN1aRk8lPjN9efLGi93NUNiCAlldAtSTs00MazY= x-forefront-antispam-report: SFV:SKI;SCL:-1SFV:NSPM;SFS:(10009020)(6009001)(39450400003)(39840400002)(39400400002)(39850400002)(39860400002)(39410400002)(209900001)(13464003)(24454002)(377454003)(51914003)(54906002)(6246003)(55016002)(2900100001)(33656002)(81166006)(54356999)(50986999)(5250100002)(3660700001)(76176999)(8936002)(66066001)(99286003)(39060400002)(3280700002)(6916009)(6506006)(8676002)(2950100002)(53546010)(229853002)(189998001)(38730400002)(6436002)(53376002)(5660300001)(7736002)(305945005)(7696004)(6116002)(25786009)(102836003)(3846002)(6306002)(9686003)(86362001)(478600001)(4326008)(106356001)(53936002)(2906002)(14454004)(110136004)(74316002)(966005)(6606295002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR04MB1316;H:AM3PR04MB306.eurprd04.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en; x-ms-office365-filtering-correlation-id: e0898521-811b-42f5-838b-08d4c382a357 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:AM3PR04MB1316; x-ms-traffictypediagnostic: AM3PR04MB1316: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(133145235818549)(236129657087228)(9452136761055)(50582790962513)(258649278758335)(247924648384137)(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:AM3PR04MB1316;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:AM3PR04MB1316; x-forefront-prvs: 0359162B6D 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: 05 Jul 2017 08:48:41.7793 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB1316 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 mail.home.local id v658n6AK025640 > -----Original Message----- > From: Jonathan Cameron [mailto:Jonathan.Cameron@huawei.com] > Sent: Wednesday, July 05, 2017 4:24 PM > To: A.s. Dong > Cc: linux-kernel@vger.kernel.org; Jacky Bai; Anson Huang; > daniel.lezcano@linaro.org; kernel@pengutronix.de; tglx@linutronix.de; > shawnguo@kernel.org; linux-arm-kernel@lists.infradead.org; > dongas86@gmail.com > Subject: Re: [PATCH V4 0/2] timer: add imx tpm timer support > > On Wed, 5 Jul 2017 10:35:10 +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. > Hi Dong, > > Not relevant to this patch - just an observation! > > Just came across this thread and took a look at the hardware. I see some > of the timers (particularly the flextimers) support quadrature encoder > modes. Just thought I'd point you at some on going discussions on the > IIO list (linux-iio@vger.kernel.org) trying to improve the interface for > such devices. Might be of interest (or not depending on whether support > for that functionality is of interest!) > > http://marc.info/?l=linux-iio&m=149904379731556&w=2 > Hi Jonathan, Thanks for the info. I will find time to check it later. Regards Dong Aisheng