mbox series

[net-next,0/3] Fixes and improvements to TJA1103 PHY driver

Message ID 20210614121849.437119-1-olteanv@gmail.com
Headers show
Series Fixes and improvements to TJA1103 PHY driver | expand

Message

Vladimir Oltean June 14, 2021, 12:18 p.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

This series contains:
- an erratum workaround for the TJA1103 PHY integrated in SJA1110
- an adaptation of the driver so it prints less unnecessary information
  when probing on SJA1110
- a PTP RX timestamping bug fix

Targeting net-next since the PHY support is currently in net-next only.

Vladimir Oltean (3):
  net: phy: nxp-c45-tja11xx: demote the "no PTP support" message to
    debug
  net: phy: nxp-c45-tja11xx: fix potential RX timestamp wraparound
  net: phy: nxp-c45-tja11xx: enable MDIO write access to the
    master/slave registers

 drivers/net/phy/nxp-c45-tja11xx.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Comments

Andrew Lunn June 14, 2021, 12:29 p.m. UTC | #1
On Mon, Jun 14, 2021 at 03:18:47PM +0300, Vladimir Oltean wrote:
> From: Vladimir Oltean <vladimir.oltean@nxp.com>
> 
> The SJA1110 switch integrates these PHYs, and they do not have support
> for timestamping. This message becomes quite overwhelming:
> 
> [   10.056596] NXP C45 TJA1103 spi1.0-base-t1:01: the phy does not support PTP
> [   10.112625] NXP C45 TJA1103 spi1.0-base-t1:02: the phy does not support PTP
> [   10.167461] NXP C45 TJA1103 spi1.0-base-t1:03: the phy does not support PTP
> [   10.223510] NXP C45 TJA1103 spi1.0-base-t1:04: the phy does not support PTP
> [   10.278239] NXP C45 TJA1103 spi1.0-base-t1:05: the phy does not support PTP
> [   10.332663] NXP C45 TJA1103 spi1.0-base-t1:06: the phy does not support PTP
> [   15.390828] NXP C45 TJA1103 spi1.2-base-t1:01: the phy does not support PTP
> [   15.445224] NXP C45 TJA1103 spi1.2-base-t1:02: the phy does not support PTP
> [   15.499673] NXP C45 TJA1103 spi1.2-base-t1:03: the phy does not support PTP
> [   15.554074] NXP C45 TJA1103 spi1.2-base-t1:04: the phy does not support PTP
> [   15.608516] NXP C45 TJA1103 spi1.2-base-t1:05: the phy does not support PTP
> [   15.662996] NXP C45 TJA1103 spi1.2-base-t1:06: the phy does not support PTP
> 
> So reduce its log level to debug.
> 
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew