Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp265914img; Wed, 27 Mar 2019 22:34:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVPUoEIY2zqTzwzhfZBg0giLbk81JZOvMFmITYSkbnmRy7DjBO9iRW5xZ7zIhSz2R9sQYN X-Received: by 2002:a63:69c2:: with SMTP id e185mr37772289pgc.4.1553751287806; Wed, 27 Mar 2019 22:34:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553751287; cv=none; d=google.com; s=arc-20160816; b=pdGUM5A119yY0BAI9oWHgp21Xul5xZEhp2Yjl57fshboChFIedS4sHO/7+A4Pd+PPV New4hg7ycrEALbReq+r4/fcZYBvF6OoGFp+++Jpt++yJiI93jvMUUecSvDopubBaW4fm t5jzu88CyY+s3qoZscr+/f/omFm+sPomD+PKZOIj8sLXUCPXx7+AqtE7cWHx1H0UzrYB tyTW7ULJVgO5Cpbx2god3XaECCST4UFckbkUqPZ8C5FOGzgUrGBVRnbk4RlgbRgQJNcw A8thCDn3yqqTSps+IyMO89jNCmXKyA4q4Zlnbvnrhn4m76EDoe/b6PanN5xBTCcxmG5/ NMQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=NPKjd4QLfXT78XVRdVRXDDENgVG1S+laUVKhnsAvSOM=; b=fFA1XKilOI7AIwv97SnqlkebBijKTp8QtCUJPIfFOH7IomB95p1tQFEJXb6Qwz5dQ2 tR7In+yWXdgAwvPdSKhvkGefFcgicypLGD3ALhIycysJpyd7A0CthmVN78SEXiMmuB5w w+K0hs4JjiYb1lsOG4Vp+rDoMYYpiiEFsunJXGEnfn1REP97UlaZ/l+pS+gd74f1InEy 4KJ8d0Oif44aAxZMV8KN42bQI8p+fdjIulEEhGaXo53zcl/8mCSQtAvRXRP+ICLLv29n 90UaKKZmwZS9a7Ae72wflFWfg/Sx4YDDAmaedYjV8kNjUOPeWoZJlA6bPMuZV2xvmq3d 8Dzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=oreXGS08; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1si19770087pgv.580.2019.03.27.22.34.31; Wed, 27 Mar 2019 22:34:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=oreXGS08; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726082AbfC1Fdz (ORCPT + 99 others); Thu, 28 Mar 2019 01:33:55 -0400 Received: from esa4.microchip.iphmx.com ([68.232.154.123]:38321 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbfC1Fdy (ORCPT ); Thu, 28 Mar 2019 01:33:54 -0400 X-IronPort-AV: E=Sophos;i="5.60,278,1549954800"; d="scan'208";a="28750353" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES128-SHA; 27 Mar 2019 22:33:41 -0700 Received: from NAM05-CO1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.37) with Microsoft SMTP Server (TLS) id 14.3.352.0; Wed, 27 Mar 2019 22:33:41 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NPKjd4QLfXT78XVRdVRXDDENgVG1S+laUVKhnsAvSOM=; b=oreXGS08eiG7Cjdh5nGQfnq5vMxoMQOWNQibatowZNnqq0sAMgQyMC7xdb8axKy1IGAttTrGIFUbO87Bb6+mBHRRmpHPkGlfTe0B/Z/OqI0AI4aFXEViPaF6PuTfb+YefabUxOQxiVdoxfnFMaoELFbyRHaVKi6+Dhf4DUNPwho= Received: from BY5PR11MB4119.namprd11.prod.outlook.com (10.255.162.219) by BY5PR11MB4022.namprd11.prod.outlook.com (10.255.161.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.16; Thu, 28 Mar 2019 05:33:37 +0000 Received: from BY5PR11MB4119.namprd11.prod.outlook.com ([fe80::4454:7962:5f5a:72e9]) by BY5PR11MB4119.namprd11.prod.outlook.com ([fe80::4454:7962:5f5a:72e9%2]) with mapi id 15.20.1730.019; Thu, 28 Mar 2019 05:33:36 +0000 From: To: , , , CC: , , Subject: [PATCH v2 0/2] net: phy: mscc: Improvements to VSC8514 PHY driver Thread-Topic: [PATCH v2 0/2] net: phy: mscc: Improvements to VSC8514 PHY driver Thread-Index: AQHU5SfKXdzKSU1S7kq9Ntd7v77abw== Date: Thu, 28 Mar 2019 05:33:36 +0000 Message-ID: <20190328053251.9711-1-kavyasree.kotagiri@microchip.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR05CA0105.namprd05.prod.outlook.com (2603:10b6:a03:e0::46) To BY5PR11MB4119.namprd11.prod.outlook.com (2603:10b6:a03:18f::27) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kavyasree.Kotagiri@microchip.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [182.72.246.220] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d8f5ae23-3538-4c37-6d98-08d6b33eeccc x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:BY5PR11MB4022; x-ms-traffictypediagnostic: BY5PR11MB4022: x-microsoft-antispam-prvs: x-forefront-prvs: 0990C54589 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(366004)(376002)(396003)(136003)(189003)(199004)(43544003)(25786009)(316002)(1076003)(6436002)(52116002)(102836004)(6486002)(97736004)(36756003)(186003)(99286004)(3846002)(54906003)(110136005)(476003)(6116002)(2616005)(5660300002)(4326008)(486006)(106356001)(105586002)(72206003)(8936002)(256004)(2501003)(478600001)(53936002)(14444005)(55236004)(71190400001)(71200400001)(78486014)(50226002)(14454004)(26005)(2906002)(386003)(8676002)(81166006)(7736002)(66066001)(2201001)(81156014)(68736007)(6512007)(86362001)(107886003)(6506007)(305945005);DIR:OUT;SFP:1101;SCL:1;SRVR:BY5PR11MB4022;H:BY5PR11MB4119.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: PzRvuEfJJdJv45wR0gz0hTXLWgh2WvsQp1YIranTWOuiQ6Gi4UBHAUpjRN7GV2DQ6f82vGuzroQs+aF9gRIcSwzK3L13Rl58nbTSBKaG7gf+wQFh/BgJiEDQ+WtghmVWkV1bb7LVnhwA/ouOU1w1o6ESss+ARShn2yDkfw9bct+VSrCb069hsq+hZkbJoJ7jiw60SfPZszYEaJKhNLR05hlE7XKVAMfZ+bRAcVpH9XjZDkwxHXoijEpyNTJB5nW7iqmD0NioEEVrEnIEmtZxzHfV3STPwsVuIpHBuzgR9pfjxdqQPScdx1DP7BVOj0aa4GdjMSRYmZUgM37PBFErcgRm1mnRZLRc8kqVi4tjsgbM38APq7udq6oH+KhqUik0MG7Vvccm3PeWN3xV4UZGRthpktO+1WQ+wZSxEyVJ3h0= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: d8f5ae23-3538-4c37-6d98-08d6b33eeccc X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Mar 2019 05:33:36.7932 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4022 X-OriginatorOrg: microchip.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The VSC8514 PHY is a 4-ports PHY that is 10/100/1000BASE-T, 100BASE-FX, 1000BASE-X, can communicate with the MAC via QSGMII. The MAC interface protocol for each port within QSGMII can be either 1000BASE-X or SGMII, if the QSGMII MAC that the VSC8514 is connecting to supports this functionality. VSC8514 also supports SGMII MAC-side autonegotiation on each individual port, downshifting, can set the blinking pattern of each of its 4 LEDs, SyncE, 1000BASE-T Ring Resiliency as well as HP Auto-MDIX detection. This patch series adds support for 10BASE-T, 100BASE-TX, and 1000BASE-T= , QSGMII link with the MAC, downshifting, HP Auto-MDIX detection and blinking pattern for its 4 LEDs. The GPIO register bank is a set of registers that are common to all PHY= s in the package. So any modification in any register of this bank affect= s all PHYs of the package. If the PHYs haven't been reset before booting the Linux kernel and were configured to use interrupts for e.g. link status updates, it is required to clear the interrupts mask register of all PHYs before being able to use interrupts with any PHY. The first PHY of the package that will be init will take care of clearing all PHYs interrupts mask registers. Thus, we need to keep track of the init sequence in the package, if it's already been done or if it's to be done. Most of the init sequence of a PHY of the package is common to all PHYs in the package, thus we use the SMI broadcast feature which enables us to propagate a write in one register of one PHY to all PHYs in the same package. This patch series adds support for VSC8514 in Microsemi driver(mscc.c) and removes support from Vitesse driver(vitesse.c). v2=20 - mscc: Sorted varible declarations in reverse christmas tree order. v1 - Added 0/2 file. Kavya Sree (2): net: phy: mscc: add support for VSC8514 PHY net: phy: vitesse: Remove support for VSC8514 drivers/net/phy/Kconfig | 2 +- drivers/net/phy/mscc.c | 381 ++++++++++++++++++++++++++++++++++++++ drivers/net/phy/vitesse.c | 12 -- 3 files changed, 382 insertions(+), 13 deletions(-) --=20 2.17.1