Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3475570pxb; Mon, 4 Apr 2022 18:09:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9VaheZflRTWJv+YCuYBWiWnkMsHM2sevkuqXZ0oy3xx+MjOSfeLUiuHeHl8YixvRigOPR X-Received: by 2002:a05:6a00:1341:b0:4fb:3292:bc82 with SMTP id k1-20020a056a00134100b004fb3292bc82mr989873pfu.45.1649120998257; Mon, 04 Apr 2022 18:09:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649120998; cv=none; d=google.com; s=arc-20160816; b=KaUJvjnRx0Y5e+zY0/sNoRd3/QYU/gx7BYodL66sOKxLska9qN1Syh+/fb/nE2riov OdRhzmNgjlQ5UC0q/ew+5gpq4JkVYlo2hEUm8LCpOSn2sZYmDSbT/wjv85+Nxs7YNaiv tZfTwPjMZeOJgehNs4OIcgM3sUvNSa3jvjjOLcudxZ1H3IpNGqdX0x2bFKZwXBAWUwDo l923PbCPz3fqB899iYjdLFi47JHrVksEIlZwkdpKaGSwcOQuoD7R8C5DFktc6CAi3oxP JIWJsUDSdDw8QU4hGyIKo2UYtgBTg1A0NrIKgqk5LMbpemaCgAPEdfz7Ww6MFtzh5eeb lccw== 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=wKZJGtGgAkr14SlSkx42047+K1FvfMSoIAkdgAKKm3Y=; b=zR+GpaYo7ZeZbldVBvJzSf33npwbkXdJkD4dtP40kFzqvI9/FcAzf7cc/vJ/DJ73Gf Xj8q32vHeTYtjjGmuqvMXRwXOF9vIreGCqKzpBG4IYc60MFU4EY4aOr4e0Hlpdgn3lDd qh8kU+w9gG3qlZ0v0Yj3ebQyqAz2GOsTtXIWlTPU0xIHwYEOJdNbicrx7PLJvfEHwyQR dznStOpRaYr7H7Shdc+Fq9l2AVm3mb6tGle8Z0o/5+8N3bEKdvvVYzeNdcQ5tClgWbth bUpJfD62WcW5MLIuNLAgIog13PhK1SHOHrp2SbojDc7ogsjrDHXreucyBByVP0AXbAIV spSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=pZBoYRuZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j5-20020a170903024500b00155f2da2cccsi12632895plh.54.2022.04.04.18.09.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 18:09:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=pZBoYRuZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0FFB2169799; Mon, 4 Apr 2022 17:09:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352918AbiDAWAw (ORCPT + 99 others); Fri, 1 Apr 2022 18:00:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236765AbiDAWAu (ORCPT ); Fri, 1 Apr 2022 18:00:50 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F4A41C1EF2; Fri, 1 Apr 2022 14:58:58 -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 8221A22175; Fri, 1 Apr 2022 23:58:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1648850337; 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; bh=wKZJGtGgAkr14SlSkx42047+K1FvfMSoIAkdgAKKm3Y=; b=pZBoYRuZy785zUJD8ax4ptSx/TdH0UQImquUFJ73NCr5IaNX64fdw9kE9uN7ExFpfo1TlQ Ejq+4mcGGEREx/4d2b3OvqjOmJUU67/lixG7vfnMAhdBVay5OYjHCq0qp5CnzSmAFOx/Na gwjdK6nWZGz9W+28QLdR0SwfdODiWLc= 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 v2 0/3] net: phy: mscc-miim: add MDIO bus frequency support Date: Fri, 1 Apr 2022 23:58:31 +0200 Message-Id: <20220401215834.3757692-1-michael@walle.cc> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Introduce MDIO bus frequency support. This way the board can have a faster (or maybe slower) bus frequency than the hardware default. changes since v1: - fail probe if clock-frequency is set, but not clock is given - rename clk_freq to bus_freq - add maxItems to interrupts property - put compatible and reg first in the example Michael Walle (3): dt-bindings: net: convert mscc-miim to YAML format dt-bindings: net: mscc-miim: add clock and clock-frequency net: phy: mscc-miim: add support to set MDIO bus frequency .../devicetree/bindings/net/mscc,miim.yaml | 61 +++++++++++++++++++ .../devicetree/bindings/net/mscc-miim.txt | 26 -------- drivers/net/mdio/mdio-mscc-miim.c | 58 +++++++++++++++++- 3 files changed, 117 insertions(+), 28 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/mscc,miim.yaml delete mode 100644 Documentation/devicetree/bindings/net/mscc-miim.txt -- 2.30.2