-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller: "Highlights: 1) Support SPI based w5100 devices, from Akinobu Mita. 2) Partial Segmentation Offload, from Alexander Duyck. 3) Add GMAC4 support to stmmac driver, from Alexandre TORGUE. 4) Allow cls_flower stats offload, from Amir Vadai. 5) Implement bpf blinding, from Daniel Borkmann. 6) Optimize _ASYNC_ bit twiddling on sockets, unless the socket is actually using FASYNC these atomics are superfluous. From Eric Dumazet. 7) Run TCP more preemptibly, also from Eric Dumazet. 8) Support LED blinking, EEPROM dumps, and rxvlan offloading in mlx5e driver, from Gal Pressman. 9) Allow creating ppp devices via rtnetlink, from Guillaume Nault. 10) Improve BPF usage documentation, from Jesper Dangaard Brouer. 11) Support tunneling offloads in qed, from Manish Chopra. 12) aRFS offloading in mlx5e, from Maor Gottlieb. 13) Add RFS and RPS support to SCTP protocol, from Marcelo Ricardo Leitner. 14) Add MSG_EOR support to TCP, this allows controlling packet coalescing on application record boundaries for more accurate socket timestamp sampling. From Martin KaFai Lau. 15) Fix alignment of 64-bit netlink attributes across the board, from Nicolas Dichtel. 16) Per-vlan stats in bridging, from Nikolay Aleksandrov. 17) Several conversions of drivers to ethtool ksettings, from Philippe Reynes. 18) Checksum neutral ILA in ipv6, from Tom Herbert. 19) Factorize all of the various marvell dsa drivers into one, from Vivien Didelot 20) Add VF support to qed driver, from Yuval Mintz" * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1649 commits) Revert "phy dp83867: Fix compilation with CONFIG_OF_MDIO=m" Revert "phy dp83867: Make rgmii parameters optional" r8169: default to 64-bit DMA on recent PCIe chips phy dp83867: Make rgmii parameters optional phy dp83867: Fix compilation with CONFIG_OF_MDIO=m bpf: arm64: remove callee-save registers use for tmp registers asix: Fix offset calculation in asix_rx_fixup() causing slow transmissions switchdev: pass pointer to fib_info instead of copy net_sched: close another race condition in tcf_mirred_release() tipc: fix nametable publication field in nl compat drivers: net: Don't print unpopulated net_device name qed: add support for dcbx. ravb: Add missing free_irq() calls to ravb_close() qed: Remove a stray tab net: ethernet: fec-mpc52xx: use phy_ethtool_{get|set}_link_ksettings net: ethernet: fec-mpc52xx: use phydev from struct net_device bpf, doc: fix typo on bpf_asm descriptions stmmac: hardware TX COE doesn't work when force_thresh_dma_mode is set net: ethernet: fs-enet: use phy_ethtool_{get|set}_link_ksettings net: ethernet: fs-enet: use phydev from struct net_device ...
- Loading branch information
Showing
1,516 changed files
with
76,546 additions
and
34,299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Marvell DSA Switch Device Tree Bindings | ||
--------------------------------------- | ||
|
||
WARNING: This binding is currently unstable. Do not program it into a | ||
FLASH never to be changed again. Once this binding is stable, this | ||
warning will be removed. | ||
|
||
If you need a stable binding, use the old dsa.txt binding. | ||
|
||
Marvell Switches are MDIO devices. The following properties should be | ||
placed as a child node of an mdio device. | ||
|
||
The properties described here are those specific to Marvell devices. | ||
Additional required and optional properties can be found in dsa.txt. | ||
|
||
Required properties: | ||
- compatible : Should be one of "marvell,mv88e6085", | ||
- reg : Address on the MII bus for the switch. | ||
|
||
Optional properties: | ||
|
||
- reset-gpios : Should be a gpio specifier for a reset line | ||
|
||
Example: | ||
|
||
mdio { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
switch0: switch@0 { | ||
compatible = "marvell,mv88e6085"; | ||
reg = <0>; | ||
reset-gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
Documentation/devicetree/bindings/net/marvell-bt-sd8xxx.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
Marvell 8897/8997 (sd8897/sd8997) bluetooth SDIO devices | ||
------ | ||
|
||
Required properties: | ||
|
||
- compatible : should be one of the following: | ||
* "marvell,sd8897-bt" | ||
* "marvell,sd8997-bt" | ||
|
||
Optional properties: | ||
|
||
- marvell,cal-data: Calibration data downloaded to the device during | ||
initialization. This is an array of 28 values(u8). | ||
|
||
- marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip. | ||
firmware will use the pin to wakeup host system. | ||
- marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host | ||
platform. The value will be configured to firmware. This | ||
is needed to work chip's sleep feature as expected. | ||
- interrupt-parent: phandle of the parent interrupt controller | ||
- interrupts : interrupt pin number to the cpu. Driver will request an irq based | ||
on this interrupt number. During system suspend, the irq will be | ||
enabled so that the bluetooth chip can wakeup host platform under | ||
certain condition. During system resume, the irq will be disabled | ||
to make sure unnecessary interrupt is not received. | ||
|
||
Example: | ||
|
||
IRQ pin 119 is used as system wakeup source interrupt. | ||
wakeup pin 13 and gap 100ms are configured so that firmware can wakeup host | ||
using this device side pin and wakeup latency. | ||
calibration data is also available in below example. | ||
|
||
&mmc3 { | ||
status = "okay"; | ||
vmmc-supply = <&wlan_en_reg>; | ||
bus-width = <4>; | ||
cap-power-off-card; | ||
keep-power-in-suspend; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
btmrvl: bluetooth@2 { | ||
compatible = "marvell,sd8897-bt"; | ||
reg = <2>; | ||
interrupt-parent = <&pio>; | ||
interrupts = <119 IRQ_TYPE_LEVEL_LOW>; | ||
|
||
marvell,cal-data = /bits/ 8 < | ||
0x37 0x01 0x1c 0x00 0xff 0xff 0xff 0xff 0x01 0x7f 0x04 0x02 | ||
0x00 0x00 0xba 0xce 0xc0 0xc6 0x2d 0x00 0x00 0x00 0x00 0x00 | ||
0x00 0x00 0xf0 0x00>; | ||
marvell,wakeup-pin = <0x0d>; | ||
marvell,wakeup-gap-ms = <0x64>; | ||
}; | ||
}; |
59 changes: 59 additions & 0 deletions
59
Documentation/devicetree/bindings/net/microchip,enc28j60.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
* Microchip ENC28J60 | ||
|
||
This is a standalone 10 MBit ethernet controller with SPI interface. | ||
|
||
For each device connected to a SPI bus, define a child node within | ||
the SPI master node. | ||
|
||
Required properties: | ||
- compatible: Should be "microchip,enc28j60" | ||
- reg: Specify the SPI chip select the ENC28J60 is wired to | ||
- interrupt-parent: Specify the phandle of the source interrupt, see interrupt | ||
binding documentation for details. Usually this is the GPIO bank | ||
the interrupt line is wired to. | ||
- interrupts: Specify the interrupt index within the interrupt controller (referred | ||
to above in interrupt-parent) and interrupt type. The ENC28J60 natively | ||
generates falling edge interrupts, however, additional board logic | ||
might invert the signal. | ||
- pinctrl-names: List of assigned state names, see pinctrl binding documentation. | ||
- pinctrl-0: List of phandles to configure the GPIO pin used as interrupt line, | ||
see also generic and your platform specific pinctrl binding | ||
documentation. | ||
|
||
Optional properties: | ||
- spi-max-frequency: Maximum frequency of the SPI bus when accessing the ENC28J60. | ||
According to the ENC28J80 datasheet, the chip allows a maximum of 20 MHz, however, | ||
board designs may need to limit this value. | ||
- local-mac-address: See ethernet.txt in the same directory. | ||
|
||
|
||
Example (for NXP i.MX28 with pin control stuff for GPIO irq): | ||
|
||
ssp2: ssp@80014000 { | ||
compatible = "fsl,imx28-spi"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&spi2_pins_b &spi2_sck_cfg>; | ||
status = "okay"; | ||
|
||
enc28j60: ethernet@0 { | ||
compatible = "microchip,enc28j60"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&enc28j60_pins>; | ||
reg = <0>; | ||
interrupt-parent = <&gpio3>; | ||
interrupts = <3 IRQ_TYPE_EDGE_FALLING>; | ||
spi-max-frequency = <12000000>; | ||
}; | ||
}; | ||
|
||
pinctrl@80018000 { | ||
enc28j60_pins: enc28j60_pins@0 { | ||
reg = <0>; | ||
fsl,pinmux-ids = < | ||
MX28_PAD_AUART0_RTS__GPIO_3_3 /* Interrupt */ | ||
>; | ||
fsl,drive-strength = <MXS_DRIVE_4mA>; | ||
fsl,voltage = <MXS_VOLTAGE_HIGH>; | ||
fsl,pull-up = <MXS_PULL_DISABLE>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
* NXP Semiconductors PN532 NFC Controller | ||
|
||
Required properties: | ||
- compatible: Should be "nxp,pn532-i2c" or "nxp,pn533-i2c". | ||
- clock-frequency: I²C work frequency. | ||
- reg: address on the bus | ||
- interrupt-parent: phandle for the interrupt gpio controller | ||
- interrupts: GPIO interrupt to which the chip is connected | ||
|
||
Optional SoC Specific Properties: | ||
- pinctrl-names: Contains only one value - "default". | ||
- pintctrl-0: Specifies the pin control groups used for this controller. | ||
|
||
Example (for ARM-based BeagleBone with PN532 on I2C2): | ||
|
||
&i2c2 { | ||
|
||
status = "okay"; | ||
|
||
pn532: pn532@24 { | ||
|
||
compatible = "nxp,pn532-i2c"; | ||
|
||
reg = <0x24>; | ||
clock-frequency = <400000>; | ||
|
||
interrupt-parent = <&gpio1>; | ||
interrupts = <17 IRQ_TYPE_EDGE_FALLING>; | ||
|
||
}; | ||
}; |
Oops, something went wrong.