All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 net-next 0/7] ARM: Enable GENET support for RPi 4
@ 2019-11-09 19:00 ` Stefan Wahren
  0 siblings, 0 replies; 34+ messages in thread
From: Stefan Wahren @ 2019-11-09 19:00 UTC (permalink / raw)
  To: Matthias Brugger, Matthias Brugger, David S . Miller, Florian Fainelli
  Cc: Eric Anholt, Nicolas Saenz Julienne, Doug Berger, netdev,
	bcm-kernel-feedback-list, linux-arm-kernel, Stefan Wahren

Raspberry Pi 4 uses the broadcom genet chip in version five.
This chip has a dma controller integrated. Up to now the maximal
burst size was hard-coded to 0x10. But it turns out that Raspberry Pi 4
does only work with the smaller maximal burst size of 0x8.

This series based on Matthias Brugger's V1 series [1].

[1] - https://patchwork.kernel.org/cover/11186193/

Changes in V3:
- introduce SoC-specific compatibles for GENET (incl. dt-binding)
- use platform_get_irq_optional for optional IRQ
- remove Fixes tag from IRQ error handling change
- move most of MDIO stuff to bcm2711.dtsi

Changes in V2:
- add 2 fixes for IRQ retrieval
- add support for missing PHY modes
- declare PHY mode RGMII RXID based on the default settings
- add alias to allow firmware append the MAC address

Stefan Wahren (7):
  net: bcmgenet: Avoid touching non-existent interrupt
  net: bcmgenet: Fix error handling on IRQ retrieval
  dt-bindings: net: bcmgenet: Add BCM2711 support
  net: bcmgenet: Add BCM2711 support
  net: bcmgenet: Refactor register access in bcmgenet_mii_config
  net: bcmgenet: Add RGMII_RXID and RGMII_ID support
  ARM: dts: bcm2711-rpi-4: Enable GENET support

 .../devicetree/bindings/net/brcm,bcmgenet.txt      |  2 +-
 arch/arm/boot/dts/bcm2711-rpi-4-b.dts              | 17 +++++
 arch/arm/boot/dts/bcm2711.dtsi                     | 26 ++++++++
 drivers/net/ethernet/broadcom/genet/bcmgenet.c     | 74 ++++++++++++++++++----
 drivers/net/ethernet/broadcom/genet/bcmgenet.h     |  1 +
 drivers/net/ethernet/broadcom/genet/bcmmii.c       | 51 ++++++++-------
 6 files changed, 133 insertions(+), 38 deletions(-)

--
2.7.4


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2019-11-10 21:10 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-09 19:00 [PATCH V3 net-next 0/7] ARM: Enable GENET support for RPi 4 Stefan Wahren
2019-11-09 19:00 ` Stefan Wahren
2019-11-09 19:00 ` [PATCH V3 net-next 1/7] net: bcmgenet: Avoid touching non-existent interrupt Stefan Wahren
2019-11-09 19:00   ` Stefan Wahren
2019-11-10 20:23   ` Florian Fainelli
2019-11-10 20:23     ` Florian Fainelli
2019-11-10 20:57     ` Stefan Wahren
2019-11-10 20:57       ` Stefan Wahren
2019-11-10 21:10       ` Florian Fainelli
2019-11-10 21:10         ` Florian Fainelli
2019-11-09 19:00 ` [PATCH V3 net-next 2/7] net: bcmgenet: Fix error handling on IRQ retrieval Stefan Wahren
2019-11-09 19:00   ` Stefan Wahren
2019-11-10 20:24   ` Florian Fainelli
2019-11-10 20:24     ` Florian Fainelli
2019-11-09 19:00 ` [PATCH V3 net-next 3/7] dt-bindings: net: bcmgenet: Add BCM2711 support Stefan Wahren
2019-11-09 19:00   ` Stefan Wahren
2019-11-10 20:23   ` Florian Fainelli
2019-11-10 20:23     ` Florian Fainelli
2019-11-09 19:00 ` [PATCH V3 net-next 4/7] " Stefan Wahren
2019-11-09 19:00   ` Stefan Wahren
2019-11-10 20:26   ` Florian Fainelli
2019-11-10 20:26     ` Florian Fainelli
2019-11-09 19:00 ` [PATCH V3 net-next 5/7] net: bcmgenet: Refactor register access in bcmgenet_mii_config Stefan Wahren
2019-11-09 19:00   ` Stefan Wahren
2019-11-10 20:34   ` Florian Fainelli
2019-11-10 20:34     ` Florian Fainelli
2019-11-09 19:00 ` [PATCH V3 net-next 6/7] net: bcmgenet: Add RGMII_RXID and RGMII_ID support Stefan Wahren
2019-11-09 19:00   ` Stefan Wahren
2019-11-10 20:32   ` Florian Fainelli
2019-11-10 20:32     ` Florian Fainelli
2019-11-09 19:00 ` [PATCH V3 net-next 7/7] ARM: dts: bcm2711-rpi-4: Enable GENET support Stefan Wahren
2019-11-09 19:00   ` Stefan Wahren
2019-11-10 20:26 ` [PATCH V3 net-next 0/7] ARM: Enable GENET support for RPi 4 Florian Fainelli
2019-11-10 20:26   ` Florian Fainelli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.