Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1002590pxb; Wed, 6 Apr 2022 06:28:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsAiWTTDNAiFhw97NL/Xvvwhhtz4hqH0t2ROY5KRO8cs2IJXgnDPZwEPyl54oDkLf/IXu8 X-Received: by 2002:a05:6a00:1da2:b0:4fa:f803:ddd1 with SMTP id z34-20020a056a001da200b004faf803ddd1mr8733082pfw.53.1649251719302; Wed, 06 Apr 2022 06:28:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649251719; cv=none; d=google.com; s=arc-20160816; b=LUdNeU/Ng3u3kzP0ZtA4pCyFFkObmNcGn8gFnpHzI1u5tKixzVNt7CDfdpTsOy4GmO g19tOIneE9s0QVZWIeqoydaXHvNH+a5inpr1WVx5SUoirgMDGao1AFtmVdfwAghLWYvB A3Uu5p+PFEH6B6GYlXQSR+kYfIAmikGSKw0D7Mz3mKFL8PNIhQYBtNNBvFsZUsPBOwzM dPCObWOGxLRvx+/8EAMp5OTkuPNFkfMge3GwLOHE53xTXV1ZUZW3vroucIpd3IUkEXvM 4aiyCpxjE+LxBdJt188dTvZPgQXVApiuJgf277gnTBIi9+rGN1vfTYDkxtrMnKP6avER UTqg== 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=N3QegVmrV1duTmro584pVd3S+Weu0aeOJNo5pVDKL/g=; b=VxSZfbG8upWckt66bbZ4hk1iW4Ys8Iv0xdO3PiTpADh90Cw8+Dc8JqcmSOLKdZD1v2 HBxXNRssSsZ2pEald1zhbsr+yF7sbmxrPh1NRCnfg/4K98ftSzSSmvHcakAQlmd1fhor 11LJP83x1okcr0AVlcH3B5nSsxrCDnf04k3k6R2ijZMn4eHwNowiE30qYjCYnXXmzv1m ddtjTDPWX3q3g+UQzO7CUtB9ffrkMb2cswaeGpkbQm9nGq+/AT8samFkmnQnF2NiF+UG O7ROE3FzzYDseR/j7Y7YrDnK/RXPnWULfYnD/oKNxM4PmT8LCZZW+l7Xv9S7WFHQdioo VFPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=b6AzGRPw; 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 k4-20020a170902ba8400b0015413c5608fsi14922640pls.519.2022.04.06.06.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:28:39 -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=b6AzGRPw; 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A064952D925; Wed, 6 Apr 2022 04:06:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1392474AbiDEUHB (ORCPT + 99 others); Tue, 5 Apr 2022 16:07:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354632AbiDENH2 (ORCPT ); Tue, 5 Apr 2022 09:07:28 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C4A4222B2; Tue, 5 Apr 2022 05:09:57 -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 8DC8022247; Tue, 5 Apr 2022 14:09:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1649160595; 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=N3QegVmrV1duTmro584pVd3S+Weu0aeOJNo5pVDKL/g=; b=b6AzGRPwXUkUocumc/PNKiR8cbZZ5gdSpF5XNLOzJ6dkBWvgO3nBiip2cWD9JVhff1tyah IvofnNScb4uzbrOmQE+9ZJfHSmkyEdgTKMrT4GmcpyqfbN8REAWC5qR4g/cdXc/++hn1Wq 34bMgfY+8B7cuY0DoEk0GBnuP6bkIAg= 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 net-next v3 0/3] net: phy: mscc-miim: add MDIO bus frequency support Date: Tue, 5 Apr 2022 14:09:48 +0200 Message-Id: <20220405120951.4044875-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 v2: - resend, no RFC anymore, because net-next is open again 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