From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5EF7BC43217 for ; Tue, 5 Apr 2022 22:03:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1389465AbiDEWBM (ORCPT ); Tue, 5 Apr 2022 18:01:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384246AbiDEPOy (ORCPT ); Tue, 5 Apr 2022 11:14:54 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5A0E1AF3E; Tue, 5 Apr 2022 06:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=mGMxaI04fi2rfMsZ7XkzQpBo/JY88ZvlXCI1clOCHlY=; b=E36doV9qxOO/pwTzU5pEA7irOI tJ1JtQF9Y1F8a0dDxglHRE1OaiEO3lOuLAwxewZ2ROjyYTOo9rU5PVK2qvEGK/6IXC6IRPr9C9aVx cWQ2mdwVvAomiwtAudK3UtKhhDLprdYHhdeSs4DZN3P/sBGXD745znUGFtm0LfOr5qc8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nbjF3-00EFiK-8s; Tue, 05 Apr 2022 15:29:05 +0200 Date: Tue, 5 Apr 2022 15:29:05 +0200 From: Andrew Lunn To: Grygorii Strashko Cc: Kurt Kanzenbach , Michael Walle , richardcochran@gmail.com, davem@davemloft.net, kuba@kernel.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, mlichvar@redhat.com, netdev@vger.kernel.org, qiangqing.zhang@nxp.com, vladimir.oltean@nxp.com Subject: Re: [PATCH RFC V1 net-next 3/4] net: Let the active time stamping layer be selectable. Message-ID: References: <20220104014215.GA20062@hoboy.vegasvil.org> <20220404150508.3945833-1-michael@walle.cc> <877d83rjjc.fsf@kurt> <87wng3pyjl.fsf@kurt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Yes, the limitations described above are exactly one of the reasons to > > make the timestamping layer configurable at run time as done by these > > patches. > > Seems like PHY TS support belongs to HW description category, so could it be device tree material, > like generic property defining which layer should do timestamping? Maybe. Device tree is supposed to describe the hardware, not how you configure the hardware. Which PTP you using is a configuration choice, so i expect some people will argue it should not be in DT. Andrew