From patchwork Fri Dec 11 12:44:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavana Sharma X-Patchwork-Id: 11968097 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=-13.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,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 8A453C4361B for ; Fri, 11 Dec 2020 12:47:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4155F23F2A for ; Fri, 11 Dec 2020 12:47:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392956AbgLKMrL (ORCPT ); Fri, 11 Dec 2020 07:47:11 -0500 Received: from outbound-ip24b.ess.barracuda.com ([209.222.82.221]:60240 "EHLO outbound-ip24b.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436638AbgLKMqZ (ORCPT ); Fri, 11 Dec 2020 07:46:25 -0500 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02lp2059.outbound.protection.outlook.com [104.47.38.59]) by mx6.us-east-2b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 11 Dec 2020 12:45:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fs1TpwVSeaLpGab+XO+EtjRAqy2lk0ycwo5WPHqapWu85SuVkJ7DCHoR9K1CptIM0TjzOaEq8coXcXXf76m57hpHuHG15Q6lA3lgMEajtNEYg0pHBhlPTxvP6+0FshuarsKTf2Zv6Cg3gPM3mN4gnL06o/MX4FxsPmIy8ks/OKbRe0a4DwTuQfvtzOzgZtrdQruEcgVRY+F0YVGlBqHnXWIplGWK+bzZ1mBusN/3+vMYGF3iYthotUOr9pDoq0tzglCmfLW6lqQSMgML4SpKWqcqaR6PP4v7lIjc2iQODhLnl8bcofAmfQf2LRZG05Cv8CJ1ldLXg976IV2IQxjdSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2VYc8RI1s8NXb6rHexLS6lq5tfKCHIrIhh6hpGekGhU=; b=dTdYded6uWsr2bqoS888lyFz1GuBE0XRrvDS5llVX0ijejdfn+7wxHevTANPsmG4nBzL4lafIXBe+Fb4sTZyo918TCxXhLs4txYvKhLf53CxG6AfwMDWUIwePcRbKlga5FeQmatd96K4wfGT7UBVacO+1fT+XEGhKZ8uQsRxPVzmlpMplaREgRCxPLhsJcbnunT/v/Q1DFSXtf5lc8xVdp9PZb2I/9+2IH4THO7nbIAG3nypsrX0Vp1Slz+Q+HXpE0BLV/ZVKhJnDIzDp/pOa9RT2MRUSI2FKWQ7RFhPpn3KI4IlQ1zuChYd+WV8E7mqcM9WyusAbZOijSYdtkDzIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=digi.com; dmarc=pass action=none header.from=digi.com; dkim=pass header.d=digi.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digi.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2VYc8RI1s8NXb6rHexLS6lq5tfKCHIrIhh6hpGekGhU=; b=hT8CA+upOPTvraiHpu0ZYXF5FDnfqdXpSPH3dulBG7lzFBxIbLMmo/cJXsc9RFlNtZvfWyfWEsyYoYtcCYlF1WGLZGrDfnttMuOtxbxYHQP5JjIdlUd4BvbsUDIoNecTffebhXmx4CWD6EGsO9VZ3dYi/GzTWBPKOv3wUCc7JNU= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=digi.com; Received: from MN2PR10MB4174.namprd10.prod.outlook.com (2603:10b6:208:1dd::21) by MN2PR10MB4384.namprd10.prod.outlook.com (2603:10b6:208:198::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Fri, 11 Dec 2020 12:45:02 +0000 Received: from MN2PR10MB4174.namprd10.prod.outlook.com ([fe80::c8b6:2021:35a0:2365]) by MN2PR10MB4174.namprd10.prod.outlook.com ([fe80::c8b6:2021:35a0:2365%9]) with mapi id 15.20.3654.019; Fri, 11 Dec 2020 12:45:01 +0000 From: Pavana Sharma To: kuba@kernel.org Cc: andrew@lunn.ch, ashkan.boldaji@digi.com, clang-built-linux@googlegroups.com, davem@davemloft.net, devicetree@vger.kernel.org, f.fainelli@gmail.com, gregkh@linuxfoundation.org, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, lkp@intel.com, marek.behun@nic.cz, netdev@vger.kernel.org, pavana.sharma@digi.com, robh+dt@kernel.org, vivien.didelot@gmail.com Subject: [net-next PATCH v12 0/4] Add support for mv88e6393x family of Marvell Date: Fri, 11 Dec 2020 22:44:36 +1000 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201209113727.1b4bd319@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> References: <20201209113727.1b4bd319@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> X-Originating-IP: [220.244.12.163] X-ClientProxiedBy: SY6PR01CA0016.ausprd01.prod.outlook.com (2603:10c6:10:e8::21) To MN2PR10MB4174.namprd10.prod.outlook.com (2603:10b6:208:1dd::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (220.244.12.163) by SY6PR01CA0016.ausprd01.prod.outlook.com (2603:10c6:10:e8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Fri, 11 Dec 2020 12:44:56 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 58d6b36d-8af8-4611-01f6-08d89dd29386 X-MS-TrafficTypeDiagnostic: MN2PR10MB4384: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SLptp7FDPnwRigwRRzM5rmQTj4rk1LKI5vMWY72PhrFlebZ0qO0bEvfLzQ/GjtcRkvKPhfOlyAkLqwY+kIBFfultN4OqLJQB2njRPyM6/DJIE5KATkrn8nUyHqbFeUriNwxIeg+ftxrYXpC+tyJ3Gf828KEZg4O44OPQ8V1bp7YMhbVCBCJYz4REBgmDf7Ve4y4MMUFS3AoTOkOntd+1gkOHuQhrnfmHc5I1S5rOmXobzACZp8HovBWZcrDhzZPTB3t5V8LH2e9byk8CPu+PoUGa0TTALKpJ3CVsRjUV0Ej4Mo+7SjwMPtbxv7mX4f1jtBMT9KR/O94GJ5eqFEs+pNG5A/ku+khQdLXAu9D9OsmYmdOmOnD2/GZSlDxkfasU3OQfAOre3EfGy9A9Uej2J0wc/G/BI1G1VFeN/11dERk= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR10MB4174.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(136003)(376002)(366004)(5660300002)(69590400008)(86362001)(508600001)(83380400001)(66556008)(4326008)(7416002)(8676002)(36756003)(956004)(26005)(52116002)(6916009)(16526019)(6486002)(186003)(6512007)(6506007)(44832011)(66476007)(8936002)(2616005)(4744005)(34490700003)(2906002)(6666004)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: nUsOB0XLMV2+vgn2LD20fOYpjU+yRUNmx2VE1YrQs+WuwFBkHbAiF5eWbtGtbonoGrCVRkmH8/qIPBNN98DCwg2dPPcPc1FlCs7ne/tbrzOzn/MKRCbdkyP5p6MAd7ZdsxwOEIHCE1f/4wKh+xROav4MOa8JEK9Eli1NJyvKXnxp+W0R00ik3GYd6+dVtsFfdaiSULs0jCi14oQuN8fcbGjHq5c9exel26o7a1pKjt+xfHznzdrqto9C1FOV6bp1Vhe2/MQ1pUMAkjRzo83I7xMT91sKn0Ozexa4qHc17k2iCYDoBJYjPWsOE66RwynYXB62OtnyWmK+XgQS9mkK3IZBLaHfMkMdF5DNroVEdMk73rr9mILbejm0f0wcaCE6Du1h6K3inN1WqlsCTf5YGH0yniDK5dAO6PkLI3Zo65tmZ7lnK9PbvzRPkm4kOSY5xjERn+YPqDEHfnVsf5uMMWDfCxLDjjN485TdtRvEYa4vTLO/DwcUv56yq4sHNMQx8A7y1DlH7lkniNrWi1MAv5nIuI47TGa3CJ5efZCH1m/YGX6btNJKfxIME5apkyxInwRCmNk5SNdF/2upfFoxeS0wKl7k7TYZu9O88IAWFDHtbl43T3xMCaoLaONxIoY6okCfZfQvfLb+oRKN0kYEbKkKoi7NREYTeiJNbRMK2Y1p90J+Rm/bL9bVDowxZA0ewVa4mDQWo17+f95aGYHPBZgRvOQ5DbjY0XXXQ75rah22g/bF+iJyn3grZfccJOuXkzmQFhxJnbkToXVY/Ce/inEyngkuC7HoWZFRAGEolw+Chee2OunbnvqLg4AUf2LKB3hSJb+i00bwJ0wf0iVB286BU85vC4rBB5bGSAWdDKxfHAfg2slT7+jp+VtRaOq/Fx0sMGT+f9ci9O0+NXRVqnBKSttS6NmQ9F6zTuQjt7K5+qkIbaKeapiOIrNZwpYjlh+Q8Pt+GMm/Ks8QuZDoShXwnyt158np5EnJcRtYFqBGTBLHX2aZls4auIPTRYMv X-OriginatorOrg: digi.com X-MS-Exchange-CrossTenant-AuthSource: MN2PR10MB4174.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2020 12:45:01.3883 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: abb4cdb7-1b7e-483e-a143-7ebfd1184b9e X-MS-Exchange-CrossTenant-Network-Message-Id: 58d6b36d-8af8-4611-01f6-08d89dd29386 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Iwbx9OdY0j1mhx6fLK0nrT7X0vT2eItuChQICD0gwxTTGzRlas+YH5mr+KMh1DjTRiUx9rpOqi7MznujiHSMoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB4384 X-BESS-ID: 1607690704-893011-7238-10841-1 X-BESS-VER: 2019.1_20201210.2155 X-BESS-Apparent-Source-IP: 104.47.38.59 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.228760 [from cloudscan14-79.us-east-2a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.00 MSGID_FROM_MTA_HEADER META: Message-Id was added by a relay X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS112744 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, MSGID_FROM_MTA_HEADER X-BESS-BRTS-Status: 1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Updated patchset after rebasing and incorporating feedback. Pavana Sharma (4): dt-bindings: net: Add 5GBASER phy interface mode net: phy: Add 5GBASER interface mode net: dsa: mv88e6xxx: Change serdes lane parameter type from u8 type to int net: dsa: mv88e6xxx: Add support for mv88e6393x family of Marvell .../bindings/net/ethernet-controller.yaml | 1 + drivers/net/dsa/mv88e6xxx/chip.c | 164 +++++++++- drivers/net/dsa/mv88e6xxx/chip.h | 20 +- drivers/net/dsa/mv88e6xxx/global1.h | 2 + drivers/net/dsa/mv88e6xxx/global2.h | 8 + drivers/net/dsa/mv88e6xxx/port.c | 238 +++++++++++++- drivers/net/dsa/mv88e6xxx/port.h | 43 ++- drivers/net/dsa/mv88e6xxx/serdes.c | 309 +++++++++++++++--- drivers/net/dsa/mv88e6xxx/serdes.h | 103 ++++-- include/linux/phy.h | 4 + 10 files changed, 791 insertions(+), 101 deletions(-)