From: Jonathan Lemon <jonathan.lemon@gmail.com>
To: f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com,
andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk,
richardcochran@gmail.com
Cc: netdev@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH net-next v1 4/4] net: phy: Kconfig: Add broadcom PTP PHY library
Date: Sat, 23 Apr 2022 19:23:56 -0700 [thread overview]
Message-ID: <20220424022356.587949-5-jonathan.lemon@gmail.com> (raw)
In-Reply-To: <20220424022356.587949-1-jonathan.lemon@gmail.com>
Add a Broadcom PTP PHY library, initially supporting the BCM54213PE
found in the RPi CM4.
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
---
drivers/net/phy/Kconfig | 10 ++++++++++
drivers/net/phy/Makefile | 1 +
2 files changed, 11 insertions(+)
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index ea7571a2b39b..66f9c9cc51cf 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -101,6 +101,16 @@ config BROADCOM_PHY
Currently supports the BCM5411, BCM5421, BCM5461, BCM54616S, BCM5464,
BCM5481, BCM54810 and BCM5482 PHYs.
+config BCM_NET_PHYPTP
+ tristate "Broadcom PHY PTP support"
+ depends on NETWORK_PHY_TIMESTAMPING
+ depends on PHYLIB
+ depends on PTP_1588_CLOCK
+ depends on BROADCOM_PHY
+ depends on NET_PTP_CLASSIFY
+ help
+ Supports PTP timestamping for certain Broadcom PHYs.
+
config BCM54140_PHY
tristate "Broadcom BCM54140 PHY"
depends on PHYLIB
diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile
index b2728d00fc9a..bb21d4240a40 100644
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
@@ -46,6 +46,7 @@ obj-$(CONFIG_BCM84881_PHY) += bcm84881.o
obj-$(CONFIG_BCM87XX_PHY) += bcm87xx.o
obj-$(CONFIG_BCM_CYGNUS_PHY) += bcm-cygnus.o
obj-$(CONFIG_BCM_NET_PHYLIB) += bcm-phy-lib.o
+obj-$(CONFIG_BCM_NET_PHYPTP) += bcm-phy-ptp.o
obj-$(CONFIG_BROADCOM_PHY) += broadcom.o
obj-$(CONFIG_CICADA_PHY) += cicada.o
obj-$(CONFIG_CORTINA_PHY) += cortina.o
--
2.31.1
next prev parent reply other threads:[~2022-04-24 2:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-24 2:23 [PATCH net-next v1 0/4] Broadcom PTP PHY support Jonathan Lemon
2022-04-24 2:23 ` [PATCH net-next v1 1/4] net: phy: broadcom: Add PTP support for some Broadcom PHYs Jonathan Lemon
2022-04-24 23:27 ` Florian Fainelli
2022-04-25 23:53 ` Jonathan Lemon
2022-04-25 1:19 ` Richard Cochran
2022-04-25 23:30 ` Jonathan Lemon
2022-04-26 2:49 ` Richard Cochran
2022-04-26 3:02 ` Richard Cochran
2022-04-25 1:38 ` Richard Cochran
2022-04-25 23:55 ` Jonathan Lemon
2022-04-26 2:53 ` Richard Cochran
2022-04-26 18:02 ` Florian Fainelli
2022-04-25 3:12 ` Richard Cochran
2022-04-25 23:47 ` Jonathan Lemon
2022-04-27 14:40 ` Richard Cochran
2022-04-28 5:02 ` Jonathan Lemon
2022-04-24 2:23 ` [PATCH net-next v1 2/4] net: phy: broadcom: Add Broadcom PTP hooks to bcm-phy-lib Jonathan Lemon
2022-04-24 23:35 ` Florian Fainelli
2022-04-24 2:23 ` [PATCH net-next v1 3/4] net: phy: broadcom: Hook up the PTP PHY functions Jonathan Lemon
2022-04-24 23:29 ` Florian Fainelli
2022-04-24 2:23 ` Jonathan Lemon [this message]
2022-04-24 23:29 ` [PATCH net-next v1 4/4] net: phy: Kconfig: Add broadcom PTP PHY library Florian Fainelli
2022-04-25 1:01 ` [PATCH net-next v1 0/4] Broadcom PTP PHY support Richard Cochran
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=20220424022356.587949-5-jonathan.lemon@gmail.com \
--to=jonathan.lemon@gmail.com \
--cc=andrew@lunn.ch \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=f.fainelli@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=kernel-team@fb.com \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
/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).