Add generic PMA suspend and resume callback functions for C45 PHYs.
Signed-off-by: Radu Pirea (NXP OSS)
---
drivers/net/phy/phy-c45.c | 43 +++
include/linux/phy.h | 2 ++
2 files changed, 45 insertions(+)
diff --git a/drivers/net/phy/phy-c45.c b
instead on phy_write_mmd where
I had to set/clear one bit.
Radu Pirea (NXP OSS) (2):
net: phy: add genphy_c45_pma_suspend/resume
phy: nxp-c45: add driver for tja1103
MAINTAINERS | 6 +
drivers/net/phy/Kconfig | 6 +
drivers/net/phy/Makefile | 1 +
drive
Add driver for tja1103 driver and for future NXP C45 PHYs.
Signed-off-by: Radu Pirea (NXP OSS)
---
MAINTAINERS | 6 +
drivers/net/phy/Kconfig | 6 +
drivers/net/phy/Makefile | 1 +
drivers/net/phy/nxp-c45-tja11xx.c | 607
ter
- use genphy_c45_loopback as .set_loopback callback
- renamed the driver from nxp-c45 to nxp-c45-tja11xx
- used phy phy_set_bits_mmd/phy_clear_bits_mmd instead on phy_write_mmd where
I had to set/clear one bit.
Radu Pirea (NXP OSS) (2):
net: phy: add genphy_c45_pma_suspend/resume
phy: nx
Add generic PMA suspend and resume callback functions for C45 PHYs.
Signed-off-by: Radu Pirea (NXP OSS)
Reviewed-by: Andrew Lunn
---
drivers/net/phy/phy-c45.c | 43 +++
include/linux/phy.h | 2 ++
2 files changed, 45 insertions(+)
diff --git a
Add driver for tja1103 driver and for future NXP C45 PHYs.
Signed-off-by: Radu Pirea (NXP OSS)
---
MAINTAINERS | 6 +
drivers/net/phy/Kconfig | 6 +
drivers/net/phy/Makefile | 1 +
drivers/net/phy/nxp-c45-tja11xx.c | 588
Fix phase offset calculation.
Signed-off-by: Radu Pirea (NXP OSS)
---
drivers/net/phy/nxp-c45-tja11xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/nxp-c45-tja11xx.c
b/drivers/net/phy/nxp-c45-tja11xx.c
index 47cacda8836f..95307097ebff 100644
--- a
Add driver for tja1103 driver and for future NXP C45 PHYs.
Signed-off-by: Radu Pirea (NXP OSS)
---
MAINTAINERS | 6 +
drivers/net/phy/Kconfig | 6 +
drivers/net/phy/Makefile | 1 +
drivers/net/phy/nxp-c45.c | 622 ++
4 files changed