From patchwork Fri Mar 19 13:29:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjarni Jonasson X-Patchwork-Id: 405281 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.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, 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 8D19CC433DB for ; Fri, 19 Mar 2021 13:30:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 52ECF64F4D for ; Fri, 19 Mar 2021 13:30:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230047AbhCSN3j (ORCPT ); Fri, 19 Mar 2021 09:29:39 -0400 Received: from esa.microchip.iphmx.com ([68.232.154.123]:29461 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229952AbhCSN3X (ORCPT ); Fri, 19 Mar 2021 09:29:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1616160563; x=1647696563; h=from:to:cc:subject:date:message-id:mime-version; bh=+zHv1gzwLorPkoDPPvt3dNEZsfjgJVs7BawU9Py445g=; b=ZigNP/Gi2WdnEXYas0KeMsRV1dlV9mDWqmx8v/7tZf/2RjEPF2PJCD2z udTJHFXD+VhkfAFRj4f2KNZ+uMpvp7L05Zuah4Vbnat5LQGhaoKHh8euv 4RWfIWlTukMBbcvk05LkJC+ARd7dyzfGdUEGVgJmQq8qyxjE3avY5dAFj mbgRUSI1iNmVJGRJcL9pPdmio0xFQnInE4eVXTWGR0PmiAAfK7pl0lATC ppvHgLE/vuRCJAsBKRwKeE0qLXc3dPVp5mxoEhvrUIaOPmZFwvuA3bXoM 8wLmmeT0MtTpk8ES49tQIBZ6QS3HMiL1vJ9W/TbVT0KHC/CZB0SQoOm7L w==; IronPort-SDR: 0Q+AeAthdPW4RYlD2gAKQK2273rLWFkZfuBwyN2tGPff5KAFfJb29VslTcSExX2ZR5Qe6WAFzS b8sDIKRWpVjoyplI03tCRUTnJwR3PdNAmebnXIw054wrHqOn/oSeq/tkVprujts5pk21QJ7FOt urZgyHz6cH6z5nPB0Ml4a3iuZ6jzFEMK1fPo3RTqLaeuuka/LIhmi0x27mN10jS7jdbwtxCXG8 EXYoOb1JIDsehy+l6j7iCMrVlXrXMDwUcEnu0nXWNVMaRsVuCqsTtQ2z2dXCBJdVrWxVNI/xSg 5qA= X-IronPort-AV: E=Sophos;i="5.81,261,1610434800"; d="scan'208";a="110624518" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 19 Mar 2021 06:29:23 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 19 Mar 2021 06:29:16 -0700 Received: from soft-dev2.microsemi.net (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Fri, 19 Mar 2021 06:29:13 -0700 From: Bjarni Jonasson To: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Jakub Kicinski , Antoine Tenart , Florian Fainelli , "Vladimir Oltean" , Ioana Ciornei , Michael Walle CC: Bjarni Jonasson , , , UNGLinuxDriver Subject: [PATCH net-next v2 0/3] Fixes applied to VCS8584 family Date: Fri, 19 Mar 2021 14:29:02 +0100 Message-ID: <20210319132905.9846-1-bjarni.jonasson@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Three different fixes applied to VSC8584 family: 1. LCPLL reset 2. Serdes calibration 3. Coma mode disabled The same fixes has already been applied to VSC8514 and most of the functionality can be reused for the VSC8584. v1 -> v2: Preserved reversed christmas tree Bjarni Jonasson (3): net: phy: mscc: Applying LCPLL reset to VSC8584 net: phy: mscc: improved serdes calibration applied to VSC8584 net: phy: mscc: coma mode disabled for VSC8584 drivers/net/phy/mscc/mscc_main.c | 217 +++++++++++++++++++++++-------- 1 file changed, 161 insertions(+), 56 deletions(-)