Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1174587rwd; Thu, 1 Jun 2023 11:28:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5+8oKrxpdc2o9KcLFliaKub8fhaZIafdv12P7TQ0ccS0HFY1pl4pbO8MCQrDuNWTRxTqfR X-Received: by 2002:a05:6a00:240b:b0:650:154:8bd with SMTP id z11-20020a056a00240b00b00650015408bdmr10605529pfh.17.1685644089208; Thu, 01 Jun 2023 11:28:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685644089; cv=none; d=google.com; s=arc-20160816; b=eIZYEprsw8QI9hIrd7RCKO+B/p4gnnaDVoDd6bfQ2E8dP+XC9Hnju+cFx/esl4s+Cu IgUplipGQZZ9l0eGnV28iXD6jpDdPAuBWrnYQLEeR2dXhm/yk0I8csepny6b5UFI3nkT fRNVfX+Sfs38OxV39TmrLZojEWzbyPrxTE8+j9BzVemmF8nlzGU6fZvNVoGDw0DgjdQw 1R50DAdJWuYumyGTJAanVpRa0UGSX1/udCssrcOpQxli4O9QJmBxUyflhQKj9fVYm96F F6SLbRHxF6DzksbalSAj6HRCDVujixS+FENPEAB5fBKDyE9nGWx5jkyIv+/0YC/w8pbM M40g== 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=w+tN/EorkLDbPQ5HE6jTiGBU2VsYDXgcWaaxPRwBr0Y=; b=cTkwTrPJGVIGjfwgpcAzzfOUluTHRu2J+yxf03YHc4e8qsiTOLARFLY1n6dyCbbsRu T77IDNyxV3WIVhNDTBEIyMuZamu7lWHgSPMUuZlexJRh9gU74BCVWt+uGyV0YfHhV7s6 cuO+s0mlTpKhog3F0+fsAg1+GzguTTWEfctUjzcHe+Rpdvoh6klNTIpeP9jfb/WIvFhW QmxHMg9EohoandG38EdzjS2hJ/kVFuUIx+NPyaqGgpbngQuSBD28MQNwROLnUOhbgwk6 Mh0COZG2MD27oi7O/QOCCa5GzizjNSRpLb6AZ3I/y8XgV/+Us0ousm4/+V8hw0jN/4bL rQJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ULWjjXJm; 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 m7-20020a625807000000b0064d2a385c1csi5917368pfb.252.2023.06.01.11.27.57; Thu, 01 Jun 2023 11:28:09 -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=ULWjjXJm; 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 S232135AbjFASLk (ORCPT + 99 others); Thu, 1 Jun 2023 14:11:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231895AbjFASLc (ORCPT ); Thu, 1 Jun 2023 14:11:32 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76C91123; Thu, 1 Jun 2023 11:11:31 -0700 (PDT) Received: from arisu.localnet (unknown [23.233.251.139]) (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 7E6716606ED0; Thu, 1 Jun 2023 19:11:28 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685643090; bh=/1UK6RJyERSL17sN+JVrhQMGuFCZnyl/wmrhoctEEII=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ULWjjXJmbpkeISxN30WBA+kbSwotG3y7xIVx0GiEsYCmWZh15YDzICoB6EksT+VT3 w8idCG16fqul6WxKbdRyNN1wGfyYV94rKJhNhuUyMbW+RDH/9kujdBEpW2KYOPJlL2 dBZ4ETK/cU0nhPgzgf+BJVwMA7G5p5hAqgfQNY2pxvEXgxZrSqBGF+klCku897npdd Uh7tIfqVi95tLdqWmp0e2BVNEs5TsJYahiB8t+KE0kxnmMAjIMqIjNEPmpdWHamAky I8SyfJ4nq+uRSNNOP92X5CCR+PLSYBxlak6mf7D4vE/pNTxHlyHLsV03xa3eFN2Baa rQtik76BhF+ew== From: Detlev Casanova To: Andrew Lunn , Krzysztof Kozlowski 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: Thu, 01 Jun 2023 14:11:31 -0400 Message-ID: <2686795.mvXUDI8C0e@arisu> In-Reply-To: <5f5f6412-f466-9a3f-3ec7-aa45ab0049c6@linaro.org> References: <20230531150340.522994-1-detlev.casanova@collabora.com> <6646604.lOV4Wx5bFT@arisu> <5f5f6412-f466-9a3f-3ec7-aa45ab0049c6@linaro.org> 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 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 Thursday, June 1, 2023 12:52:18 P.M. EDT Krzysztof Kozlowski wrote: > On 31/05/2023 20:00, Detlev Casanova wrote: > >>> + 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. > Just drop the name. So I can just use devm_clk_get_optional_enabled(dev, NULL) and I'll get the first clock defines in the device tree ? Detlev.