From patchwork Tue Jan 9 08:59:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoine Tenart X-Patchwork-Id: 10151193 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 E11F1601A1 for ; Tue, 9 Jan 2018 09:00:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D66A228787 for ; Tue, 9 Jan 2018 09:00:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9A4A28882; Tue, 9 Jan 2018 09:00:35 +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 82A0628787 for ; Tue, 9 Jan 2018 09:00:35 +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=nQve0HC5Z8LQ5jBRH/OdUl7fZ5Jrr7EjrkT924KMLdA=; b=oaCg0Rwck9u+7ZdixKypAoelQG kPZh9y5/V6I0ACAoC1DY5U1SeZwp7jhA1oTFe//8+CycfbTefL+OOzPlRuuOna4+Uliy8+x9NY3RO 3ecnxhUzHEi4rTonjnpqDYH5aiHHpb4JHUUXmgrnsb2OfFdkkbuTk9bg9qMx9wvutugv4AI43DEF+ 6IYeB+YknFk/zqhUhNDTTYML6QExz+XaIUZfNj7bsn2Puzl/vqQBA+OhIe9rUd7+h6pgfRddI/kTS jzojiqh3mGa1PktG+sc7doarUmPF5ugxmTvdASHlz8oeXh7nrHrApmbL0509+qlxj9MZEGhymKoze wzn+Eaig==; 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 1eYplo-0004tw-NZ; Tue, 09 Jan 2018 09:00:32 +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 1eYplg-0004qx-D7 for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2018 09:00:30 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id C1512207D8; Tue, 9 Jan 2018 10:00:10 +0100 (CET) Received: from localhost (nat.foo.tf [163.172.35.26]) by mail.free-electrons.com (Postfix) with ESMTPSA id 953F92037C; Tue, 9 Jan 2018 10:00:00 +0100 (CET) From: Antoine Tenart To: davem@davemloft.net, kishon@ti.com Subject: [PATCH net-next v3 1/4] phy: add 2.5G SGMII mode to the phy_mode enum Date: Tue, 9 Jan 2018 09:59:42 +0100 Message-Id: <20180109085945.11916-2-antoine.tenart@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180109085945.11916-1-antoine.tenart@free-electrons.com> References: <20180109085945.11916-1-antoine.tenart@free-electrons.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180109_010024_661907_343A8B70 X-CRM114-Status: UNSURE ( 9.59 ) 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, andrew@lunn.ch, ymarkman@marvell.com, netdev@vger.kernel.org, Antoine Tenart , linux@armlinux.org.uk, linux-kernel@vger.kernel.org, nadavh@marvell.com, miquel.raynal@free-electrons.com, gregory.clement@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..5a80e9de3686 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_2500SGMII, PHY_MODE_10GKR, PHY_MODE_UFS_HS_A, PHY_MODE_UFS_HS_B,