linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC V2 0/6] ARM: Enable GENET support for RPi 4
@ 2019-11-02 13:41 Stefan Wahren
  2019-11-02 13:41 ` [PATCH RFC V2 1/6] net: bcmgenet: Fix error handling on IRQ retrieval Stefan Wahren
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Stefan Wahren @ 2019-11-02 13:41 UTC (permalink / raw)
  To: Matthias Brugger, Matthias Brugger, David S . Miller,
	Florian Fainelli
  Cc: Doug Berger, netdev, Eric Anholt, bcm-kernel-feedback-list,
	Nicolas Saenz Julienne, 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], should help
to put all missing pieces together and hand my changes over to him.
So i doesn't address all comments from Florian and the series isn't
ready to be merged.

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

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

Matthias Brugger (1):
  net: bcmgenet: use optional max DMA burst size property

Stefan Wahren (5):
  net: bcmgenet: Fix error handling on IRQ retrieval
  net: bcmgenet: Avoid touching non-existent interrupt
  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

 arch/arm/boot/dts/bcm2711-rpi-4-b.dts          | 23 ++++++++++++
 arch/arm/boot/dts/bcm2711.dtsi                 | 19 ++++++++++
 drivers/net/ethernet/broadcom/genet/bcmgenet.c | 25 ++++++++++---
 drivers/net/ethernet/broadcom/genet/bcmgenet.h |  1 +
 drivers/net/ethernet/broadcom/genet/bcmmii.c   | 51 ++++++++++++++------------
 5 files changed, 90 insertions(+), 29 deletions(-)

--
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-11-03  9:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-02 13:41 [PATCH RFC V2 0/6] ARM: Enable GENET support for RPi 4 Stefan Wahren
2019-11-02 13:41 ` [PATCH RFC V2 1/6] net: bcmgenet: Fix error handling on IRQ retrieval Stefan Wahren
2019-11-02 19:43   ` Florian Fainelli
2019-11-02 13:41 ` [PATCH RFC V2 2/6] net: bcmgenet: Avoid touching non-existent interrupt Stefan Wahren
2019-11-02 19:34   ` Florian Fainelli
2019-11-03  9:36     ` Stefan Wahren
2019-11-02 13:41 ` [PATCH RFC V2 3/6] net: bcmgenet: use optional max DMA burst size property Stefan Wahren
2019-11-02 19:34   ` Florian Fainelli
2019-11-03  9:48     ` Stefan Wahren
2019-11-02 13:41 ` [PATCH RFC V2 4/6] net: bcmgenet: Refactor register access in bcmgenet_mii_config Stefan Wahren
2019-11-02 13:41 ` [PATCH RFC V2 5/6] net: bcmgenet: Add RGMII_RXID and RGMII_ID support Stefan Wahren
2019-11-02 20:00   ` Florian Fainelli
2019-11-03  9:34     ` Stefan Wahren
2019-11-02 13:41 ` [PATCH RFC V2 6/6] ARM: dts: bcm2711-rpi-4: Enable GENET support Stefan Wahren
2019-11-02 20:02   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).