From patchwork Tue Mar 23 16:46:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wong Vee Khee X-Patchwork-Id: 407393 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, 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 8EC19C433E0 for ; Tue, 23 Mar 2021 16:43:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 65D98619C7 for ; Tue, 23 Mar 2021 16:43:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233375AbhCWQm5 (ORCPT ); Tue, 23 Mar 2021 12:42:57 -0400 Received: from mga12.intel.com ([192.55.52.136]:4837 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233062AbhCWQma (ORCPT ); Tue, 23 Mar 2021 12:42:30 -0400 IronPort-SDR: 6OIzuYq0mtzTUCYhD0ijkZoKapCKySfn/cY2n0eg8/+uYr5p6MtcCi2dbEsvGNNorTv/fVDodn p/a7+FMd0tUg== X-IronPort-AV: E=McAfee;i="6000,8403,9932"; a="169849057" X-IronPort-AV: E=Sophos;i="5.81,272,1610438400"; d="scan'208";a="169849057" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2021 09:42:29 -0700 IronPort-SDR: SIqztD57fqzEqbYXR3xABWOT5+LJEqclamlJMDjNI4nl8Eul+Ezx0U7j+XtEPQRS4Oh1uLtn4o 7W+uyeizxabg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,272,1610438400"; d="scan'208";a="441779995" Received: from linux.intel.com ([10.54.29.200]) by fmsmga002.fm.intel.com with ESMTP; 23 Mar 2021 09:42:29 -0700 Received: from glass.png.intel.com (glass.png.intel.com [10.158.65.59]) by linux.intel.com (Postfix) with ESMTP id EABEE58069F; Tue, 23 Mar 2021 09:42:26 -0700 (PDT) From: Wong Vee Khee To: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Voon Weifeng , Ong Boon Leong Subject: [PATCH net-next 0/2] Add support for Clause-45 PHY Loopback Date: Wed, 24 Mar 2021 00:46:39 +0800 Message-Id: <20210323164641.26059-1-vee.khee.wong@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch series add support for Clause-45 PHY loopback. It involves adding a generic API in the PHY framework, which can be accessed by all C45 PHY drivers using the .set_loopback callback. Also, enable PHY loopback for the Marvell 88x3310/88x2110 driver. Wong Vee Khee (2): net: phy: add genphy_c45_loopback net: phy: marvell10g: Add PHY loopback support drivers/net/phy/marvell10g.c | 2 ++ drivers/net/phy/phy-c45.c | 8 ++++++++ include/linux/phy.h | 1 + 3 files changed, 11 insertions(+) Reviewed-by: Andrew Lunn