Skip to content

Commit a3e9c59

Browse files
author
Your Name
committed
Merge branch 'net-next-2025-06-27--09-00' into HEAD
2 parents d0ca596 + 69ae815 commit a3e9c59

File tree

1,052 files changed

+48550
-10872
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,052 files changed

+48550
-10872
lines changed

Documentation/ABI/testing/sysfs-class-net-phydev

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ Description:
2626
This ID is used to match the device with the appropriate
2727
driver.
2828

29+
What: /sys/class/mdio_bus/<bus>/<device>/c45_phy_ids/mmd<n>_device_id
30+
Date: June 2025
31+
KernelVersion: 6.17
32+
33+
Description:
34+
This attribute contains the 32-bit PHY Identifier as reported
35+
by the device during bus enumeration, encoded in hexadecimal.
36+
These C45 IDs are used to match the device with the appropriate
37+
driver. These files are invisible to the C22 device.
38+
2939
What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
3040
Date: February 2014
3141
KernelVersion: 3.15

Documentation/dev-tools/checkpatch.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,15 @@ Comments
495495

496496
See: https://lore.kernel.org/lkml/20131006222342.GT19510@leaf/
497497

498+
**UNCOMMENTED_RGMII_MODE**
499+
Historically, the RGMII PHY modes specified in Device Trees have been
500+
used inconsistently, often referring to the usage of delays on the PHY
501+
side rather than describing the board.
502+
503+
PHY modes "rgmii", "rgmii-rxid" and "rgmii-txid" modes require the clock
504+
signal to be delayed on the PCB; this unusual configuration should be
505+
described in a comment. If they are not (meaning that the delay is realized
506+
internally in the MAC or PHY), "rgmii-id" is the correct PHY mode.
498507

499508
Commit message
500509
--------------
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/airoha,an7583-mdio.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Airoha AN7583 Dedicated MDIO Controller
8+
9+
maintainers:
10+
- Christian Marangi <[email protected]>
11+
12+
description:
13+
Airoha AN7583 SoC have 3 different MDIO Controller.
14+
15+
One comes from the intergated Switch based on MT7530.
16+
17+
The other 2 (that this schema describe) live under the SCU
18+
register supporting both C22 and C45 PHYs.
19+
20+
$ref: mdio.yaml#
21+
22+
properties:
23+
compatible:
24+
const: airoha,an7583-mdio
25+
26+
reg:
27+
enum: [0xc8, 0xcc]
28+
29+
clocks:
30+
maxItems: 1
31+
32+
resets:
33+
maxItems: 1
34+
35+
clock-frequency:
36+
default: 2500000
37+
38+
required:
39+
- compatible
40+
- reg
41+
- clocks
42+
- resets
43+
44+
unevaluatedProperties: false
45+
46+
examples:
47+
- |
48+
system-controller {
49+
#address-cells = <1>;
50+
#size-cells = <0>;
51+
52+
mdio-bus@c8 {
53+
compatible = "airoha,an7583-mdio";
54+
reg = <0xc8>;
55+
56+
clocks = <&scu>;
57+
resets = <&scu>;
58+
};
59+
};

Documentation/devicetree/bindings/net/cdns,macb.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ properties:
6262
- items:
6363
- enum:
6464
- microchip,sam9x7-gem # Microchip SAM9X7 gigabit ethernet interface
65+
- microchip,sama7d65-gem # Microchip SAMA7D65 gigabit ethernet interface
6566
- const: microchip,sama7g5-gem # Microchip SAMA7G5 gigabit ethernet interface
6667

6768
reg:
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/net/dsa/micrel,ks8995.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Micrel KS8995 Family DSA Switches
8+
9+
maintainers:
10+
- Linus Walleij <[email protected]>
11+
12+
description:
13+
The Micrel KS8995 DSA Switches are 100 Mbit switches that were produced in
14+
the early-to-mid 2000s. The chip features a CPU port and four outgoing ports,
15+
each with an internal PHY. The chip itself is managed over SPI, but all the
16+
PHYs need to be accessed from an external MDIO channel.
17+
18+
Further, a fifth PHY is available and can be used separately from the switch
19+
fabric, connected to an external MII interface name MII-P5. This is
20+
unrelated from the CPU-facing port 5 which is used for DSA MII traffic.
21+
22+
properties:
23+
compatible:
24+
enum:
25+
- micrel,ks8995
26+
- micrel,ksz8795
27+
- micrel,ksz8864
28+
29+
reg:
30+
maxItems: 1
31+
32+
reset-gpios:
33+
description: GPIO to be used to reset the whole device
34+
maxItems: 1
35+
36+
allOf:
37+
- $ref: dsa.yaml#/$defs/ethernet-ports
38+
- $ref: /schemas/spi/spi-peripheral-props.yaml#
39+
40+
required:
41+
- compatible
42+
- reg
43+
44+
unevaluatedProperties: false
45+
46+
examples:
47+
- |
48+
#include <dt-bindings/gpio/gpio.h>
49+
50+
spi {
51+
#address-cells = <1>;
52+
#size-cells = <0>;
53+
54+
ethernet-switch@0 {
55+
compatible = "micrel,ks8995";
56+
reg = <0>;
57+
spi-max-frequency = <25000000>;
58+
59+
ethernet-ports {
60+
#address-cells = <1>;
61+
#size-cells = <0>;
62+
63+
ethernet-port@0 {
64+
reg = <0>;
65+
label = "lan1";
66+
};
67+
ethernet-port@1 {
68+
reg = <1>;
69+
label = "lan2";
70+
};
71+
ethernet-port@2 {
72+
reg = <2>;
73+
label = "lan3";
74+
};
75+
ethernet-port@3 {
76+
reg = <3>;
77+
label = "lan4";
78+
};
79+
ethernet-port@4 {
80+
reg = <4>;
81+
ethernet = <&mac2>;
82+
phy-mode = "mii";
83+
fixed-link {
84+
speed = <100>;
85+
full-duplex;
86+
};
87+
};
88+
};
89+
};
90+
};
91+
92+
soc {
93+
#address-cells = <1>;
94+
#size-cells = <1>;
95+
96+
/* The WAN port connected on MII-P5 */
97+
ethernet-port@1000 {
98+
reg = <0x00001000 0x1000>;
99+
label = "wan";
100+
phy-mode = "mii";
101+
phy-handle = <&phy5>;
102+
};
103+
104+
mac2: ethernet-port@2000 {
105+
reg = <0x00002000 0x1000>;
106+
phy-mode = "mii";
107+
fixed-link {
108+
speed = <100>;
109+
full-duplex;
110+
};
111+
};
112+
};
113+
114+
mdio {
115+
#address-cells = <1>;
116+
#size-cells = <0>;
117+
118+
/* LAN PHYs 1-4 accessible over external MDIO */
119+
phy1: ethernet-phy@1 {
120+
reg = <1>;
121+
};
122+
phy2: ethernet-phy@2 {
123+
reg = <2>;
124+
};
125+
phy3: ethernet-phy@3 {
126+
reg = <3>;
127+
};
128+
phy4: ethernet-phy@4 {
129+
reg = <4>;
130+
};
131+
/* WAN PHY accessible over external MDIO */
132+
phy5: ethernet-phy@5 {
133+
reg = <5>;
134+
};
135+
};

Documentation/devicetree/bindings/net/micrel-ks8995.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

Documentation/devicetree/bindings/net/nfc/ti,trf7970a.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ properties:
5555
description: |
5656
Regulator for supply voltage to VIN pin
5757
58+
ti,rx-gain-reduction-db:
59+
$ref: /schemas/types.yaml#/definitions/uint32
60+
description: |
61+
Specify an RX gain reduction to reduce antenna sensitivity with 5dB per
62+
increment, with a maximum of 15dB. Supported values: [0, 5, 10, 15].
63+
5864
required:
5965
- compatible
6066
- interrupts
@@ -95,5 +101,6 @@ examples:
95101
irq-status-read-quirk;
96102
en2-rf-quirk;
97103
clock-frequency = <27120000>;
104+
ti,rx-gain-reduction-db = <15>;
98105
};
99106
};

Documentation/devicetree/bindings/net/pse-pd/microchip,pd692x0.yaml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ properties:
2222
reg:
2323
maxItems: 1
2424

25+
vdd-supply:
26+
description: Regulator that provides 3.3V VDD power supply.
27+
28+
vdda-supply:
29+
description: Regulator that provides 3.3V VDDA power supply.
30+
2531
managers:
2632
type: object
2733
additionalProperties: false
@@ -68,6 +74,15 @@ properties:
6874
"#size-cells":
6975
const: 0
7076

77+
vmain-supply:
78+
description: Regulator that provides 44-57V VMAIN power supply.
79+
80+
vaux5-supply:
81+
description: Regulator that provides 5V VAUX5 power supply.
82+
83+
vaux3p3-supply:
84+
description: Regulator that provides 3.3V VAUX3P3 power supply.
85+
7186
patternProperties:
7287
'^port@[0-7]$':
7388
type: object
@@ -106,10 +121,11 @@ examples:
106121
#address-cells = <1>;
107122
#size-cells = <0>;
108123
109-
manager@0 {
124+
manager0: manager@0 {
110125
reg = <0>;
111126
#address-cells = <1>;
112127
#size-cells = <0>;
128+
vmain-supply = <&pse1_supply>;
113129
114130
phys0: port@0 {
115131
reg = <0>;
@@ -161,15 +177,15 @@ examples:
161177
pairset-names = "alternative-a", "alternative-b";
162178
pairsets = <&phys0>, <&phys1>;
163179
polarity-supported = "MDI", "S";
164-
vpwr-supply = <&vpwr1>;
180+
vpwr-supply = <&manager0>;
165181
};
166182
pse_pi1: pse-pi@1 {
167183
reg = <1>;
168184
#pse-cells = <0>;
169185
pairset-names = "alternative-a";
170186
pairsets = <&phys2>;
171187
polarity-supported = "MDI";
172-
vpwr-supply = <&vpwr2>;
188+
vpwr-supply = <&manager0>;
173189
};
174190
};
175191
};

Documentation/devicetree/bindings/net/pse-pd/ti,tps23881.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,22 @@ properties:
2020
reg:
2121
maxItems: 1
2222

23+
interrupts:
24+
maxItems: 1
25+
2326
'#pse-cells':
2427
const: 1
2528

2629
reset-gpios:
2730
maxItems: 1
2831

2932
channels:
30-
description: each set of 8 ports can be assigned to one physical
31-
channels or two for PoE4. This parameter describes the configuration
32-
of the ports conversion matrix that establishes relationship between
33-
the logical ports and the physical channels.
33+
description: |
34+
Defines the 8 physical delivery channels on the controller that can
35+
be referenced by PSE PIs through their "pairsets" property. The actual
36+
port matrix mapping is created when PSE PIs reference these channels in
37+
their pairsets. For 4-pair operation, two channels from the same group
38+
(0-3 or 4-7) must be referenced by a single PSE PI.
3439
type: object
3540
additionalProperties: false
3641

@@ -62,16 +67,21 @@ unevaluatedProperties: false
6267
required:
6368
- compatible
6469
- reg
70+
- interrupts
6571

6672
examples:
6773
- |
74+
#include <dt-bindings/interrupt-controller/irq.h>
75+
6876
i2c {
6977
#address-cells = <1>;
7078
#size-cells = <0>;
7179
7280
ethernet-pse@20 {
7381
compatible = "ti,tps23881";
7482
reg = <0x20>;
83+
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
84+
interrupt-parent = <&gpiog>;
7585
7686
channels {
7787
#address-cells = <1>;

0 commit comments

Comments
 (0)