From patchwork Mon Jun 21 17:30:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 12335319 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA687C4743C for ; Mon, 21 Jun 2021 17:31:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AFA406109E for ; Mon, 21 Jun 2021 17:31:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231466AbhFURd2 (ORCPT ); Mon, 21 Jun 2021 13:33:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231182AbhFURd1 (ORCPT ); Mon, 21 Jun 2021 13:33:27 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C92DAC061760 for ; Mon, 21 Jun 2021 10:31:12 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id j2so31525008lfg.9 for ; Mon, 21 Jun 2021 10:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zj3vnqr9bU4v5JK2hmhbbYu29x7zXchPcIMa64GKEwA=; b=D9cJWnrXheK4OGnigfeIGBvVi303PUAb/1OB8+tIUd9Y9IkblBvYWwNW4Tvj6/rW8a msn2NA0jnbcGjbT5gURom8lx9YfpN1KFg9fXdhWGvt2OHMGpyo3KDIx7C7rVt0KMtmR+ m3oNDW83Xe4f9Y7tEMipsRSXWOU53YchSOBg6wLx95LU472P0qh1FkqwBTy99hM1xjt6 3AQb2nqDv4qYzzWeTgwKk1T4lpyibhWKmRGRKacV5duEmeG51IZw+RgujiNwIwKb8BH1 hIJTdhmC5Hb2b1KqO+7HkzGYC5g/lZWYoL0DKRNs0SXlamQvqIoFKWDb7VsY4MfPv5vl RPjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Zj3vnqr9bU4v5JK2hmhbbYu29x7zXchPcIMa64GKEwA=; b=ifli3WSszaKqmGISPv80JTEH/xKGFGzsu3ysUjEmbY0ZxUOciBglXtz3iZAgLEhMQ3 cOYqaahftz6gcPSZPpoQa4mAdLd97VIoRXJ9+kBD06YOEiepjPafq9u0Gekds/74HEgd 68FBswLVw/EEaAEcCQPlKKGBNGq4HBE/9FUAKFlgIs0yBhHMmrNnAU5UiJE1gtVp0nkL +3Aea+Yh/HW3PD47StTpGN5P8a6zcn3nDJsqR3x9Q9jk7Te4P6FFQxnIQx+ihwhcmG6T YUyAgYMVq/4lYULbymUudKglnVEZmrbAwHchTooGX9Pi2LhmIhmW516F2Ud8TYbJGyG7 GQfQ== X-Gm-Message-State: AOAM5336lhA5HXo95fO/61i6PSKa1CXmGGTIpBTEeSAMiwAvxmsrsJbc oNoS5MZgNbsqQP2bVNu0WL26ig== X-Google-Smtp-Source: ABdhPJwxtsWwdPErFzAjuD+MmnYa/R6o/UjaJk2ScFQAPtJiENIo4chvrSFW0eFRJyU3VzmNwm/gHg== X-Received: by 2002:ac2:4d8e:: with SMTP id g14mr14901363lfe.502.1624296670863; Mon, 21 Jun 2021 10:31:10 -0700 (PDT) Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id u11sm1926380lfs.257.2021.06.21.10.31.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Jun 2021 10:31:10 -0700 (PDT) From: Marcin Wojtas To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org, linux@armlinux.org.uk, jaz@semihalf.com, gjb@semihalf.com, upstream@semihalf.com, Samer.El-Haj-Mahmoud@arm.com, jon@solid-run.com, tn@semihalf.com, rjw@rjwysocki.net, lenb@kernel.org, Marcin Wojtas Subject: [net-next: PATCH v3 0/6] ACPI MDIO support for Marvell controllers Date: Mon, 21 Jun 2021 19:30:22 +0200 Message-Id: <20210621173028.3541424-1-mw@semihalf.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Hi, The third version of the patchset main change is dropping a clock handling optimisation patch for mvmdio driver. Other than that it sets explicit dependency on FWNODE_MDIO for CONFIG_FSL_XGMAC_MDIO and applies minor cosmetic improvements (please see the 'Changelog' below). The firmware ACPI description is exposed in the public github branch: https://github.com/semihalf-wojtas-marcin/edk2-platforms/commits/acpi-mdio-r20210613 There is also MacchiatoBin firmware binary available for testing: https://drive.google.com/file/d/1eigP_aeM4wYQpEaLAlQzs3IN_w1-kQr0 I'm looking forward to the comments or remarks. Best regards, Marcin Changelog: v2->v3 * Rebase on top of net-next/master. * Drop "net: mvmdio: simplify clock handling" patch. * 1/6 - fix code block comments. * 2/6 - unchanged * 3/6 - add "depends on FWNODE_MDIO" for CONFIG_FSL_XGMAC_MDIO * 4/6 - drop mention about the clocks from the commit message. * 5/6 - unchanged * 6/6 - add Andrew's RB. v1->v2 * 1/7 - new patch * 2/7 - new patch * 3/7 - new patch * 4/7 - new patch * 5/7 - remove unnecessary `if (has_acpi_companion())` and rebase onto the new clock handling * 6/7 - remove deprecated comment * 7/7 - no changes Marcin Wojtas (6): Documentation: ACPI: DSD: describe additional MAC configuration net: mdiobus: Introduce fwnode_mdbiobus_register() net/fsl: switch to fwnode_mdiobus_register net: mvmdio: add ACPI support net: mvpp2: enable using phylink with ACPI net: mvpp2: remove unused 'has_phy' field drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 3 - include/linux/fwnode_mdio.h | 12 ++++ drivers/net/ethernet/freescale/xgmac_mdio.c | 11 +--- drivers/net/ethernet/marvell/mvmdio.c | 14 ++++- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 23 ++++++-- drivers/net/mdio/fwnode_mdio.c | 22 ++++++++ Documentation/firmware-guide/acpi/dsd/phy.rst | 59 ++++++++++++++++++++ drivers/net/ethernet/freescale/Kconfig | 4 +- 8 files changed, 125 insertions(+), 23 deletions(-)