Received: by 10.192.165.148 with SMTP id m20csp80265imm; Fri, 4 May 2018 07:02:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpcgxn9D2I0/T5ytmf0kgs52ONz1pJ55hvlzoesrjYeqELnRtH04Fl/gT0zC8JvUu+UtcwE X-Received: by 10.98.153.215 with SMTP id t84mr16099289pfk.252.1525442523675; Fri, 04 May 2018 07:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525442523; cv=none; d=google.com; s=arc-20160816; b=NmwHKuWO8hruDtdbEOjqQH8V6y9Sqe3unxBB+vlUYqOtxAIpV0wuuN8pbYWyZulBdH WAoRj3WrSoXIRNIzVwSWY0CBx7GWDuDBKfdzp2WXhCrTWacsQDosJQKmvUBqLk5wQG6z He68UxYMllzK5JtvdA2juUp45QNq6Vcty1OrVQkV9M+vmBFdYFaJzLB/ce+qFwOiycUQ eEAQbTeCWykhm/q2mjArgBrTaTm/5htQYbTOyWjx7UHsTglGuLYjEZQEnXVCrJZuiFav xFj/ykesI30zxZN4qboJtfrwoMWvydellXUv2tJNf+sXW46kUE/NoXpSRE3djuz/A9+3 5CKA== 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=HfcG/MMYtZ/0ju1W1mqr8jT4OmirNTbRF8mTdlLU3MQ=; b=chYp8UF+/4wqVw5xq692A+pkIvKm0yjGxJ65i7jo+9rtCRVNEKeWQl3PZVWBL4YjB7 3WqznS/zGYBmmeoPKXsC5xaKN7CtoK/U+kfEneKQx8LObGrI5pAu299Jnq0gFfon5pZk 6nn5iEyJaQ3xl9n+heccXBoxJ6xRwYciVuMpen8ZwY226kjcjcped5MjGrCPl44oJgji kS0JbCD7anmfjNNB7nyWg8zwdkl4kYJEI8CElBNTyIo/PgAKJ4aij6qdaLKEsXA+VbQq ssgUUhDLaaNrIsSkFw7D+CyDWHcn7RDhmX0ZZzKLymslAEUntMoaOtMN4KLma+GZ74rv 7Ltw== 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 e68-v6si15628279plb.566.2018.05.04.07.01.47; Fri, 04 May 2018 07:02:03 -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 S1751993AbeEDOBL (ORCPT + 99 others); Fri, 4 May 2018 10:01:11 -0400 Received: from mail.bootlin.com ([62.4.15.54]:60462 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751931AbeEDOAR (ORCPT ); Fri, 4 May 2018 10:00:17 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id F0E992082C; Fri, 4 May 2018 16:00:14 +0200 (CEST) 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, URIBL_BLOCKED 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 C59AD20A2A; Fri, 4 May 2018 16:00:04 +0200 (CEST) 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 v2 06/13] phy: add 2.5G SGMII mode to the phy_mode enum Date: Fri, 4 May 2018 15:56:36 +0200 Message-Id: <20180504135643.23466-7-antoine.tenart@bootlin.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180504135643.23466-1-antoine.tenart@bootlin.com> References: <20180504135643.23466-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 Acked-by: Kishon Vijay Abraham I --- 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 c9d14eeee7f5..9713aebdd348 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -36,6 +36,7 @@ enum phy_mode { PHY_MODE_USB_DEVICE_SS, PHY_MODE_USB_OTG, PHY_MODE_SGMII, + PHY_MODE_2500SGMII, PHY_MODE_10GKR, PHY_MODE_UFS_HS_A, PHY_MODE_UFS_HS_B, -- 2.17.0