Received: by 10.213.65.68 with SMTP id h4csp301320imn; Fri, 16 Mar 2018 03:40:56 -0700 (PDT) X-Google-Smtp-Source: AG47ELv4vGfHhNoTxUXlbrTkd0zvtBCemjBz4Mhp4NSLElT5xASL8a9Ca0ADICqVdqJ3t07YzTHS X-Received: by 2002:a17:902:bd4b:: with SMTP id b11-v6mr1566068plx.225.1521196856427; Fri, 16 Mar 2018 03:40:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521196856; cv=none; d=google.com; s=arc-20160816; b=K3MX5kwkrOhjfk5h4gtmPjWyPiD9pF1XQM5deBvHKSrbu8VUBAO1ik9GQiEcp+F2Dn 0ez3rqttVKV7WKVJtNhpBKI0UrEeG/+RXSLGZHtTmdgc8DFX377m26NgaoRl53JyBDkc yDpy3X/8MWtCq22+jc5eOzh/f47P3j/CJcg91BAXM5Cgk8HxM/lw1dnBYnPs/Glhte6E /HWLrWdmFYfGLvRizoGDVfRnAW/5ETcxZuOXQVTBzX80yfaOFo0y4UxdnYUedqDVgwyk L+e7FmdVWJ03GqS6GvvZxYy9O4QwHuVV/gEOyrdaniQZDMUD/GmtQ5IzuYGRYaQft22D IJcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=STH98ZrmGfidN3dVvjkBpSMXE7i/CC0jyINzphWP5rY=; b=CMaG0AZlvSlI7twrYO4zRFXXYpPzmdRzK4knLNxQIMmHuFadct0S6tR41opKco4DVR V77uVRBB2PI888OGfaq8Zn/l2bREewit8gCGQG4TP75aOV/z/KquXdZlCeS/Cm9HFN+k 8CHU4h/55wWyAgAiSLSSQKAe753345npjWCL1I0Ar88kWAogmwZM4frRT8nClceSPLae UOIkcR97T8EfQjXGm7auv/lfsSKKZIxeLspT2TfDUwop0SwI5pxY6/doJxghZ90Qmv6c qM31Q2fED7pTZLPzmJmXMeK1uPdGGWwev92716HWE9SZCoBU2hVkuCdfWi4FPLs0sl45 AaYg== ARC-Authentication-Results: i=1; mx.google.com; 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 o126si638675pfg.248.2018.03.16.03.40.42; Fri, 16 Mar 2018 03:40:56 -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; 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 S1753495AbeCPKfp (ORCPT + 99 others); Fri, 16 Mar 2018 06:35:45 -0400 Received: from mail.bootlin.com ([62.4.15.54]:35008 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753450AbeCPKfl (ORCPT ); Fri, 16 Mar 2018 06:35:41 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id B2A7B208A7; Fri, 16 Mar 2018 11:35:38 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id 0CF39208B2; Fri, 16 Mar 2018 11:35:03 +0100 (CET) From: Antoine Tenart To: davem@davemloft.net, kishon@ti.com, linux@armlinux.org.uk, gregory.clement@bootlin.com, andrew@lunn.ch, jason@lakedaemon.net, sebastian.hesselbarth@gmail.com Cc: Antoine Tenart , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, maxime.chevallier@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, ymarkman@marvell.com, mw@semihalf.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH net-next 04/10] phy: add 2.5G SGMII mode to the phy_mode enum Date: Fri, 16 Mar 2018 11:33:45 +0100 Message-Id: <20180316103351.16616-5-antoine.tenart@bootlin.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180316103351.16616-1-antoine.tenart@bootlin.com> References: <20180316103351.16616-1-antoine.tenart@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, -- 2.14.3