Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1233469pxb; Fri, 1 Apr 2022 08:03:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoWMwVyJZh8iUcyGpJbGM8lLAemc+XOa5FiydPoEaSHQ6FdKoEJ2eBNogWrtBLEz41tpUq X-Received: by 2002:a05:6000:386:b0:203:f8d8:f70 with SMTP id u6-20020a056000038600b00203f8d80f70mr7991544wrf.163.1648825422509; Fri, 01 Apr 2022 08:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648825422; cv=none; d=google.com; s=arc-20160816; b=R0skeunPIJt/EdRpMUDJxNTGY2juh3xZMiuZUgQe2THase1ar220qf+Y/DfAGjyH8Y SDWaxdv5rccXiXTwtF6wcEfPfh0riSXwPks4ym7g5IYfUwywE7KfduMfJ+7xiiObw9Cu mCLLEcCBRvKfwCu4NDUl59RptZeGEzf9y4KEsPb+kOQw4CF9khRIJGgRIs0RbWqXv92X xWSNjvWEud5/8ovTsG1KfB6QxnIB2BW7Zx/WnB21KiRhyYfLTvTj5bVUZ6bHz/weAyPU FCsMMK4eLNZi1f6Jhb+k0Q5HgederDRVqnIRBZDQxPcpIhP+Vdwn741eibfVuweq3Gae bcgw== 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=7Oo6DCwxDAZatTppGQauKS8CvTXIgeG2hnCjTf6RjvA=; b=wUahQe2DvTRmby76bPliM5m8+BVmTUQAMJsAIwE0eJmULCcD6QcooX4QXUlW07ove9 FNLlwbBUh3g6E1l2vLImm9f9ThtHKoNofi/hrAfcngmM1Q9PFZMjKuwoscHQUskGfP/J HAkM/fg9drmqhtvQAILXtCJOLvp3OBoVXKdS38m08vo9/Cb7eh2oBTkpRF80USHKCoxo EwCwQcr7pljfFuuoKWzp9QOT7vq5Vhd+v5vnaUfkH2ym3gF6OGuJmTREz1Z9N7JoYGj1 IRBXNiNwu5GlzAuBdpRLlJ99uqW3JXMLgWKsdSBx4hQBZep7R+VwrQCKjtSnyYCq0a0x TXcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=eUJ8LOrg; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a056402278700b00418ee342277si1804729ede.489.2022.04.01.08.02.51; Fri, 01 Apr 2022 08:03:42 -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=@walle.cc header.s=mail2016061301 header.b=eUJ8LOrg; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238064AbiCaPQo (ORCPT + 99 others); Thu, 31 Mar 2022 11:16:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238016AbiCaPQf (ORCPT ); Thu, 31 Mar 2022 11:16:35 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C26C55F4E2; Thu, 31 Mar 2022 08:14:47 -0700 (PDT) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 0A11D22248; Thu, 31 Mar 2022 17:14:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1648739686; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7Oo6DCwxDAZatTppGQauKS8CvTXIgeG2hnCjTf6RjvA=; b=eUJ8LOrg9M+lRLxcTwdkRi5rMDCYS0iTZ3/RiXTA4Ykscueszho7OQHpQtWuxvHWglPKV1 +IGSua63KaIV37YILYtZDEj2pfunK4WX72/LJAGKHHUXEja2/3rypFZrG/rnNX7WRH340T 862hT+kEdlDtEXzG7HyOsFvmpzc/VF4= From: Michael Walle To: "David S . Miller" , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andrew Lunn , Heiner Kallweit , Russell King , Alexandre Belloni Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Walle Subject: [PATCH RFC net-next 2/3] dt-bindings: net: mscc-miim: add clock and clock-frequency Date: Thu, 31 Mar 2022 17:14:39 +0200 Message-Id: <20220331151440.3643482-2-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220331151440.3643482-1-michael@walle.cc> References: <20220331151440.3643482-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Add the (optional) clock input of the MDIO controller and indicate that the common clock-frequency property is supported. The driver can use it to set the desired MDIO bus frequency. Signed-off-by: Michael Walle --- Documentation/devicetree/bindings/net/mscc,miim.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/mscc,miim.yaml b/Documentation/devicetree/bindings/net/mscc,miim.yaml index b52bf1732755..e9e8ddcdade9 100644 --- a/Documentation/devicetree/bindings/net/mscc,miim.yaml +++ b/Documentation/devicetree/bindings/net/mscc,miim.yaml @@ -32,6 +32,11 @@ properties: interrupts: true + clocks: + maxItems: 1 + + clock-frequency: true + required: - compatible - reg -- 2.30.2