Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3093290pxx; Sun, 1 Nov 2020 22:45:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxeaSFzEEl6Rew/VbnPgXyjD3vz8RTh/dfs1SN44JG42zG9n8Erx4srgfV7Oc468QDsvYM9 X-Received: by 2002:a17:906:a20b:: with SMTP id r11mr14777327ejy.41.1604299515390; Sun, 01 Nov 2020 22:45:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1604299515; cv=pass; d=google.com; s=arc-20160816; b=YPQSGq6GogcQIC93FNUxKUY3tZZEbpDyPP3Uvkwu1hpUbQbWalNknM9XlGBGlShm3g gYBSUPr37VmcOUyFToyQDKt9eqy1bpOnq/80dDMxduU9JGv0Llwu3ZpcRamwoqKdPNk+ 3z/oYXjAeeaN8L7h8CWJanZW2p3Vxt8QHwWT4j+CHIYoCspnXx0Yrko14aUT9ht7WRnK ohSYEWdPvoiE9sdqAHhERXr4aHeohi/Ogrlhini9wxF6tf0NasaH1mV+NISo7M9EM3vD sk0ju3dd1PsXnb5J94JNRpnYx72R9xEOS8bq//KsZSDMw2PAsz3FGJl+HMa5ECQYmEpS a4WQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=MUChzmfS6xQYjgYddkY6kdZu/v6TNfxYEJq48gUQhAY=; b=Y5krxl7rdbnBNwdLxD+CIZlpG7A92VVneKAqQumsWDYEYVnSRpdrwilxD9pN8T6wpe lmlp+BMjtpKZx8/5x+QL+B/4x1dEatKPtVQFWeKRhEZvk2SVyHPpe8nA8pSIZt3/9cTk N+TOv9QTkQQR03yMMMjzbF0EDM8Fm9FBJ9RPe8uhBpZCEDqxNqYwg306J0nfZTPVzaXI ivCu3h5s5Z2NoQ7weLD6PunDIf+vGj0ybEaf0Jf9aGHNlFdFIqU964vd+degVtpVvWnY TaJxD1HKc6XlmI+eVhCulYIM1ASzUrzzYkDxB5jt+WFVm8FSVhDkIn+8ktYaKKquEu0v WN4A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digi.com header.s=selector1 header.b="Fs0/5Huq"; arc=pass (i=1 spf=pass spfdomain=digi.com dkim=pass dkdomain=digi.com dmarc=pass fromdomain=digi.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=digi.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h17si9141914ejf.88.2020.11.01.22.44.52; Sun, 01 Nov 2020 22:45:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@digi.com header.s=selector1 header.b="Fs0/5Huq"; arc=pass (i=1 spf=pass spfdomain=digi.com dkim=pass dkdomain=digi.com dmarc=pass fromdomain=digi.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=digi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727994AbgKBGm4 (ORCPT + 99 others); Mon, 2 Nov 2020 01:42:56 -0500 Received: from outbound-ip23a.ess.barracuda.com ([209.222.82.205]:42536 "EHLO outbound-ip23a.ess.barracuda.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726684AbgKBGm4 (ORCPT ); Mon, 2 Nov 2020 01:42:56 -0500 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2053.outbound.protection.outlook.com [104.47.36.53]) by mx3.us-east-2a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 02 Nov 2020 06:42:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zb87ePVlIpRWGy1nmh64yytDeHEOrYR3rnT64TReTaACAdkwwrnmKwZFlmGYs4iMHg2lXTMw09hTvDGUcTcQXGsCD4IAJaEFNqSqeRSPYuc0bg6Paqo5lbLrygplvtx9YVoVq9/KRtKUV9ayvCglQeiDNUCAHgICT7okxkxFG3NrBLxmP6G3WvTqG0KsGdy/LdbnAsM4EwToZlmcH1qpSkYl7Yd5GFENuXA8nZW5U/7fwZAl/+nYRzrMWUxjmfWpInEtp8GSVKc1chVRHPRRXt96zx4vZHBU2QEWp3s/+p0QUoWV52uLrXqpn8CUAmW+Su/x760+K+ZuJP3Y7fjMUw== 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=MUChzmfS6xQYjgYddkY6kdZu/v6TNfxYEJq48gUQhAY=; b=AUOi0uAC2yxLs/lF40qP5iYIWCK9X1jNwCenPGseAHsKUX02oD1S+GHywg5XqNkT707haQCTv/z/ULX7HgI+Xgz/ChcHhrUrvBpgRXT0Qai731u/UWDaev4aq2YodXGTpRYuIE5Gs/iDglaCehA99PkuFRkot9IWZ8p7LdifcYqZTyjRtKVaaVz6e72FhK8bXqDmUB9rOdTsKxOVmlVH3ZiwHU0wCcW5cgrb1WwXCVPQ/mv4jC/zbEVSYjOk9jChjZHyZPah/gbd6wqN5pMhT9Lq19ivJbT8on1jlnvfkgDnL5/Qzoz1FSFIFBRSjjoQ0JLHKflHyCgm9LJc/RFxYw== 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=MUChzmfS6xQYjgYddkY6kdZu/v6TNfxYEJq48gUQhAY=; b=Fs0/5HuqITv+9hpKswssmYzVj2LEuQW1MPs1gqGzW0XpC9cIfIaQjTw7TC35aWtNtMapmf1tbxIZ5IyZBHZJMoBdV9q89uuzz8lugp54BV8KvfLlw+x5cA7rUwFvBUGCnWHWxpV+CaWq96T+csQwh9HR7dys/EPZLZjQr2SW5ZE= Authentication-Results: nic.cz; dkim=none (message not signed) header.d=none;nic.cz; dmarc=none action=none header.from=digi.com; Received: from MN2PR10MB4174.namprd10.prod.outlook.com (2603:10b6:208:1dd::21) by MN2PR10MB4253.namprd10.prod.outlook.com (2603:10b6:208:1d6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.27; Mon, 2 Nov 2020 06:42:38 +0000 Received: from MN2PR10MB4174.namprd10.prod.outlook.com ([fe80::b505:75ae:58c9:eb32]) by MN2PR10MB4174.namprd10.prod.outlook.com ([fe80::b505:75ae:58c9:eb32%8]) with mapi id 15.20.3499.030; Mon, 2 Nov 2020 06:42:38 +0000 From: Pavana Sharma To: marek.behun@nic.cz Cc: andrew@lunn.ch, ashkan.boldaji@digi.com, davem@davemloft.net, f.fainelli@gmail.com, gregkh@linuxfoundation.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pavana.sharma@digi.com, vivien.didelot@gmail.com Subject: [PATCH v7 2/4] net: phy: Add 5GBASER interface mode Date: Mon, 2 Nov 2020 16:42:06 +1000 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Content-Type: text/plain X-Originating-IP: [210.185.118.55] X-ClientProxiedBy: SYXPR01CA0111.ausprd01.prod.outlook.com (2603:10c6:0:2d::20) To MN2PR10MB4174.namprd10.prod.outlook.com (2603:10b6:208:1dd::21) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (210.185.118.55) by SYXPR01CA0111.ausprd01.prod.outlook.com (2603:10c6:0:2d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Mon, 2 Nov 2020 06:42:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 57ac45df-2dd5-4eb4-9ffa-08d87efa7d2a X-MS-TrafficTypeDiagnostic: MN2PR10MB4253: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:296; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hO1fVC9dAfmnlXAGfu1UFQ45znNfek8ZfO2ZgvIEI+CimYZm853eQskKec1sjr11wRN8Z4bbVtvUv823+p+wLloPzY0ldKUksY7VfsgeStK9IKxvofF0dkbxro5sLqOrMGeZBqp6Y7XPs3jM9T6sssFRqac7ihP+DCteDuFYfU6UPZjR+XAbMatNgjeOBR4jcZhDpjHSBT/O5i4ot3ENesKvIHugGmmm9RoGQj6dHcUh5oyjqbSTyORq53eITMJlaZUyCoNHMpGxQsYfqICu6q00+VeNKkDG9zmetePOet+R5DiW3dsjLwX1kV0yHVNw/kwLEPLE+Dg2oag8bvY1QRVwUB5mdz737o7ydh982VFoLOVMGiMwxncwhw5Pj9NW 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)(396003)(39840400004)(366004)(136003)(346002)(376002)(6512007)(52116002)(8676002)(956004)(8936002)(69590400008)(2616005)(6666004)(6486002)(316002)(186003)(16526019)(66476007)(26005)(478600001)(66946007)(66556008)(2906002)(4326008)(6506007)(44832011)(5660300002)(36756003)(6916009)(4744005)(86362001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: u1iYSgZKu5wJoQkjwvRu6VRawE2kmv5TqwG94ZnbgZ659NKe+a1kof24ZiaMdhTjF99KHgR4+PmEUzISHqJMk0Il44Npo7DTF5kyGWDsxJbZR5RZUP35D5cnp6TZaFOO92usM5NVpGfG79XrT20+gruAw6pQIgu+4fR6tk+UuUkk+JPjpawPSdzL68F41LfdQHeiXJyTuoa8FsChB2U6ERpoL5wDf80jUaYSdhAXiHfaTiBb2UWgCMJLTsTt2MRoH6t1cFOAAnpi8R9CBTgnBJJp0VtYsPdU2yZP9F8deox5hIomra0YkjtyrQMK0z+tLN8iW3Ddcak8sCG0AXTZAnLieCP2Q3a08NgbdesO8YNMy/2VuYUwApaTGxINO1fWZTNZAoTVKa/fjbsV3IQOOwuK/8hqd6yPByTjlOj3cvX9O1IIMHJH85+qZb5IyywhQ8tUcJ0+U3wlz7Hpfkgv5vj6/SZBM1c3TLN15xadD8H1IBjcWn/yThSwOnmQqHp+9tzWFrZ7XbPSUq431g4WiKxdrKdetqlgGHnt39ANosMV8jCSDB9QniNtDiqNPYZeSntxJFrh0g+DsopRxEVSXluU7P4uTEL0CnCQ3F/y/KZXVDCttJpn4BZDFw37gzmR1UmarIiDe1FTp0bYdfDdog== X-OriginatorOrg: digi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57ac45df-2dd5-4eb4-9ffa-08d87efa7d2a X-MS-Exchange-CrossTenant-AuthSource: MN2PR10MB4174.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2020 06:42:38.3846 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: abb4cdb7-1b7e-483e-a143-7ebfd1184b9e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7aUBFoaf1AKKKgYGOwtrHRQYDs7WS/OLZsrbU+/FvpYHaXxK8vrEQTVJgVy86fJttbTyZU2EABz3fjHnrmIPBQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB4253 X-BESS-ID: 1604299360-893004-1564-166034-1 X-BESS-VER: 2019.1_20201026.1928 X-BESS-Apparent-Source-IP: 104.47.36.53 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.227908 [from cloudscan8-29.us-east-2a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 MSGID_FROM_MTA_HEADER META: Message-Id was added by a relay 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS112744 scores of KILL_LEVEL=7.0 tests=MSGID_FROM_MTA_HEADER, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add 5GBASE-R phy interface mode Signed-off-by: Pavana Sharma --- include/linux/phy.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/phy.h b/include/linux/phy.h index 3a09d2bf69ea..977b94a44e15 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -105,6 +105,8 @@ typedef enum { PHY_INTERFACE_MODE_TRGMII, PHY_INTERFACE_MODE_1000BASEX, PHY_INTERFACE_MODE_2500BASEX, + /* 5GBASE-R mode */ + PHY_INTERFACE_MODE_5GBASER, PHY_INTERFACE_MODE_RXAUI, PHY_INTERFACE_MODE_XAUI, /* 10GBASE-R, XFI, SFI - single lane 10G Serdes */ @@ -183,6 +185,8 @@ static inline const char *phy_modes(phy_interface_t interface) return "1000base-x"; case PHY_INTERFACE_MODE_2500BASEX: return "2500base-x"; + case PHY_INTERFACE_MODE_5GBASER: + return "5gbase-r"; case PHY_INTERFACE_MODE_RXAUI: return "rxaui"; case PHY_INTERFACE_MODE_XAUI: -- 2.17.1