Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2957169rwb; Mon, 3 Oct 2022 07:49:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM64qPnJJi5lZMkzA8Syh3x9rfI8VFFGM/N9iEVSekdWwOPL0NRvdcuCIAFYpZcgLU/D95zf X-Received: by 2002:a05:6402:f96:b0:459:4180:6cf4 with SMTP id eh22-20020a0564020f9600b0045941806cf4mr214331edb.64.1664808584935; Mon, 03 Oct 2022 07:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664808584; cv=none; d=google.com; s=arc-20160816; b=maQSehYfj+nMcd3qXxI7HZrPb18ziS6lx2y1Bw5HKvmkKoUAoMwb0f/V7Faj15Vtyl OVwCO9S6dygn2T/cVDttKmFs9xyefT7NRsSBKj09PxZSxh0Vu33OYgshAypZXYVLm0il 6ZOEah66N29XBgQGFKSTDB24C/NJxUed0+8qo+VZwHq82kOyq6BS7qPwNEbXPkUeXTGS xNK3c6YxHn0UO1OYD0f4ZtU770/qyGeOdnrv0tsYENueWqx9FYp0JilSrp7m3G6EDttq 81MdRICwWTh9rz4J4Qe/wPJGQBa/05VSgNMgHI4FG7PMraf7PK7yyl3L/Dq6vakBy7Wn RtCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vF6jYskKFtL76I9VL7jQSPvHW3USZIrLaYZQO7sPj7s=; b=1DMW9fZxvfN4fzHmFquzwZFB+5pBe5IGnqLHdh6iAZm9dVT/fAuJzQP74dgxCtg17z oLmxedlC7fpcK/ZFmn1ESRLEF7I9EFuQsteHRy9croO6SAnQIKmqjhko17iX+OBl+CRx pzFxxE0r7N8I3fqC8A+TUnqWDc/NqBzxYIlzaXrHr5jN83JyivB7ke8UhL7ivtkoVRR1 IIviDS6f7lzI7Y89ivFHH7tPIUN+UnbR4MqLyy0amzJY1qNuxBrshFO+kALxCitNK98d /7mqhqBPWKr6uxRpZHPBBqYeL7HThiEJU1zWO3KOJAxlg7N2OUHsQWF2JuFjFEcJmRvI o+cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BhRHDiqG; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ec9-20020a170906b6c900b00773db106d4dsi7700625ejb.588.2022.10.03.07.49.16; Mon, 03 Oct 2022 07:49:44 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=BhRHDiqG; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229839AbiJCOUy (ORCPT + 99 others); Mon, 3 Oct 2022 10:20:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbiJCOUv (ORCPT ); Mon, 3 Oct 2022 10:20:51 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5FA240BE7; Mon, 3 Oct 2022 07:20:49 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id q9so9788899pgq.8; Mon, 03 Oct 2022 07:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=vF6jYskKFtL76I9VL7jQSPvHW3USZIrLaYZQO7sPj7s=; b=BhRHDiqGgUdQnMTRYUV11CK7hwH49qJkPSBtM/CDKWmjemWUSWbn0BUY01ojBhembD yH/w2D6+jUwSgtBwYWQ0hWL2v7LYDUHTHKWWPdqawHOQaBqJ2CpaMoBgCcGnNxPeW2SZ yjxsbIMmEFlTkmm8X1F9ELHDNneTWvWzOxLdEtVR2/lRkbQgag/oGDYAmEm3ilFUwZ4H ntIy1bHIAlxfI51n6VZCUOSeU4R6mftDD/EJmT1PBD9NVTlbNiTQHY3JejcTJXIdu+aX UmYkLF7fsH6rPTDwVYaA19FQOinV0y27JYd3SrZePQck4/X88iivUvC3u2rjNSsHXn0C DkCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=vF6jYskKFtL76I9VL7jQSPvHW3USZIrLaYZQO7sPj7s=; b=3vgcqDYPmt+IdUastnBaRGYGMbDTcSGK421PfayEtgaevWu9YE/UgH6yEekO3MNk30 zXyXim2ouKRt0KkUFDG/P4j19hGKdyUlAr4uVsbmwMja/Lr6dxNfxByK4xGiCu7PSJae NIcqhP0TWTp8O0Dvtf7iR7HVlZwClBNv8V06109vc4zZw4ebXB6JcH1z/UEjtFAEwjG6 9SVYRRPK4/BFPWUT75kg8WkHesidhN24S/j3Db6c5WU0IGtpui+/sJT2Qelr/vkHx6we xeOLyVPZ+y7HXX1K01Ng7AtRz+P4pNGIVxbSw4wRbC4qeggWNI8VZLghhm2lE6cved7x u1iA== X-Gm-Message-State: ACrzQf1fIrZbtheC1lK0kVB/D+d6jsjtbDR4H4AYFx9oPiZUpFID2OOe MiYx52PbL8vw0BJbyXZh5q5Z8yKbXZw= X-Received: by 2002:a65:4bc1:0:b0:439:e6a5:122a with SMTP id p1-20020a654bc1000000b00439e6a5122amr18772158pgr.443.1664806849078; Mon, 03 Oct 2022 07:20:49 -0700 (PDT) Received: from hoboy.vegasvil.org ([2601:640:8200:33:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id s4-20020a170903214400b001750b31faabsm7119081ple.262.2022.10.03.07.20.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 07:20:48 -0700 (PDT) Date: Mon, 3 Oct 2022 07:20:45 -0700 From: Richard Cochran To: "Gaddam, Sarath Babu Naidu" Cc: Rob Herring , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "krzysztof.kozlowski+dt@linaro.org" , "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "yangbo.lu@nxp.com" , "Pandey, Radhey Shyam" , "Sarangi, Anirudha" , "Katakam, Harini" Subject: Re: [RFC PATCH] dt-bindings: net: ethernet-controller: Add ptimer_handle Message-ID: References: <20220929121249.18504-1-sarath.babu.naidu.gaddam@amd.com> <20220930192200.GA693073-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 On Mon, Oct 03, 2022 at 09:29:00AM +0000, Gaddam, Sarath Babu Naidu wrote: > PHC(PTP Hardware clock) index is a number which is used by ptp4l > application. When a PTP device registers with a kernel, device node > will be created in the /dev.For example, /dev/ptp0, /dev/ptp1. > > When PTP and Ethernet are in the same device driver, This PHC index > Information is internally accessible. When they are independent drivers, > PTP DT node should be linked to ethernet node so that PTP timer > information such as PHC index is accessible. Good explanation. The handle you propose makes sense to me. Maybe let the name spell it out clearly? fman0: fman@1a00000 { ptp-hardware-clock = <&phc0>; } phc0: ptp-timer@1afe000 { compatible = "fsl,fman-ptp-timer"; reg = <0x0 0x1afe000 0x0 0x1000>; } In any case, to me "timer" has a different connotation than "clock". Thanks, Richard