Skip to content

Commit bd2463a

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
Pull networking updates from David Miller: 1) Add WireGuard 2) Add HE and TWT support to ath11k driver, from John Crispin. 3) Add ESP in TCP encapsulation support, from Sabrina Dubroca. 4) Add variable window congestion control to TIPC, from Jon Maloy. 5) Add BCM84881 PHY driver, from Russell King. 6) Start adding netlink support for ethtool operations, from Michal Kubecek. 7) Add XDP drop and TX action support to ena driver, from Sameeh Jubran. 8) Add new ipv4 route notifications so that mlxsw driver does not have to handle identical routes itself. From Ido Schimmel. 9) Add BPF dynamic program extensions, from Alexei Starovoitov. 10) Support RX and TX timestamping in igc, from Vinicius Costa Gomes. 11) Add support for macsec HW offloading, from Antoine Tenart. 12) Add initial support for MPTCP protocol, from Christoph Paasch, Matthieu Baerts, Florian Westphal, Peter Krystad, and many others. 13) Add Octeontx2 PF support, from Sunil Goutham, Geetha sowjanya, Linu Cherian, and others. * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (1469 commits) net: phy: add default ARCH_BCM_IPROC for MDIO_BCM_IPROC udp: segment looped gso packets correctly netem: change mailing list qed: FW 8.42.2.0 debug features qed: rt init valid initialization changed qed: Debug feature: ilt and mdump qed: FW 8.42.2.0 Add fw overlay feature qed: FW 8.42.2.0 HSI changes qed: FW 8.42.2.0 iscsi/fcoe changes qed: Add abstraction for different hsi values per chip qed: FW 8.42.2.0 Additional ll2 type qed: Use dmae to write to widebus registers in fw_funcs qed: FW 8.42.2.0 Parser offsets modified qed: FW 8.42.2.0 Queue Manager changes qed: FW 8.42.2.0 Expose new registers and change windows qed: FW 8.42.2.0 Internal ram offsets modifications MAINTAINERS: Add entry for Marvell OcteonTX2 Physical Function driver Documentation: net: octeontx2: Add RVU HW and drivers overview octeontx2-pf: ethtool RSS config support octeontx2-pf: Add basic ethtool support ...
2 parents a78208e + f76e4c1 commit bd2463a

File tree

1,827 files changed

+157546
-32784
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,827 files changed

+157546
-32784
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
What: /sys/bus/mdio_bus/devices/.../statistics/
2+
Date: January 2020
3+
KernelVersion: 5.6
4+
5+
Description:
6+
This folder contains statistics about global and per
7+
MDIO bus address statistics.
8+
9+
What: /sys/bus/mdio_bus/devices/.../statistics/transfers
10+
Date: January 2020
11+
KernelVersion: 5.6
12+
13+
Description:
14+
Total number of transfers for this MDIO bus.
15+
16+
What: /sys/bus/mdio_bus/devices/.../statistics/errors
17+
Date: January 2020
18+
KernelVersion: 5.6
19+
20+
Description:
21+
Total number of transfer errors for this MDIO bus.
22+
23+
What: /sys/bus/mdio_bus/devices/.../statistics/writes
24+
Date: January 2020
25+
KernelVersion: 5.6
26+
27+
Description:
28+
Total number of write transactions for this MDIO bus.
29+
30+
What: /sys/bus/mdio_bus/devices/.../statistics/reads
31+
Date: January 2020
32+
KernelVersion: 5.6
33+
34+
Description:
35+
Total number of read transactions for this MDIO bus.
36+
37+
What: /sys/bus/mdio_bus/devices/.../statistics/transfers_<addr>
38+
Date: January 2020
39+
KernelVersion: 5.6
40+
41+
Description:
42+
Total number of transfers for this MDIO bus address.
43+
44+
What: /sys/bus/mdio_bus/devices/.../statistics/errors_<addr>
45+
Date: January 2020
46+
KernelVersion: 5.6
47+
48+
Description:
49+
Total number of transfer errors for this MDIO bus address.
50+
51+
What: /sys/bus/mdio_bus/devices/.../statistics/writes_<addr>
52+
Date: January 2020
53+
KernelVersion: 5.6
54+
55+
Description:
56+
Total number of write transactions for this MDIO bus address.
57+
58+
What: /sys/bus/mdio_bus/devices/.../statistics/reads_<addr>
59+
Date: January 2020
60+
KernelVersion: 5.6
61+
62+
Description:
63+
Total number of read transactions for this MDIO bus address.

Documentation/devicetree/bindings/net/broadcom-bluetooth.txt

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Required properties:
1111

1212
- compatible: should contain one of the following:
1313
* "brcm,bcm20702a1"
14+
* "brcm,bcm4329-bt"
1415
* "brcm,bcm4330-bt"
1516
* "brcm,bcm43438-bt"
1617
* "brcm,bcm4345c5"
@@ -22,15 +23,24 @@ Optional properties:
2223
- max-speed: see Documentation/devicetree/bindings/serial/slave-device.txt
2324
- shutdown-gpios: GPIO specifier, used to enable the BT module
2425
- device-wakeup-gpios: GPIO specifier, used to wakeup the controller
25-
- host-wakeup-gpios: GPIO specifier, used to wakeup the host processor
26+
- host-wakeup-gpios: GPIO specifier, used to wakeup the host processor.
27+
deprecated, replaced by interrupts and
28+
"host-wakeup" interrupt-names
2629
- clocks: 1 or 2 clocks as defined in clock-names below, in that order
2730
- clock-names: names for clock inputs, matching the clocks given
2831
- "extclk": deprecated, replaced by "txco"
2932
- "txco": external reference clock (not a standalone crystal)
3033
- "lpo": external low power 32.768 kHz clock
3134
- vbat-supply: phandle to regulator supply for VBAT
3235
- vddio-supply: phandle to regulator supply for VDDIO
33-
36+
- brcm,bt-pcm-int-params: configure PCM parameters via a 5-byte array
37+
- sco-routing: 0 = PCM, 1 = Transport, 2 = Codec, 3 = I2S
38+
- pcm-interface-rate: 128KBps, 256KBps, 512KBps, 1024KBps, 2048KBps
39+
- pcm-frame-type: short, long
40+
- pcm-sync-mode: slave, master
41+
- pcm-clock-mode: slave, master
42+
- interrupts: must be one, used to wakeup the host processor
43+
- interrupt-names: must be "host-wakeup"
3444

3545
Example:
3646

@@ -41,5 +51,6 @@ Example:
4151
bluetooth {
4252
compatible = "brcm,bcm43438-bt";
4353
max-speed = <921600>;
54+
brcm,bt-pcm-int-params = [01 02 00 01 01];
4455
};
4556
};
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
Atheros AR9331 built-in switch
2+
=============================
3+
4+
It is a switch built-in to Atheros AR9331 WiSoC and addressable over internal
5+
MDIO bus. All PHYs are built-in as well.
6+
7+
Required properties:
8+
9+
- compatible: should be: "qca,ar9331-switch"
10+
- reg: Address on the MII bus for the switch.
11+
- resets : Must contain an entry for each entry in reset-names.
12+
- reset-names : Must include the following entries: "switch"
13+
- interrupt-parent: Phandle to the parent interrupt controller
14+
- interrupts: IRQ line for the switch
15+
- interrupt-controller: Indicates the switch is itself an interrupt
16+
controller. This is used for the PHY interrupts.
17+
- #interrupt-cells: must be 1
18+
- mdio: Container of PHY and devices on the switches MDIO bus.
19+
20+
See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional
21+
required and optional properties.
22+
Examples:
23+
24+
eth0: ethernet@19000000 {
25+
compatible = "qca,ar9330-eth";
26+
reg = <0x19000000 0x200>;
27+
interrupts = <4>;
28+
29+
resets = <&rst 9>, <&rst 22>;
30+
reset-names = "mac", "mdio";
31+
clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>;
32+
clock-names = "eth", "mdio";
33+
34+
phy-mode = "mii";
35+
phy-handle = <&phy_port4>;
36+
};
37+
38+
eth1: ethernet@1a000000 {
39+
compatible = "qca,ar9330-eth";
40+
reg = <0x1a000000 0x200>;
41+
interrupts = <5>;
42+
resets = <&rst 13>, <&rst 23>;
43+
reset-names = "mac", "mdio";
44+
clocks = <&pll ATH79_CLK_AHB>, <&pll ATH79_CLK_AHB>;
45+
clock-names = "eth", "mdio";
46+
47+
phy-mode = "gmii";
48+
49+
fixed-link {
50+
speed = <1000>;
51+
full-duplex;
52+
};
53+
54+
mdio {
55+
#address-cells = <1>;
56+
#size-cells = <0>;
57+
58+
switch10: switch@10 {
59+
#address-cells = <1>;
60+
#size-cells = <0>;
61+
62+
compatible = "qca,ar9331-switch";
63+
reg = <0x10>;
64+
resets = <&rst 8>;
65+
reset-names = "switch";
66+
67+
interrupt-parent = <&miscintc>;
68+
interrupts = <12>;
69+
70+
interrupt-controller;
71+
#interrupt-cells = <1>;
72+
73+
ports {
74+
#address-cells = <1>;
75+
#size-cells = <0>;
76+
77+
switch_port0: port@0 {
78+
reg = <0x0>;
79+
label = "cpu";
80+
ethernet = <&eth1>;
81+
82+
phy-mode = "gmii";
83+
84+
fixed-link {
85+
speed = <1000>;
86+
full-duplex;
87+
};
88+
};
89+
90+
switch_port1: port@1 {
91+
reg = <0x1>;
92+
phy-handle = <&phy_port0>;
93+
phy-mode = "internal";
94+
};
95+
96+
switch_port2: port@2 {
97+
reg = <0x2>;
98+
phy-handle = <&phy_port1>;
99+
phy-mode = "internal";
100+
};
101+
102+
switch_port3: port@3 {
103+
reg = <0x3>;
104+
phy-handle = <&phy_port2>;
105+
phy-mode = "internal";
106+
};
107+
108+
switch_port4: port@4 {
109+
reg = <0x4>;
110+
phy-handle = <&phy_port3>;
111+
phy-mode = "internal";
112+
};
113+
};
114+
115+
mdio {
116+
#address-cells = <1>;
117+
#size-cells = <0>;
118+
119+
interrupt-parent = <&switch10>;
120+
121+
phy_port0: phy@0 {
122+
reg = <0x0>;
123+
interrupts = <0>;
124+
};
125+
126+
phy_port1: phy@1 {
127+
reg = <0x1>;
128+
interrupts = <0>;
129+
};
130+
131+
phy_port2: phy@2 {
132+
reg = <0x2>;
133+
interrupts = <0>;
134+
};
135+
136+
phy_port3: phy@3 {
137+
reg = <0x3>;
138+
interrupts = <0>;
139+
};
140+
141+
phy_port4: phy@4 {
142+
reg = <0x4>;
143+
interrupts = <0>;
144+
};
145+
};
146+
};
147+
};
148+
};

Documentation/devicetree/bindings/net/mediatek-dwmac.txt

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Required properties:
1414
Should be "macirq" for the main MAC IRQ
1515
- clocks: Must contain a phandle for each entry in clock-names.
1616
- clock-names: The name of the clock listed in the clocks property. These are
17-
"axi", "apb", "mac_main", "ptp_ref" for MT2712 SoC
17+
"axi", "apb", "mac_main", "ptp_ref", "rmii_internal" for MT2712 SoC.
1818
- mac-address: See ethernet.txt in the same directory
1919
- phy-mode: See ethernet.txt in the same directory
2020
- mediatek,pericfg: A phandle to the syscon node that control ethernet
@@ -23,8 +23,10 @@ Required properties:
2323
Optional properties:
2424
- mediatek,tx-delay-ps: TX clock delay macro value. Default is 0.
2525
It should be defined for RGMII/MII interface.
26+
It should be defined for RMII interface when the reference clock is from MT2712 SoC.
2627
- mediatek,rx-delay-ps: RX clock delay macro value. Default is 0.
27-
It should be defined for RGMII/MII/RMII interface.
28+
It should be defined for RGMII/MII interface.
29+
It should be defined for RMII interface.
2830
Both delay properties need to be a multiple of 170 for RGMII interface,
2931
or will round down. Range 0~31*170.
3032
Both delay properties need to be a multiple of 550 for MII/RMII interface,
@@ -34,13 +36,20 @@ or will round down. Range 0~31*550.
3436
reference clock, which is from external PHYs, is connected to RXC pin
3537
on MT2712 SoC.
3638
Otherwise, is connected to TXC pin.
39+
- mediatek,rmii-clk-from-mac: boolean property, if present indicates that
40+
MT2712 SoC provides the RMII reference clock, which outputs to TXC pin only.
3741
- mediatek,txc-inverse: boolean property, if present indicates that
3842
1. tx clock will be inversed in MII/RGMII case,
3943
2. tx clock inside MAC will be inversed relative to reference clock
4044
which is from external PHYs in RMII case, and it rarely happen.
45+
3. the reference clock, which outputs to TXC pin will be inversed in RMII case
46+
when the reference clock is from MT2712 SoC.
4147
- mediatek,rxc-inverse: boolean property, if present indicates that
4248
1. rx clock will be inversed in MII/RGMII case.
43-
2. reference clock will be inversed when arrived at MAC in RMII case.
49+
2. reference clock will be inversed when arrived at MAC in RMII case, when
50+
the reference clock is from external PHYs.
51+
3. the inside clock, which be sent to MAC, will be inversed in RMII case when
52+
the reference clock is from MT2712 SoC.
4453
- assigned-clocks: mac_main and ptp_ref clocks
4554
- assigned-clock-parents: parent clocks of the assigned clocks
4655

@@ -50,29 +59,33 @@ Example:
5059
reg = <0 0x1101c000 0 0x1300>;
5160
interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_LOW>;
5261
interrupt-names = "macirq";
53-
phy-mode ="rgmii";
62+
phy-mode ="rgmii-rxid";
5463
mac-address = [00 55 7b b5 7d f7];
5564
clock-names = "axi",
5665
"apb",
5766
"mac_main",
5867
"ptp_ref",
59-
"ptp_top";
68+
"rmii_internal";
6069
clocks = <&pericfg CLK_PERI_GMAC>,
6170
<&pericfg CLK_PERI_GMAC_PCLK>,
6271
<&topckgen CLK_TOP_ETHER_125M_SEL>,
63-
<&topckgen CLK_TOP_ETHER_50M_SEL>;
72+
<&topckgen CLK_TOP_ETHER_50M_SEL>,
73+
<&topckgen CLK_TOP_ETHER_50M_RMII_SEL>;
6474
assigned-clocks = <&topckgen CLK_TOP_ETHER_125M_SEL>,
65-
<&topckgen CLK_TOP_ETHER_50M_SEL>;
75+
<&topckgen CLK_TOP_ETHER_50M_SEL>,
76+
<&topckgen CLK_TOP_ETHER_50M_RMII_SEL>;
6677
assigned-clock-parents = <&topckgen CLK_TOP_ETHERPLL_125M>,
67-
<&topckgen CLK_TOP_APLL1_D3>;
78+
<&topckgen CLK_TOP_APLL1_D3>,
79+
<&topckgen CLK_TOP_ETHERPLL_50M>;
80+
power-domains = <&scpsys MT2712_POWER_DOMAIN_AUDIO>;
6881
mediatek,pericfg = <&pericfg>;
6982
mediatek,tx-delay-ps = <1530>;
7083
mediatek,rx-delay-ps = <1530>;
7184
mediatek,rmii-rxc;
7285
mediatek,txc-inverse;
7386
mediatek,rxc-inverse;
74-
snps,txpbl = <32>;
75-
snps,rxpbl = <32>;
87+
snps,txpbl = <1>;
88+
snps,rxpbl = <1>;
7689
snps,reset-gpio = <&pio 87 GPIO_ACTIVE_LOW>;
7790
snps,reset-active-low;
7891
};

Documentation/devicetree/bindings/net/ti,dp83867.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Required properties:
88
- ti,tx-internal-delay - RGMII Transmit Clock Delay - see dt-bindings/net/ti-dp83867.h
99
for applicable values. Required only if interface type is
1010
PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_TXID
11-
- ti,fifo-depth - Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h
12-
for applicable values
1311

1412
Note: If the interface type is PHY_INTERFACE_MODE_RGMII the TX/RX clock delays
1513
will be left at their default values, as set by the PHY's pin strapping.
@@ -42,6 +40,14 @@ Optional property:
4240
Some MACs work with differential SGMII clock.
4341
See data manual for details.
4442

43+
- ti,fifo-depth - Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h
44+
for applicable values (deprecated)
45+
46+
-tx-fifo-depth - As defined in the ethernet-controller.yaml. Values for
47+
the depth can be found in dt-bindings/net/ti-dp83867.h
48+
-rx-fifo-depth - As defined in the ethernet-controller.yaml. Values for
49+
the depth can be found in dt-bindings/net/ti-dp83867.h
50+
4551
Note: ti,min-output-impedance and ti,max-output-impedance are mutually
4652
exclusive. When both properties are present ti,max-output-impedance
4753
takes precedence.
@@ -55,7 +61,7 @@ Example:
5561
reg = <0>;
5662
ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
5763
ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_75_NS>;
58-
ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
64+
tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
5965
};
6066

6167
Datasheet can be found:

Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Optional properties:
5050
entry in clock-names.
5151
- clock-names: Should contain the clock names "wifi_wcss_cmd", "wifi_wcss_ref",
5252
"wifi_wcss_rtc" for "qcom,ipq4019-wifi" compatible target and
53-
"cxo_ref_clk_pin" for "qcom,wcn3990-wifi"
53+
"cxo_ref_clk_pin" and optionally "qdss" for "qcom,wcn3990-wifi"
5454
compatible target.
5555
- qcom,msi_addr: MSI interrupt address.
5656
- qcom,msi_base: Base value to add before writing MSI data into
@@ -88,6 +88,9 @@ Optional properties:
8888
of the host capability QMI request
8989
- qcom,xo-cal-data: xo cal offset to be configured in xo trim register.
9090

91+
- qcom,msa-fixed-perm: Boolean context flag to disable SCM call for statically
92+
mapped msa region.
93+
9194
Example (to supply PCI based wifi block details):
9295

9396
In this example, the node is defined as child node of the PCI controller.
@@ -185,4 +188,5 @@ wifi@18000000 {
185188
vdd-3.3-ch0-supply = <&vreg_l25a_3p3>;
186189
memory-region = <&wifi_msa_mem>;
187190
iommus = <&apps_smmu 0x0040 0x1>;
191+
qcom,msa-fixed-perm;
188192
};

0 commit comments

Comments
 (0)