Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1010537rwd; Wed, 31 May 2023 08:18:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7jwoXQqVi88HvJ81WVWYAbwG0vImiVepTLER+J1Ru+HOv07PAnvqViZn3Clvqj1Ap5RjGI X-Received: by 2002:a17:90b:4a83:b0:256:991a:19e with SMTP id lp3-20020a17090b4a8300b00256991a019emr4992539pjb.9.1685546313140; Wed, 31 May 2023 08:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685546313; cv=none; d=google.com; s=arc-20160816; b=gaEUfV2n949+Qhwo3eiFlIxRmEVo7nCmxwyj9AQhusFDH9mMF3lUPMMEQx/bToHm0J wI17LSsJNGPhCvzDPYywT6Ee3cIP2PmIXPCFR5lEdWXwwgD2uvChBkPjDZUpzcXf7gYS mASc4txdjOD8C6rng8XnLABiMutypJ4korMWeHcATowpnJ7R6NR3bhq3ZYed1RV9u/R2 8pCX69HfUz6KeRMlMAWyKaSzdNL5Z5efsEdM86qpdT53PmHA/qqauFPD2wkf+M23eQeg zpsxd3J5ZxfKYlUWaZZvWAI4ix8u/JC9+wYVZKgmgmZEdQbaMFrs1omGZRdc8Yjjj05I fjyA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=xG79sjMCCK/3WpGM1YvnTxHV1oDXeUfThgdF5UFFb1w=; b=zKQaOX1Z37VAZWUxT7IWLu1gCIsL/PNTc1qVQKQIRMZuPf6yoX0USOgFOiaOzBIm0r CpyUXUWJ4bsMbY+ZFyycIIWemY7MilgPAzxLYOkox4kKz4q1sSItTKGMnufuzav8mLz8 nhOwcTschlU3vjpvR1m6piKPrExDfFDoVBkhI+QzH6TqvTWhxQlcUn5RgXawbaywgLgz nsffJF/10WF3LAA9NBR01+I/w/BMPC5UqwTZ7h3ouSXYVmqYTgjwqC8xdz+ag57bXaBS hcMNaxRS+8I2ISV9ePkSN0wGIgMIygrkv7qmA+ulhzqc+w82XJ8n59iTYVQxBGkqNUK1 t5uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gJv5lCZC; 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 20-20020a631854000000b0053b88b7dd54si1120737pgy.309.2023.05.31.08.18.12; Wed, 31 May 2023 08:18:33 -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=gJv5lCZC; 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 S233923AbjEaPEN (ORCPT + 99 others); Wed, 31 May 2023 11:04:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233886AbjEaPEA (ORCPT ); Wed, 31 May 2023 11:04:00 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9793412B; Wed, 31 May 2023 08:03:58 -0700 (PDT) Received: from arisu.mtl.collabora.ca (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 9DBB26606EB1; Wed, 31 May 2023 16:03:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685545437; bh=ZwlXPYQPfk+GWd3QIJF4+YV66sRpXFI0cOCa/2Pkr1c=; h=From:To:Cc:Subject:Date:From; b=gJv5lCZCo9TpspztOoSp2+J7yKGfADEev9Peyk9pHP7lLl4bXSMcO45nu0OzA5AqA tg+zuNhlup2nWOeoe+1TGtwT97dGLvVmolwotYkCXOsdXoEwxLIAX6AuAUFTkjtr1f jVnkYEzZs/PraQjzYXfz3UpDNg8ZPbs2TH2Yi8KXAiQu888SPZ8sdF5iUt97+ohnXM j6XHJqmJvzugy/w5VxFSHrd6jdO5CT/kCq3FNjG5VSVRMpiE+KbiryXuLVKpIfeSWr SkNj24+b3ct8s/fR05oSjtFKD7aoinOrzpUK/b3uP6+QzO4m3BCIJR0NuJklenbgI+ J2ck/yqQlZBlw== From: Detlev Casanova To: linux-kernel@vger.kernel.org Cc: Andrew Lunn , 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, Detlev Casanova Subject: [PATCH 1/2] dt-bindings: net: phy: Support external PHY xtal Date: Wed, 31 May 2023 11:03:39 -0400 Message-Id: <20230531150340.522994-1-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 + + clocks: + maxItems: 1 + description: + External clock connected to the PHY. If not specified it is assumed + that the PHY uses a fixed crystal or an internal oscillator. + enet-phy-lane-swap: $ref: /schemas/types.yaml#/definitions/flag description: -- 2.39.3