Messages in this thread | | | From | "Radu Pirea (NXP OSS)" <> | Subject | [PATCH net-next v1 00/14] Add TJA1120 support | Date | Fri, 16 Jun 2023 16:53:09 +0300 |
| |
Hello everyone,
This patch series got bigger than I expected. It cleans up the next-c45-tja11xx driver and adds support for the TJA1120(1000BaseT1 automotive phy).
Master/slave custom implementation was replaced with the generic implementation (genphy_c45_config_aneg/genphy_c45_read_status).
The TJA1120 and TJA1103 are a bit different when it comes to the PTP interface. The timestamp read procedure was changed, some addresses were changed and some bits were moved from one register to another. Adding TJA1120 support was tricky, and I tried not to duplicate the code. If something looks too hacky to you, I am open to suggestions.
Cheers, Radu P
Radu Pirea (NXP OSS) (14): net: phy: nxp-c45-tja11xx: fix the PTP interrupt enablig/disabling net: phy: nxp-c45-tja11xx: use phylib master/slave implementation net: phy: nxp-c45-tja11xx: remove RX BIST frame counters net: phy: nxp-c45-tja11xx: add *_reg_field functions net: phy: nxp-c45-tja11xx: prepare the ground for TJA1120 net: phy: add 1000baseT1 to phy_basic_t1_features net: phy: nxp-c45-tja11xx: add TJA1120 support net: phy: nxp-c45-tja11xx: enable LTC sampling on both ext_ts edges net: phy: nxp-c45-tja11xx: read egress ts on TJA1120 net: phy: nxp-c45-tja11xx: handle FUSA irq net: phy: nxp-c45-tja11xx: run cable test with the PHY in test mode net: phy: nxp-c45-tja11xx: read ext trig ts TJA1120 net: phy: nxp-c45-tja11xx: reset PCS if the link goes down net: phy: nxp-c45-tja11xx: timestamp reading workaround for TJA1120
drivers/net/phy/Kconfig | 2 +- drivers/net/phy/nxp-c45-tja11xx.c | 1113 ++++++++++++++++++++++------- drivers/net/phy/phy_device.c | 3 +- include/linux/phy.h | 2 +- 4 files changed, 846 insertions(+), 274 deletions(-)
-- 2.34.1
| |