Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp631708rwb; Fri, 13 Jan 2023 02:10:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXu8LjYvMkLE0W9d7wV/Ek3WUP/rkiu0om3OtcX6rxiSY3YOAA/Yesktwmc9AFjVjd/fKxZk X-Received: by 2002:a05:6a20:43a2:b0:b6:71f6:a4c0 with SMTP id i34-20020a056a2043a200b000b671f6a4c0mr7245678pzl.1.1673604606715; Fri, 13 Jan 2023 02:10:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673604606; cv=none; d=google.com; s=arc-20160816; b=BXQDzG8B1SbWmjhoCGcHOVQPTN6iR/e5kdyCVXpQU+sToV+n0QMu4rpLX+PMwmyePj /g8ZcQ/b60RCU6vBPkkBrtS2u1Vl+lT8hqP5NHgfuIwe9kuBhhaE29ldo3gcJZvXW8MH 84mdMPItAPC72TQ0cDIv7szw8yaOqCm19dVOWH2Qdwn2oZzNiky8Yq0XD+fSpTyhpNlI EfHMs3iqWfvCNaMTjge0rC2nZhhQ85ftTeMWijCppnRI0BmIXn252qweEv5bTT+QbMxd zkPClYG4rp3G9jpiLiGxhqFjyMmT3hnD2UpOirfBmTxiDR4SDEjpAoUOQIIfSW+BiYZG HbPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=W5sYuzVyza2hO1WRUVijoqvFLGfpcIIpVMrQRBLCreg=; b=pg2+lczSfAz/CQLpRi4qVuxnAKf8rQvde1rwfK3Fgspw42Ener4nsKFGz5B4gIF4XC Nf0SpMo21Vycn1QaMAtd98TlUeWbzi13uL9qYACBvXaDwhZ3w2RDlobAtGNfnk/nuBu7 bUQ+KMrSQK9y9ETfXEK4fOkNLBoX0uVZvrZV8v9Y3eVc7Cdbs+fBYjNUZECDPPnfjtgK ZnLk38pAI3otM6sTn9pPi4UILYP80Tllx541emdg59b49jWLefRRAiVVKUGx+x6OMH++ Xjvw24B+Mj7V7k7g3tCrD+0gIpt8djRlZxsTdyOTlZ9wpMraQ8N0TKumJ5ygTM6wAR+f 8Apw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IGTsIaOk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m16-20020a637110000000b004adff260caesi18578103pgc.361.2023.01.13.02.09.59; Fri, 13 Jan 2023 02:10:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IGTsIaOk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241266AbjAMJxc (ORCPT + 53 others); Fri, 13 Jan 2023 04:53:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239638AbjAMJxH (ORCPT ); Fri, 13 Jan 2023 04:53:07 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A03A7BDCD; Fri, 13 Jan 2023 01:49:01 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1DAAA6112C; Fri, 13 Jan 2023 09:49:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB670C433EF; Fri, 13 Jan 2023 09:48:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673603340; bh=1LY5Wahlmj+cAfehHuOC3snGF6O3X/tHawwgCwx8Gfo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=IGTsIaOkP5VsQOv/TdhT0y71HwxxZ0BeUQ+lv/GcI6Zg7TNUGZEu0jIQTbHOJH1bF rupjBUdUSBirha+/W3JKiRC1xk7xnRCJM8TiYMXH5p9SMjtikeVbnrX+5WRvGn/2Nh GGQUPBiaLFsI5VQkfA8hL0hsiOertllCuVVO0oEodMrZsGqNyv9dItDUk4hB4JYqI/ i9KJ0BwhIDAOPoaumdCywvDwHEbSLVJzI9Xtl55PERCZ2w49UjuAwwGuaHIE+5Xj9m Rf57WBOuLhoSyqSGQ2i20AMeFM9KZYR0SmuW28jpMh+NXGs/giziNYOZx8RxWQC5vK jzZYCc4O7Na1A== Message-ID: <2fc741b2-671d-8817-1d6f-511398aea9ff@kernel.org> Date: Fri, 13 Jan 2023 11:48:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH net-next 0/5] Add PPS support to am65-cpts driver Content-Language: en-US To: Siddharth Vadapalli , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski@linaro.org, krzysztof.kozlowski+dt@linaro.org, nm@ti.com, kristo@kernel.org, vigneshr@ti.com, nsekhar@ti.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, srk@ti.com References: <20230111114429.1297557-1-s-vadapalli@ti.com> From: Roger Quadros In-Reply-To: <20230111114429.1297557-1-s-vadapalli@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Siddharth, On 11/01/2023 13:44, Siddharth Vadapalli wrote: > The CPTS hardware doesn't support PPS signal generation. Using the GenFx > (periodic signal generator) function, it is possible to model a PPS signal > followed by routing it via the time sync router to the CPTS_HWy_TS_PUSH > (hardware time stamp) input, in order to generate timestamps at 1 second > intervals. > > This series adds driver support for enabling PPS signal generation. > Additionally, the documentation for the am65-cpts driver is updated with > the bindings for the "ti,pps" property, which is used to inform the > pair [CPTS_HWy_TS_PUSH, GenFx] to the cpts driver. The PPS example is > enabled for AM625-SK board by default, by adding the timesync_router node > to the AM62x SoC, and configuring it for PPS in the AM625-SK board dts. > > Grygorii Strashko (3): > dt-binding: net: ti: am65x-cpts: add 'ti,pps' property > net: ethernet: ti: am65-cpts: add pps support > net: ethernet: ti: am65-cpts: adjust pps following ptp changes > > Siddharth Vadapalli (2): > arm64: dts: ti: k3-am62-main: Add timesync router node > arm64: dts: ti: k3-am625-sk: Add cpsw3g cpts PPS support Device tree patches need to be sent separately. You don't need to involve net maintainers for that. If you introduce a new binding then that needs to be in maintainer's tree before you can send a related device tree patch. > > .../bindings/net/ti,k3-am654-cpts.yaml | 8 + > arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 9 ++ > arch/arm64/boot/dts/ti/k3-am625-sk.dts | 20 +++ > drivers/net/ethernet/ti/am65-cpts.c | 144 ++++++++++++++++-- > 4 files changed, 166 insertions(+), 15 deletions(-) > cheers, -roger