From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030199AbcK3LIh convert rfc822-to-8bit (ORCPT ); Wed, 30 Nov 2016 06:08:37 -0500 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:43491 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756402AbcK3LI1 (ORCPT ); Wed, 30 Nov 2016 06:08:27 -0500 Message-ID: <1480504100.9183.72.camel@pengutronix.de> Subject: Re: [PATCH 3/6] net: ethernet: ti: cpts: add support of cpts HW_TS_PUSH From: Jan =?ISO-8859-1?Q?L=FCbbe?= To: Grygorii Strashko Cc: "David S. Miller" , netdev@vger.kernel.org, Mugunthan V N , Richard Cochran , Sekhar Nori , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, Murali Karicheri , Wingman Kwok Date: Wed, 30 Nov 2016 12:08:20 +0100 In-Reply-To: <20161128230428.6872-4-grygorii.strashko@ti.com> References: <20161128230428.6872-1-grygorii.strashko@ti.com> <20161128230428.6872-4-grygorii.strashko@ti.com> Organization: Pengutronix Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c3 X-SA-Exim-Mail-From: jlu@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mo, 2016-11-28 at 17:04 -0600, Grygorii Strashko wrote: > This patch adds support of the CPTS HW_TS_PUSH events which are generated > by external low frequency time stamp channels on TI's OMAP CPSW and > Keystone 2 platforms. It supports up to 8 external time stamp channels for > HW_TS_PUSH input pins (the number of supported channel is different for > different SoCs and CPTS versions, check corresponding Data maual before > enabling it). Therefore, new DT property "cpts-ext-ts-inputs" is introduced > for specifying number of available external timestamp channels. If this only depends on SoC and CTPS, it should be possible to derive the correct value from the compatible value and possibly a CPTS version register? If the existing compatible strings are not specific enough, possible a new one should be added. Regards, Jan -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |