diff options
62 files changed, 1017 insertions, 447 deletions
diff --git a/Documentation/devicetree/bindings/net/apm-xgene-enet.txt b/Documentation/devicetree/bindings/net/apm-xgene-enet.txt index ebcad25efd0a..cfcc52705ed8 100644 --- a/Documentation/devicetree/bindings/net/apm-xgene-enet.txt +++ b/Documentation/devicetree/bindings/net/apm-xgene-enet.txt | |||
| @@ -3,7 +3,7 @@ APM X-Gene SoC Ethernet nodes | |||
| 3 | Ethernet nodes are defined to describe on-chip ethernet interfaces in | 3 | Ethernet nodes are defined to describe on-chip ethernet interfaces in |
| 4 | APM X-Gene SoC. | 4 | APM X-Gene SoC. |
| 5 | 5 | ||
| 6 | Required properties: | 6 | Required properties for all the ethernet interfaces: |
| 7 | - compatible: Should be "apm,xgene-enet" | 7 | - compatible: Should be "apm,xgene-enet" |
| 8 | - reg: Address and length of the register set for the device. It contains the | 8 | - reg: Address and length of the register set for the device. It contains the |
| 9 | information of registers in the same order as described by reg-names | 9 | information of registers in the same order as described by reg-names |
| @@ -15,6 +15,8 @@ Required properties: | |||
| 15 | - clocks: Reference to the clock entry. | 15 | - clocks: Reference to the clock entry. |
| 16 | - local-mac-address: MAC address assigned to this device | 16 | - local-mac-address: MAC address assigned to this device |
| 17 | - phy-connection-type: Interface type between ethernet device and PHY device | 17 | - phy-connection-type: Interface type between ethernet device and PHY device |
| 18 | |||
| 19 | Required properties for ethernet interfaces that have external PHY: | ||
| 18 | - phy-handle: Reference to a PHY node connected to this device | 20 | - phy-handle: Reference to a PHY node connected to this device |
| 19 | 21 | ||
| 20 | - mdio: Device tree subnode with the following required properties: | 22 | - mdio: Device tree subnode with the following required properties: |
diff --git a/Documentation/devicetree/bindings/net/micrel.txt b/Documentation/devicetree/bindings/net/micrel.txt index 98a3e61f9ee8..e1d99b95c4ec 100644 --- a/Documentation/devicetree/bindings/net/micrel.txt +++ b/Documentation/devicetree/bindings/net/micrel.txt | |||
| @@ -16,3 +16,9 @@ Optional properties: | |||
| 16 | KSZ8051: register 0x1f, bits 5..4 | 16 | KSZ8051: register 0x1f, bits 5..4 |
| 17 | 17 | ||
| 18 | See the respective PHY datasheet for the mode values. | 18 | See the respective PHY datasheet for the mode values. |
| 19 | |||
| 20 | - clocks, clock-names: contains clocks according to the common clock bindings. | ||
| 21 | |||
| 22 | supported clocks: | ||
| 23 | - KSZ8021, KSZ8031: "rmii-ref": The RMII refence input clock. Used | ||
| 24 | to determine the XI input clock. | ||
diff --git a/Documentation/networking/filter.txt b/Documentation/networking/filter.txt index b1935f9ce081..58d08f8d8d80 100644 --- a/Documentation/networking/filter.txt +++ b/Documentation/networking/filter.txt | |||
| @@ -700,11 +700,11 @@ Some core changes of the new internal format: | |||
| 700 | bpf_exit | 700 | bpf_exit |
| 701 | 701 | ||
| 702 | If f2 is JITed and the pointer stored to '_f2'. The calls f1 -> f2 -> f3 and | 702 | If f2 is JITed and the pointer stored to '_f2'. The calls f1 -> f2 -> f3 and |
| 703 | returns will be seamless. Without JIT, __sk_run_filter() interpreter needs to | 703 | returns will be seamless. Without JIT, __bpf_prog_run() interpreter needs to |
| 704 | be used to call into f2. | 704 | be used to call into f2. |
| 705 | 705 | ||
| 706 | For practical reasons all eBPF programs have only one argument 'ctx' which is | 706 | For practical reasons all eBPF programs have only one argument 'ctx' which is |
| 707 | already placed into R1 (e.g. on __sk_run_filter() startup) and the programs | 707 | already placed into R1 (e.g. on __bpf_prog_run() startup) and the programs |
| 708 | can call kernel functions with up to 5 arguments. Calls with 6 or more arguments | 708 | can call kernel functions with up to 5 arguments. Calls with 6 or more arguments |
| 709 | are currently not supported, but these restrictions can be lifted if necessary | 709 | are currently not supported, but these restrictions can be lifted if necessary |
| 710 | in the future. | 710 | in the future. |
diff --git a/MAINTAINERS b/MAINTAINERS index 1e53b32fa07b..d6964389f028 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -734,7 +734,6 @@ F: net/appletalk/ | |||
| 734 | APPLIED MICRO (APM) X-GENE SOC ETHERNET DRIVER | 734 | APPLIED MICRO (APM) X-GENE SOC ETHERNET DRIVER |
| 735 | M: Iyappan Subramanian <isubramanian@apm.com> | 735 | M: Iyappan Subramanian <isubramanian@apm.com> |
| 736 | M: Keyur Chudgar <kchudgar@apm.com> | 736 | M: Keyur Chudgar <kchudgar@apm.com> |
| 737 | M: Ravi Patel <rapatel@apm.com> | ||
| 738 | S: Supported | 737 | S: Supported |
| 739 | F: drivers/net/ethernet/apm/xgene/ | 738 | F: drivers/net/ethernet/apm/xgene/ |
| 740 | F: Documentation/devicetree/bindings/net/apm-xgene-enet.txt | 739 | F: Documentation/devicetree/bindings/net/apm-xgene-enet.txt |
diff --git a/arch/arm64/boot/dts/apm-mustang.dts b/arch/arm64/boot/dts/apm-mustang.dts index f64900052f4e..8eb6d94c7851 100644 --- a/arch/arm64/boot/dts/apm-mustang.dts +++ b/arch/arm64/boot/dts/apm-mustang.dts | |||
| @@ -40,3 +40,7 @@ | |||
| 40 | &menet { | 40 | &menet { |
| 41 | status = "ok"; | 41 | status = "ok"; |
| 42 | }; | 42 | }; |
| 43 | |||
| 44 | &xgenet { | ||
| 45 | status = "ok"; | ||
| 46 | }; | ||
diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index 4f6d04d52cca..87d3205e98d5 100644 --- a/arch/arm64/boot/dts/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm-storm.dtsi | |||
| @@ -176,6 +176,16 @@ | |||
| 176 | clock-output-names = "menetclk"; | 176 | clock-output-names = "menetclk"; |
| 177 | }; | 177 | }; |
| 178 | 178 | ||
