Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1261128rwd; Wed, 31 May 2023 11:26:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7NDdBcClHr1xJqC/G/YuwM++a8CfI/Qg3m92m0lJKyosQ8NwHSZ6Le3Fve6OlsQiRi/ZpV X-Received: by 2002:a05:6a20:ad90:b0:10c:ef18:746e with SMTP id dd16-20020a056a20ad9000b0010cef18746emr5284560pzb.58.1685557597364; Wed, 31 May 2023 11:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685557597; cv=none; d=google.com; s=arc-20160816; b=fnEJ+uz1YquLsMsUwrwEPewy4oGEYbrSM+n72VLKh5xQ7RiYJCQBrwfFdjbSKlTBgJ eo8Hi5IoHNuOk0e7p+qNFOX92RST/XDV447i+l4BVU3yX29UIx7Azyy3ASTpkc35zTpo XaFilNis0AWLeR8X1F8xbJ2+ejJZTPql31YHxKEl5fCREYWuWkD4n/wWvBpw8WUfiGos B7sBZeQEbgrWwkvWkctd02pqDwAnof2AfLT0Mu9C1nEHFXHzOYMk9DejBhoH34jr63ZK nC7d/f/wtbFG4eRhVTXvPopwZz2L1kwKgL0vqP3VXUNLghenFrVUKSnmLlv/pGuid2mx VVbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RniCerOFYK8UoOQb/BOpiDm24f3fpZ4+hpeewqKKf9A=; b=to86HzNPJbh9vv1HoMZVuMyIF+6rFMjAMZ862plbIKilM/Ou1v6iXAylIgwMPTQFAi 1xLAxiCi/r5h81V9+G7qqNyIHvZqd9tOFjuGugr9BDPrpX14U4slzjtmB7/udd5jf8wb FcYZIxORBAYk6X4F8gmL9TVQNl7oKe+PRMrgJdIFfQlRX6yMB5gQ5qpNO3PPoNj29jkK hmfCmScOeO6vecVr2zNaQzVRFL0VN9AHbX7I11fe4EWsL73RV9SG76Ekc5bnZ9W9gFvE Ku0Gpfkt1Xk3Zak+TyAhLkPPzyJPbkSEMopjjyrmUD66IYKyN5ATO6iBIGsn8oCasHG4 jxLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="V8Milrc/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l13-20020a170903120d00b001b176dc95d4si1248158plh.557.2023.05.31.11.26.21; Wed, 31 May 2023 11:26:37 -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=@collabora.com header.s=mail header.b="V8Milrc/"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229715AbjEaSAQ (ORCPT + 99 others); Wed, 31 May 2023 14:00:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjEaSAP (ORCPT ); Wed, 31 May 2023 14:00:15 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF44126; Wed, 31 May 2023 11:00:13 -0700 (PDT) Received: from arisu.localnet (mtl.collabora.ca [66.171.169.34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: detlev) by madras.collabora.co.uk (Postfix) with ESMTPSA id D2C2B66056D7; Wed, 31 May 2023 19:00:10 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685556012; bh=2DlD47EuurI1+4uewQzR4DdZPPGxHv74VYEPxfWFriA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V8Milrc/OCzz6XoLcw5ODsOcLv8R4jhlet06ofcsKTjPko5PkxM/w63HqRGnPDXJX ChHOxwOd4lj66xBwN1/dROtagK8pxlBSYRq2hO/xOuF7GKIfh+Byb4jLYD1hm4BxNg aldQw2NCm4ZidPdA5tOqkW6k3UYYvfzPmyMI83yt+LPDqvqWxJGx/wNc8unh2aQaRS bI72ZkYBkQvljpJ2n/MUkqQ+nde/2yHc7HyieoPyQCui3OKvH5K3n/ZeYCOOCpZ88X ZgL9qevAH42WHNNZ0klBKOZmCuDC3qVGMrzUhC6EOzxWnXJmxkS0wIuhFTxL4hJVnh /xVMqD3nHyROg== From: Detlev Casanova To: Andrew Lunn Cc: linux-kernel@vger.kernel.org, Heiner Kallweit , Russell King , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , netdev@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: net: phy: Support external PHY xtal Date: Wed, 31 May 2023 14:00:12 -0400 Message-ID: <6646604.lOV4Wx5bFT@arisu> In-Reply-To: References: <20230531150340.522994-1-detlev.casanova@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Wednesday, May 31, 2023 11:16:46 A.M. EDT Andrew Lunn wrote: > On Wed, May 31, 2023 at 11:03:39AM -0400, Detlev Casanova wrote: > > Ethernet PHYs can have external an clock that needs to be activated before > > probing the PHY. > > > > Signed-off-by: Detlev Casanova > > --- > > > > .../devicetree/bindings/net/ethernet-phy.yaml | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml > > b/Documentation/devicetree/bindings/net/ethernet-phy.yaml index > > 4f574532ee13..e83a33c2aa59 100644 > > --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml > > +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml > > > > @@ -93,6 +93,16 @@ properties: > > the turn around line low at end of the control phase of the > > MDIO transaction. > > > > + clock-names: > > + items: > > + - const: xtal > > I don't think xtal is the best of names here. It generally is used as > an abbreviation for crystal. And the commit message is about there not > being a crystal, but an actual clock. > > How is this clock named on the datasheet? In the case of the PHY I used (RTL8211F), it is EXT_CLK. But this must be generic to any (ethernet) PHY, so using ext_clk to match it would not be good either. Now this is about having an external clock, so the ext_clk name makes sense in this case. I'm not pushing one name or another, let's use what you feel is more natural. Detlev.