From patchwork Wed Dec 27 22:14:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoine Tenart X-Patchwork-Id: 10134085 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4A2D860318 for ; Wed, 27 Dec 2017 22:15:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 39C2C2D2BE for ; Wed, 27 Dec 2017 22:15:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D28F2D2D3; Wed, 27 Dec 2017 22:15:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3252B2D2BE for ; Wed, 27 Dec 2017 22:15:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=bX6td6mmFs/9W85HrCY3Yqh32mU88H9eaCthqQlqPvI=; b=upmrWxIndTtFvKSedX6WysM0zJ Q9KgJSNwHqBY0RcB0Fc4H6OEjMSWdopZJiPcZR78FlyX/f1ztMUWSiNKN518BWeUat4Vkjb+cGysc UuBmgvfhX1QTDRJd2T/Ad2/np4TpD4P3CSo0/3JHcSEaKK+PSIqiGZj6I0KtLbwgFyqSLIUNpaZpL Xo9frOMBhkhBoESfPqebhTv1FHCh7ochxUgE/jxg31UekVjTiEe+RX/4wzir6cVytA/hXfkKTWtE2 oFZ7BZbGFum9OCx4EBvDxzbMIkJ7EiJumyCRdD+KxWm3uAJDUYSyHsUqdKzAF2/4PzdYJl6MSHug4 scfiAXKQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eUJys-0004LG-GK; Wed, 27 Dec 2017 22:15:22 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eUJyn-0002xe-KW for linux-arm-kernel@lists.infradead.org; Wed, 27 Dec 2017 22:15:19 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 14CDA20726; Wed, 27 Dec 2017 23:15:02 +0100 (CET) Received: from localhost (lac60-1-78-202-55-202.fbx.proxad.net [78.202.55.202]) by mail.free-electrons.com (Postfix) with ESMTPSA id C65A520377; Wed, 27 Dec 2017 23:15:01 +0100 (CET) From: Antoine Tenart To: davem@davemloft.net, kishon@ti.com, andrew@lunn.ch, jason@lakedaemon.net, sebastian.hesselbarth@gmail.com, gregory.clement@free-electrons.com, linux@armlinux.org.uk Subject: [PATCH net-next 1/6] phy: add 2.5G SGMII mode to the phy_mode enum Date: Wed, 27 Dec 2017 23:14:41 +0100 Message-Id: <20171227221446.18459-2-antoine.tenart@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171227221446.18459-1-antoine.tenart@free-electrons.com> References: <20171227221446.18459-1-antoine.tenart@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171227_141517_823427_F615734C X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, ymarkman@marvell.com, netdev@vger.kernel.org, Antoine Tenart , linux-kernel@vger.kernel.org, nadavh@marvell.com, miquel.raynal@free-electrons.com, stefanc@marvell.com, mw@semihalf.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds one more generic PHY mode to the phy_mode enum, to allow configuring generic PHYs to the 2.5G SGMII mode by using the set_mode callback. Signed-off-by: Antoine Tenart --- include/linux/phy/phy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 4f8423a948d5..70459a28f3a1 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -28,6 +28,7 @@ enum phy_mode { PHY_MODE_USB_DEVICE, PHY_MODE_USB_OTG, PHY_MODE_SGMII, + PHY_MODE_SGMII_2_5G, PHY_MODE_10GKR, PHY_MODE_UFS_HS_A, PHY_MODE_UFS_HS_B,