Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1998983pxb; Sat, 2 Apr 2022 11:11:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycJd4YPhjvcMFmzFjJ2FJUjzwteNlj4gib84yZk7dn/nl+pPdDqOoj5qZhXnikRFRtJZtF X-Received: by 2002:a05:6a00:16c7:b0:4f7:e497:69b8 with SMTP id l7-20020a056a0016c700b004f7e49769b8mr16417188pfc.6.1648923068725; Sat, 02 Apr 2022 11:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648923068; cv=none; d=google.com; s=arc-20160816; b=ca5tIWfQm/JmJYNbHH/vkrKYciZj7/52th/LB0RW2wVIDzdWLnu7x/RvWhmTZ1m3Wo xgOYCzM2/BzYF6M3IOY1xztOY1rKMZmJpvr+OgbCD5gyWXlN0wRXpbIOdXz+zkQ0mHiK sJIyS/1y9lDoDVoPQC6wyD/1Grlff+U7N8rWkKty3J7WMmZkdPtaS0o3tHPfU9fRzkvX ycYpCiVUlS8/T5nZF8CdfSd+6sMIGeNaxFWL/BNdqiHjQToX9CgXBIflu+g9wbMHrRl/ 1pwjK/O0SZ1vGAlnkGqLAEF73dEzDrah3Nv0JSy+bIV+hRdjqZwVOI41TqBJ5tAKDTK+ nUYg== 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=p7la0KOeEOAysVBijkaFTCkW3yqx5mQnMD3fZ7uHfuI=; b=X4Wt/2nQ0jH4mAM/MoJ4bUblHmWlLLp2fTuIox/vuT+lvx2s33vzen5O2Cy4DEG9QU WfXrjmdUhTAIGf3cetLSiS3h3yBUemo/XuDO53lNlir+oIBct4YA+rtSo2BGR0axNq2M i4zk+JxdlSfBoq209HX9vAz23yDhEmtYajpv/znX07OjM+ULaeeTPB2NG6XD7fO9RAMN OG8sxJXWkPSCS5AXw0P7h6HmAhF4avFV59tNGsQ8+Z7NiVQD8dOyc/egG+Tpokmj6I2h 1DtQWcTUIFMNF/mzFPrIhTbaC1NdYERhQ5xTWPpMVJxmgPm8bYWAQIQIoWk9mkxdcIli rsWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=ficpD8st; 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 d24-20020a631d18000000b003816043ef2asi5594779pgd.287.2022.04.02.11.10.45; Sat, 02 Apr 2022 11:11:08 -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=ficpD8st; 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 S1353136AbiDAWA5 (ORCPT + 99 others); Fri, 1 Apr 2022 18:00:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352837AbiDAWAv (ORCPT ); Fri, 1 Apr 2022 18:00:51 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF8E51C1EF8; Fri, 1 Apr 2022 14:59:00 -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 EBC5A22249; Fri, 1 Apr 2022 23:58:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1648850339; 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=p7la0KOeEOAysVBijkaFTCkW3yqx5mQnMD3fZ7uHfuI=; b=ficpD8sttr3iAWV08aCp1HPpWMiR/UfMAJDD/nqVbSEGScJGn94fgpguze2KQpp7hL8Khb y1+vdZBZcU2pPNWhMqD+NuS77vtkp2J6UR/i1T6lYCKHXBnd9XhHXNVzT2bnUPnh/V9ogI CKjNV6eSnM8s6e+WlNl86w+QjUoswI0= 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 , Krzysztof Kozlowski Subject: [PATCH RFC net-next v2 2/3] dt-bindings: net: mscc-miim: add clock and clock-frequency Date: Fri, 1 Apr 2022 23:58:33 +0200 Message-Id: <20220401215834.3757692-3-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220401215834.3757692-1-michael@walle.cc> References: <20220401215834.3757692-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 Acked-by: Krzysztof Kozlowski --- 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 cdc39aa20683..2c451cfa4e0b 100644 --- a/Documentation/devicetree/bindings/net/mscc,miim.yaml +++ b/Documentation/devicetree/bindings/net/mscc,miim.yaml @@ -33,6 +33,11 @@ properties: interrupts: maxItems: 1 + clocks: + maxItems: 1 + + clock-frequency: true + required: - compatible - reg -- 2.30.2