From patchwork Tue Apr 5 12:09:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 12801590 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27869C4332F for ; Tue, 5 Apr 2022 14:24:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240011AbiDEOWz (ORCPT ); Tue, 5 Apr 2022 10:22:55 -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 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@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 Reviewed-by: Andrew Lunn