From: Bhaskar.Upadhaya@nxp.com (Bhaskar Upadhaya)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1] phy: Add 2.5G SGMII interface mode
Date: Thu, 30 Nov 2017 10:00:35 +0530 [thread overview]
Message-ID: <1512016235-15909-1-git-send-email-Bhaskar.Upadhaya@nxp.com> (raw)
Add 2.5G SGMII interface mode(PHY_INTERFACE_MODE_2500SGMII)
in existing phy_interface list.As auto-negotiation is not
supported for 2.5G SGMII, we need to add a new type
PHY_INTERFACE_MODE_2500SGMII to differentiate
SGMII-1G and SGMII-2.5G with different setting for
auto-negotiation.
Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
---
include/linux/phy.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/linux/phy.h b/include/linux/phy.h
index dc82a07..158a5a5 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -87,6 +87,7 @@
PHY_INTERFACE_MODE_XAUI,
/* 10GBASE-KR, XFI, SFI - single lane 10G Serdes */
PHY_INTERFACE_MODE_10GKR,
+ PHY_INTERFACE_MODE_2500SGMII,
PHY_INTERFACE_MODE_MAX,
} phy_interface_t;
@@ -159,6 +160,8 @@ static inline const char *phy_modes(phy_interface_t interface)
return "xaui";
case PHY_INTERFACE_MODE_10GKR:
return "10gbase-kr";
+ case PHY_INTERFACE_MODE_2500SGMII:
+ return "sgmii-2500";
default:
return "unknown";
}
--
1.9.1
next reply other threads:[~2017-11-30 4:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-30 4:30 Bhaskar Upadhaya [this message]
2017-11-30 15:50 ` [PATCH 1/1] phy: Add 2.5G SGMII interface mode Andrew Lunn
2017-11-30 17:16 ` Bhaskar Upadhaya
2017-11-30 17:34 ` David Miller
2017-11-30 17:41 ` Andrew Lunn
2017-11-30 18:15 ` Russell King - ARM Linux
2017-11-30 18:26 ` Andrew Lunn
2017-11-30 18:53 ` Russell King - ARM Linux
2017-12-01 18:40 ` Bhaskar Upadhaya
2017-12-01 18:44 ` Florian Fainelli
2017-12-01 19:12 ` Andrew Lunn
2017-11-30 17:33 ` Russell King - ARM Linux
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1512016235-15909-1-git-send-email-Bhaskar.Upadhaya@nxp.com \
--to=bhaskar.upadhaya@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).