[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250902121832.3258544-1-horatiu.vultur@microchip.com>
Date: Tue, 2 Sep 2025 14:18:30 +0200
From: Horatiu Vultur <horatiu.vultur@...rochip.com>
To: <andrew@...n.ch>, <hkallweit1@...il.com>, <linux@...linux.org.uk>,
<davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <richardcochran@...il.com>,
<Parthiban.Veerasooran@...rochip.com>, <kory.maincent@...tlin.com>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>, Horatiu Vultur
<horatiu.vultur@...rochip.com>
Subject: [PATCH net-next v7 0/2] net: phy: micrel: Add PTP support for lan8842
The PTP block in lan8842 is the same as lan8814 so reuse all these
functions. The first patch of the series just does cosmetic changes such
that lan8842 can reuse the function lan8814_ptp_probe. There should not be
any functional changes here. While the second patch adds the PTP support
to lan8842.
v6->v7:
- the v6 was not sent by mistake to mailing lists, so this version just
sends also to the mailing list
v5->v6:
- update commit message of the first commit to say that lan8842 had a
different number of GPIOs
- add define for 0x8832
- threrefore -> therefore
v4->v5:
- remove phydev from lan8842_priv as is not used
- change type for rev to be u16 and fix holes in the struct
- assign ret to priv->rev only after it is checked
v3->v4:
- when reading PHY addr first check return value and then mask it
- change the type of gpios in the declration of __lan8814_ptp_probe_once
v2->v3:
- check return value of function devm_phy_package_join
v1->v2:
- use reverse x-mas notation
- replace hardcoded value with define
Horatiu Vultur (2):
net: phy: micrel: Introduce function __lan8814_ptp_probe_once
net: phy: micrel: Add PTP support for lan8842
drivers/net/phy/micrel.c | 116 +++++++++++++++++++++++++++++++++++++--
1 file changed, 111 insertions(+), 5 deletions(-)
--
2.34.1
Powered by blists - more mailing lists