2023-03-09 07:36:49

by Siddharth Vadapalli

[permalink] [raw]
Subject: [PATCH net-next v3 0/2] Update CPSW bindings for Serdes PHY

Hello,

This series adds documentation for the Serdes PHY. Also, the name used to
refer to the Serdes PHY in the am65-cpsw driver is updated to match the
documented name.

---
Documenting the Serdes PHY bindings was missed out in the already merged
series at:
https://lore.kernel.org/r/[email protected]/
This miss was pointed out at:
https://lore.kernel.org/r/CAMuHMdW5atq-FuLEL3htuE3t2uO86anLL3zeY7n1RqqMP_rH1g@mail.gmail.com/

Changes from v2:
1. Drop "phy" suffixes in the phy-names property, changing "mac-phy" and
"serdes-phy" to "mac" and "serdes".
2. Add a new patch to update the name used by the am65-cpsw driver to
refer to the Serdes PHY, from "serdes-phy" to "serdes".

Changes from v1:
1. Describe phys property with minItems, items and description.
2. Use minItems and items in phy-names.
3. Remove the description in phy-names.

v2:
https://lore.kernel.org/r/[email protected]/
v1:
https://lore.kernel.org/r/[email protected]/

Siddharth Vadapalli (2):
dt-bindings: net: ti: k3-am654-cpsw-nuss: Document Serdes PHY
net: ethernet: ti: am65-cpsw: Update name of Serdes PHY

.../bindings/net/ti,k3-am654-cpsw-nuss.yaml | 14 ++++++++++++--
drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 +-
2 files changed, 13 insertions(+), 3 deletions(-)

--
2.25.1



2023-03-09 07:36:55

by Siddharth Vadapalli

[permalink] [raw]
Subject: [PATCH net-next v3 2/2] net: ethernet: ti: am65-cpsw: Update name of Serdes PHY

The bindings for the am65-cpsw driver use the name "serdes" to refer to
the Serdes PHY. Thus, update the name used for the Serdes PHY within the
am65_cpsw_init_serdes_phy() function from "serdes-phy" to "serdes".

Signed-off-by: Siddharth Vadapalli <[email protected]>
---
drivers/net/ethernet/ti/am65-cpsw-nuss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/ti/am65-cpsw-nuss.c b/drivers/net/ethernet/ti/am65-cpsw-nuss.c
index 4e3861c47708..dddfebd6be41 100644
--- a/drivers/net/ethernet/ti/am65-cpsw-nuss.c
+++ b/drivers/net/ethernet/ti/am65-cpsw-nuss.c
@@ -1466,7 +1466,7 @@ static void am65_cpsw_disable_serdes_phy(struct am65_cpsw_common *common)
static int am65_cpsw_init_serdes_phy(struct device *dev, struct device_node *port_np,
struct am65_cpsw_port *port)
{
- const char *name = "serdes-phy";
+ const char *name = "serdes";
struct phy *phy;
int ret;

--
2.25.1


2023-03-11 05:30:30

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next v3 0/2] Update CPSW bindings for Serdes PHY

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <[email protected]>:

On Thu, 9 Mar 2023 13:06:10 +0530 you wrote:
> Hello,
>
> This series adds documentation for the Serdes PHY. Also, the name used to
> refer to the Serdes PHY in the am65-cpsw driver is updated to match the
> documented name.
>
>
> [...]

Here is the summary with links:
- [net-next,v3,1/2] dt-bindings: net: ti: k3-am654-cpsw-nuss: Document Serdes PHY
https://git.kernel.org/netdev/net-next/c/aacaf7b3d19d
- [net-next,v3,2/2] net: ethernet: ti: am65-cpsw: Update name of Serdes PHY
https://git.kernel.org/netdev/net-next/c/bca93b20c397

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html