aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mt7530.c
AgeCommit message (Expand)AuthorFilesLines
10 daysnet: dsa: mt7530: use simple HSR offload helpersVladimir Oltean1-0/+2
10 daysnet: dsa: mt7530: unexport mt7530_switch_opsVladimir Oltean1-2/+1
2025-08-07treewide: rename GPIO set callbacks back to their original namesBartosz Golaszewski1-1/+1
2025-06-17net: dsa: mt7530: use new GPIO line value setter callbacksBartosz Golaszewski1-2/+4
2025-05-27net: dsa: mt7530: Add AN7583 supportChristian Marangi1-2/+22
2025-04-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2025-04-23net: dsa: mt7530: sync driver-specific behavior of MT7531 variantsDaniel Golle1-3/+3
2025-04-15net: dsa: mt7530: implement .get_stats64Christian Marangi1-0/+46
2025-04-15net: dsa: mt7530: move remaining MIB counter to defineChristian Marangi1-9/+9
2025-04-15net: dsa: mt7530: move pkt stats and err MIB counter to eth_mac stats APIChristian Marangi1-14/+56
2025-04-15net: dsa: mt7530: move pause MIB counter to eth_ctrl stats APIChristian Marangi1-2/+13
2025-04-15net: dsa: mt7530: move pkt size and rx err MIB counter to rmon stats APIChristian Marangi1-16/+55
2025-04-15net: dsa: mt7530: generalize read port stats logicChristian Marangi1-8/+18
2025-03-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+2
2025-03-05net: dsa: mt7530: Fix traffic flooding for MMIO devicesLorenzo Bianconi1-6/+2
2025-03-04dsa: mt7530: Utilize REGMAP_IRQ for interrupt handlingDaniel Golle1-180/+56
2025-03-04net: dsa: mt7530: Enable Rx sptag for EN7581 SoCLorenzo Bianconi1-0/+5
2025-02-14net: remove phylink_pcs .neg_mode booleanRussell King (Oracle)1-1/+0
2025-02-12net: dsa: mt7530: convert to phylink managed EEERussell King (Oracle)1-21/+47
2025-01-15net: phylink: pass neg_mode into .pcs_get_state() methodRussell King (Oracle)1-1/+1
2025-01-07net: dsa: mt753x: remove ksz_get_mac_eee()Russell King (Oracle)1-7/+0
2025-01-07net: dsa: mt753x: remove setting of tx_lpi parametersRussell King (Oracle)1-6/+0
2024-12-11net: dsa: mt753x: implement .support_eee() methodRussell King (Oracle)1-0/+1
2024-11-03net: dsa: mt7530: Add TBF qdisc offload supportLorenzo Bianconi1-0/+49
2024-08-04net: dsa: mt7530: Add EN7581 supportLorenzo Bianconi1-6/+43
2024-06-19net: dsa: mt7530: add support for bridge port isolationMatthias Schiffer1-2/+16
2024-06-19net: dsa: mt7530: factor out bridge join/leave logicMatthias Schiffer1-57/+48
2024-05-07net: dsa: mt7530: detect PHY muxing when PHY is defined on switch MDIO busArınç ÜNAL1-1/+2
2024-04-30net: dsa: mt7530: do not set MT7530_P5_DIS when PHY muxing is being usedArınç ÜNAL1-1/+2
2024-04-24net: dsa: mt7530: explain exposing MDIO bus of MT7531AE betterArınç ÜNAL1-1/+4
2024-04-24net: dsa: mt7530: do not pass port variable to mt7531_rgmii_setup()Arınç ÜNAL1-2/+2
2024-04-24net: dsa: mt7530: use priv->ds->num_ports instead of MT7530_NUM_PORTSArınç ÜNAL1-4/+4
2024-04-24net: dsa: mt7530: refactor MT7530_PMEEECR_P()Arınç ÜNAL1-4/+4
2024-04-24net: dsa: mt7530: get rid of function sanity checkArınç ÜNAL1-7/+0
2024-04-24net: dsa: mt7530: define MAC speed capabilities per switch modelArınç ÜNAL1-5/+10
2024-04-24net: dsa: mt7530: return mt7530_setup_mdio & mt7531_setup_common on errorArınç ÜNAL1-1/+5
2024-04-24net: dsa: mt7530: move MT753X_MTRAP operations for MT7530Arınç ÜNAL1-11/+27
2024-04-24net: dsa: mt7530: refactor MT7530_HWTRAP and MT7530_MHWTRAPArınç ÜNAL1-29/+30
2024-04-24net: dsa: mt7530: refactor MT7530_MFC and MT7531_CFC, add MT7531_QRY_FFPArınç ÜNAL1-25/+13
2024-04-24net: dsa: mt7530: rename mt753x_bpdu_port_fw enum to mt753x_to_cpu_fwArınç ÜNAL1-26/+18
2024-04-24net: dsa: mt7530: rename p5_intf_sel and use only for MT7530 switchArınç ÜNAL1-36/+26
2024-04-24net: dsa: mt7530: refactor MT7530_PMCR_P()Arınç ÜNAL1-12/+12
2024-04-23net: dsa: mt7530: simplify core operationsArınç ÜNAL1-65/+43
2024-04-23net: dsa: mt7530-mdio: read PHY address of switch from device treeArınç ÜNAL1-13/+24
2024-04-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+12
2024-04-17net: dsa: mt7530: fix port mirroring for MT7988 SoC switchArınç ÜNAL1-4/+6
2024-04-17net: dsa: mt7530: fix mirroring frames received on local portArınç ÜNAL1-0/+6
2024-04-16net: dsa: mt7530: provide own phylink MAC operationsRussell King (Oracle)1-17/+29
2024-04-11net: dsa: mt7530: trap link-local frames regardless of ST Port StateArınç ÜNAL1-34/+195
2024-04-10net: dsa: mt7530: fix enabling EEE on MT7531 switch on all boardsArınç ÜNAL1-5/+12
2024-03-26net: dsa: mt7530: fix improper frames on all 25MHz and 40MHz XTAL MT7530Arınç ÜNAL1-2/+3
2024-03-21net: dsa: mt7530: fix handling of all link-local framesArınç ÜNAL1-4/+33
2024-03-21net: dsa: mt7530: fix link-local frames that ingress vlan filtering portsArınç ÜNAL1-8/+15
2024-03-18net: dsa: mt7530: prevent possible incorrect XTAL frequency selectionArınç ÜNAL1-10/+4
2024-03-11net: dsa: mt7530: disable LEDs before resetJustin Swartz1-0/+6
2024-03-05net: dsa: mt7530: simplify link operationsArınç ÜNAL1-11/+1
2024-03-05net: dsa: mt7530: sort link settings ops and force link down on all portsArınç ÜNAL1-2/+12
2024-03-05net: dsa: mt7530: put initialising PCS devices code back to original orderArınç ÜNAL1-10/+10
2024-03-05net: dsa: mt7530: get rid of mt753x_mac_config()Arınç ÜNAL1-12/+2
2024-03-05net: dsa: mt7530: get rid of priv->info->cpu_port_config()Arınç ÜNAL1-107/+7
2024-03-05net: dsa: mt7530: get rid of useless error returns on phylink code pathArınç ÜNAL1-65/+16
2024-03-05net: dsa: mt7530: do not use SW_PHY_RST to reset MT7531 switchArınç ÜNAL1-4/+2
2024-03-05net: dsa: mt7530: set interrupt register only for MT7530Arınç ÜNAL1-1/+1
2024-03-05net: dsa: mt7530: remove .mac_port_config for MT7988 and make it optionalArınç ÜNAL1-14/+4
2024-02-07net: dsa: mt7530: do not clear config->supported_interfacesArınç ÜNAL1-2/+0
2024-02-07net: dsa: mt7530: correct port capabilities of MT7988Arınç ÜNAL1-1/+1
2024-02-07net: dsa: mt7530: remove pad_setup function pointerArınç ÜNAL1-34/+2
2024-02-07net: dsa: mt7530: call port 6 setup from mt7530_mac_config()Arınç ÜNAL1-8/+11
2024-02-07net: dsa: mt7530: simplify mt7530_pad_clk_setup()Arınç ÜNAL1-51/+40
2024-02-07net: dsa: mt7530: move XTAL check to mt7530_setup()Arınç ÜNAL1-7/+6
2024-02-07net: dsa: mt7530: empty default case on mt7530_setup_port5()Arınç ÜNAL1-4/+1
2024-02-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+1
2024-01-31ethtool: replace struct ethtool_eee with a new struct ethtool_keee on kernel ...Heiner Kallweit1-2/+2
2024-01-29net: dsa: mt7530: do not run mt7530_setup_port5() if port 5 is disabledArınç ÜNAL1-6/+3
2024-01-29net: dsa: mt7530: do not set priv->p5_interface on mt7530_setup_port5()Arınç ÜNAL1-2/+0
2024-01-29net: dsa: mt7530: improve code path for setting up port 5Arınç ÜNAL1-9/+8
2024-01-29net: dsa: mt7530: improve comments regarding switch portsArınç ÜNAL1-10/+20
2024-01-29net: dsa: mt7530: store port 5 SGMII capability of MT7531Arınç ÜNAL1-32/+16
2024-01-29net: dsa: mt7530: always trap frames to active CPU port on MT7530Arınç ÜNAL1-4/+31
2024-01-26net: dsa: mt7530: fix 10M/100M speed on MT7988 switchDaniel Golle1-2/+1
2024-01-25net: dsa: mt7530: support OF-based registration of switch MDIO busArınç ÜNAL1-8/+26
2023-12-08net: Convert some ethtool_sprintf() to ethtool_puts()justinstitt@google.com1-1/+1
2023-10-24net: dsa: Use conduit and user termsFlorian Fainelli1-9/+9
2023-10-11net: dsa: mt7530: replace deprecated strncpy with ethtool_sprintfJustin Stitt1-2/+1
2023-10-04net: dsa: mt753x: remove mt753x_phylink_pcs_link_up()Russell King (Oracle)1-11/+0
2023-08-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+4
2023-08-19net: dsa: mt7530: fix handling of 802.1X PAE framesArınç ÜNAL1-0/+4
2023-07-18net: dsa: remove legacy_pre_march2020 from driversRussell King (Oracle)1-6/+0
2023-06-22net: dsa: mt7530: update PCS driver to use neg_modeRussell King (Oracle)1-1/+2
2023-06-20net: dsa: introduce preferred_default_local_cpu_port and use on MT7530Vladimir Oltean1-0/+15
2023-06-20net: dsa: mt7530: fix handling of LLDP framesArınç ÜNAL1-0/+4
2023-06-20net: dsa: mt7530: fix handling of BPDUs on MT7530 switchArınç ÜNAL1-3/+11
2023-06-20net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switchArınç ÜNAL1-1/+1
2023-06-20net: dsa: mt7530: set all CPU ports in MT7531_CPU_PMAPArınç ÜNAL1-7/+8
2023-05-05net: dsa: mt7530: fix network connectivity with multiple CPU portsArınç ÜNAL1-3/+7
2023-05-05net: dsa: mt7530: fix corrupt frames using trgmii on 40 MHz XTAL MT7621Arınç ÜNAL1-2/+2
2023-04-19net: dsa: mt7530: fix support for MT7531BEDaniel Golle1-0/+6
2023-04-03net: dsa: mt7530: introduce driver for MT7988 built-in switchDaniel Golle1-4/+133
2023-04-03net: dsa: mt7530: skip locking if MDIO bus isn't presentDaniel Golle1-2/+4
2023-04-03net: dsa: mt7530: introduce separate MDIO driverDaniel Golle1-256/+8
2023-04-03net: dsa: mt7530: split-off common parts from mt7531_setupDaniel Golle1-44/+55
2023-04-03net: dsa: mt7530: introduce mt7530_remove_common helper functionDaniel Golle1-6/+12
2023-04-03net: dsa: mt7530: introduce mt7530_probe_common helper functionDaniel Golle1-44/+54
2023-04-03net: dsa: mt7530: move p5_intf_modes() function to mt7530.cDaniel Golle1-0/+18
2023-04-03net: dsa: mt7530: introduce mutex helpersDaniel Golle1-37/+36
2023-04-03net: dsa: mt7530: move SGMII PCS creation to mt7530_probe functionDaniel Golle1-6/+7
2023-04-03net: dsa: mt7530: use regmap to access switch register spaceDaniel Golle1-39/+60
2023-04-03net: dsa: mt7530: use unlocked regmap accessorsDaniel Golle1-9/+14
2023-04-03net: dsa: mt7530: refactor SGMII PCS creationDaniel Golle1-24/+50
2023-04-03net: dsa: mt7530: make some noise if register read failsDaniel Golle1-1/+2
2023-03-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-22/+27
2023-03-22net: dsa: mt7530: move setting ssc_delta to PHY_INTERFACE_MODE_TRGMII caseArınç ÜNAL1-5/+4
2023-03-22net: dsa: mt7530: move lowering TRGMII driving to mt7530_setup()Arınç ÜNAL1-11/+11
2023-03-22net: dsa: mt7530: move enabling disabling core clock to mt7530_pll_setup()Arınç ÜNAL1-6/+12
2023-03-20net: dsa: mt7530: use external PCS driverDaniel Golle1-211/+66
2023-03-13net: dsa: mt7530: set PLL frequency and trgmii only when trgmii is usedArınç ÜNAL1-31/+31
2023-03-13net: dsa: mt7530: remove now incorrect comment regarding port 5Arınç ÜNAL1-1/+1
2023-03-08net: dsa: mt7530: permit port 5 to work without port 6 on MT7621 SoCVladimir Oltean1-15/+20
2023-02-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+19
2023-02-07net: dsa: mt7530: don't change PVC_EG_TAG when CPU port becomes VLAN-awareVladimir Oltean1-7/+19
2023-01-17net: dsa: mt7530: Separate C22 and C45 MDIO bus transactionsAndrew Lunn1-43/+44
2022-12-15net: dsa: mt7530: remove redundant assignmentDaniel Golle1-3/+0
2022-09-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+13
2022-09-23net: mt7531: ensure all MACs are powered down before resetAlexander Couzens1-0/+4
2022-09-23net: mt7531: only do PLL once after the resetAlexander Couzens1-6/+9
2022-09-23net: dsa: mt7530: add support for in-band link statusDaniel Golle1-13/+37
2022-09-22net: dsa: mt7530: remove unnecessary dev_set_drvdata()Yang Yingliang1-2/+0
2022-06-14net: dsa: mt7530: get cpu-port via dp->cpu_dp instead of constantFrank Wunderlich1-7/+20
2022-06-14net: dsa: mt7530: rework mt753[01]_setupFrank Wunderlich1-4/+21
2022-06-14net: dsa: mt7530: rework mt7530_hw_vlan_{add,del}Frank Wunderlich1-18/+12
2022-05-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-04-29net: dsa: mt7530: add missing of_node_put() in mt7530_setup()Yang Yingliang1-0/+1
2022-04-26net: dsa: mt753x: fix pcs conversion regressionRussell King (Oracle)1-9/+9
2022-04-12net: dsa: mt7530: mark as non-legacyRussell King (Oracle)1-0/+6
2022-04-12net: dsa: mt7530: move autoneg handling to PCS validationRussell King (Oracle)1-18/+10
2022-04-12net: dsa: mt7530: partially convert to phylink_pcsRussell King (Oracle)1-58/+86
2022-04-12net: dsa: mt7530: switch to use phylink_get_linkmodes()Russell King (Oracle)1-52/+5
2022-04-12net: dsa: mt7530: only indicate linkmodes that can be supportedRussell King (Oracle)1-4/+8
2022-04-12net: dsa: mt7530: drop use of phylink_helper_basex_speed()Russell King (Oracle)1-5/+0
2022-04-12net: dsa: mt7530: remove interface checksRussell King (Oracle)1-82/+0
2022-04-12net: dsa: mt7530: populate supported_interfaces and mac_capabilitiesRussell King (Oracle)1-0/+74
2022-04-12net: dsa: mt7530: 1G can also support 1000BASE-X link modeRussell King (Oracle)1-10/+4
2022-03-17net: dsa: pass extack to dsa_switch_ops :: port_mirror_add()Vladimir Oltean1-1/+1
2022-03-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-03-08net: dsa: mt7530: fix incorrect test in mt753x_phylink_validate()Russell King (Oracle)1-1/+1
2022-02-27net: dsa: pass extack to .port_bridge_join driver methodsVladimir Oltean1-1/+2
2022-02-27net: dsa: request drivers to perform FDB isolationVladimir Oltean1-4/+8
2022-02-10Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-02-08net: dsa: mt7530: fix kernel bug in mdiobus_free() when unbindingVladimir Oltean1-1/+1
2022-01-24net: use bool values to pass bool param of phy_init_eee()Jisheng Zhang1-1/+1
2021-12-08net: dsa: add a "tx_fwd_offload" argument to ->port_bridge_joinVladimir Oltean1-1/+1
2021-12-08net: dsa: keep the bridge_dev and bridge_num as part of the same structureVladimir Oltean1-4/+4
2021-12-08net: dsa: hide dp->bridge_dev and dp->bridge_num in drivers behind helpersVladimir Oltean1-3/+3
2021-12-08net: dsa: mt7530: iterate using dsa_switch_for_each_user_port in bridging opsVladimir Oltean1-22/+30
2021-10-18net: dsa: mt7530: correct ds->num_portsDENG Qingfang1-7/+1
2021-09-19net: dsa: be compatible with masters which unregister on shutdownVladimir Oltean1-0/+18
2021-08-25net: dsa: mt7530: manually set up VLAN ID 0DENG Qingfang1-0/+25
2021-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2021-08-12net: dsa: mt7530: fix VLAN traffic leaks againDENG Qingfang1-4/+1
2021-08-06net: dsa: mt7530: add the missing RxUnicast MIB counterDENG Qingfang1-0/+1
2021-08-06net: dsa: mt7530: drop untagged frames on VLAN-aware ports without PVIDDENG Qingfang1-2/+30
2021-08-06net: dsa: mt7530: remove the .port_set_mrouter implementationVladimir Oltean1-13/+0
2021-08-04net: dsa: mt7530: always install FDB entries with IVL and FID 1DENG Qingfang1-2/+2
2021-08-04net: dsa: mt7530: set STP state on filter ID 1DENG Qingfang1-1/+2
2021-08-04net: dsa: mt7530: use independent VLAN learning on VLAN-unaware bridgesDENG Qingfang1-20/+51
2021-08-04net: dsa: mt7530: enable assisted learning on CPU portDENG Qingfang1-6/+8
2021-08-02net: dsa: mt7530: drop paranoid checks in .get_tag_protocol()Vladimir Oltean1-9/+1
2021-07-20mt7530 mt7530_fdb_write only set ivl bit vid larger than 1Eric Woudstra1-1/+2
2021-07-16mt7530 fix mt7530_fdb_write vid missing ivl bitEric Woudstra1-0/+1
2021-05-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+0
2021-05-23net: dsa: mt7530: fix VLAN traffic leaksDENG Qingfang1-8/+0
2021-05-19net: dsa: mt7530: add interrupt supportDENG Qingfang1-26/+238
2021-04-13net: dsa: mt7530: Add support for EEE featuresRené van Dorst1-0/+43
2021-03-28net: dsa: mt7530: clean up core and TRGMII clock setupIlya Lipnitskiy1-16/+13
2021-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-27/+25
2021-03-16net: dsa: mt7530: support MDB and bridge flag operationsDENG Qingfang1-4/+120
2021-03-12net: dsa: mt7530: setup core clock even in TRGMII modeIlya Lipnitskiy1-27/+25
2021-02-26net: dsa: mt7530: don't build GPIO support if !GPIOLIBDENG Qingfang1-0/+4
2021-02-14net: dsa: propagate extack to .port_vlan_filteringVladimir Oltean1-2/+2
2021-02-14net: dsa: propagate extack to .port_vlan_addVladimir Oltean1-1/+2
2021-01-25net: dsa: mt7530: MT7530 optional GPIO supportDENG Qingfang1-0/+110
2021-01-15net: dsa: set configure_vlan_while_not_filtering to true by defaultVladimir Oltean1-2/+0
2021-01-11net: dsa: remove the transactional logic from VLAN objectsVladimir Oltean1-11/+3
2021-01-11net: switchdev: remove the transaction structure from port attributesVladimir Oltean1-5/+1
2021-01-11net: switchdev: remove vid_begin -> vid_end range from VLAN objectsVladimir Oltean1-19/+13
2020-12-12net: dsa: mt7530: enable MTU normalizationDENG Qingfang1-0/+2
2020-12-08net: dsa: mt7530: support setting ageing timeDENG Qingfang1-0/+41
2020-11-04net: dsa: mt7530: support setting MTUDENG Qingfang1-0/+49
2020-11-02net: dsa: mt7530: remove unneeded semicolonTom Rix1-1/+1
2020-10-05net: dsa: propagate switchdev vlan_filtering prepare phase to driversVladimir Oltean1-1/+5
2020-09-21net: dsa: mt7530: Add some return-value checksAlex Dewar1-9/+22
2020-09-14net: dsa: mt7530: Add the support of MT7531 switchLanden Chao1-24/+887
2020-09-14net: dsa: mt7530: Extend device data ready for adding a new hardwareLanden Chao1-73/+198
2020-09-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds1-2/+5
2020-08-28net: dsa: mt7530: fix advertising unsupported 1000baseT_HalfLanden Chao1-1/+1
2020-08-25net: dsa: mt7530: Add of_node_put() before break and return statementsSumera Priyadarsini1-1/+4
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-7/+2
2020-05-16net: dsa: mt7530: fix roaming from DSA user portsDENG Qingfang1-7/+2
2020-05-15net: dsa: mt7530: fix VLAN setupDENG Qingfang1-12/+1