linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Grygorii Strashko <grygorii.strashko@ti.com>
To: "David S. Miller" <davem@davemloft.net>,
	Kishon Vijay Abraham I <kishon@ti.com>,
	Antoine Tenart <antoine.tenart@free-electrons.com>,
	Quentin Schulz <quentin.schulz@bootlin.com>,
	Russell King - ARM Linux <linux@armlinux.org.uk>,
	Maxime Chevallier <maxime.chevallier@bootlin.com>
Cc: <netdev@vger.kernel.org>, Sekhar Nori <nsekhar@ti.com>,
	<linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	Tony Lindgren <tony@atomide.com>,
	<linux-amlogic@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Vivek Gautam <vivek.gautam@codeaurora.org>,
	Maxime Ripard <maxime.ripard@bootlin.com>,
	Chen-Yu Tsai <wens@csie.org>, Carlo Caione <carlo@caione.org>,
	Chunfeng Yun <chunfeng.yun@mediatek.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Manu Gautam <mgautam@codeaurora.org>,
	Grygorii Strashko <grygorii.strashko@ti.com>
Subject: [PATCH v3 2/5] phy: core: add PHY_MODE_ETHERNET
Date: Mon, 19 Nov 2018 19:24:21 -0600	[thread overview]
Message-ID: <20181120012424.11802-3-grygorii.strashko@ti.com> (raw)
In-Reply-To: <20181120012424.11802-1-grygorii.strashko@ti.com>

Add new PHY's mode to be used by Ethernet PHY interface drivers or
multipurpose PHYs like serdes. It will be reused in further changes.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 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 b17e770..02c9ef0 100644
--- a/include/linux/phy/phy.h
+++ b/include/linux/phy/phy.h
@@ -42,6 +42,7 @@ enum phy_mode {
 	PHY_MODE_UFS_HS_A,
 	PHY_MODE_UFS_HS_B,
 	PHY_MODE_PCIE,
+	PHY_MODE_ETHERNET,
 };
 
 /**
-- 
2.10.5


  parent reply	other threads:[~2018-11-20  1:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-20  1:24 [PATCH v3 0/5] phy: core: rework phy_set_mode to accept phy mode and submode Grygorii Strashko
2018-11-20  1:24 ` [PATCH v3 1/5] " Grygorii Strashko
2018-11-20  1:24 ` Grygorii Strashko [this message]
2018-11-20  1:24 ` [PATCH v3 3/5] phy: ocelot-serdes: convert to use eth " Grygorii Strashko
2018-11-20  9:18   ` Quentin Schulz
2018-11-20  1:24 ` [PATCH v3 4/5] phy: mvebu-cp110-comphy: " Grygorii Strashko
2018-11-21  7:38   ` Kishon Vijay Abraham I
2018-11-21  7:52     ` Quentin Schulz
2018-11-21  7:58       ` Antoine Tenart
2018-11-21  8:02   ` Antoine Tenart
2018-11-20  1:24 ` [PATCH v3 5/5] phy: core: clean up unused ethernet specific phy modes Grygorii Strashko
2018-11-21  8:55 ` [PATCH v3 0/5] phy: core: rework phy_set_mode to accept phy mode and submode Kishon Vijay Abraham I
2018-11-21 18:23   ` Grygorii Strashko
2018-12-17 14:06 ` Maxime Ripard

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=20181120012424.11802-3-grygorii.strashko@ti.com \
    --to=grygorii.strashko@ti.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=antoine.tenart@free-electrons.com \
    --cc=carlo@caione.org \
    --cc=chunfeng.yun@mediatek.com \
    --cc=davem@davemloft.net \
    --cc=kishon@ti.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=matthias.bgg@gmail.com \
    --cc=maxime.chevallier@bootlin.com \
    --cc=maxime.ripard@bootlin.com \
    --cc=mgautam@codeaurora.org \
    --cc=netdev@vger.kernel.org \
    --cc=nsekhar@ti.com \
    --cc=quentin.schulz@bootlin.com \
    --cc=tony@atomide.com \
    --cc=vivek.gautam@codeaurora.org \
    --cc=wens@csie.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).