Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1286686ybp; Fri, 11 Oct 2019 11:49:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqwn4B0d0GtQDLhXq9FotZlXFydNHAZ01awVbz4ID9LI/835rvb0R/oyHsYgVrpNilsn9zzr X-Received: by 2002:aa7:d748:: with SMTP id a8mr14787773eds.269.1570819747880; Fri, 11 Oct 2019 11:49:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570819747; cv=none; d=google.com; s=arc-20160816; b=eO20wZ//JVXv0fN+PDMtkao7Hxv9MeeJAvaOrqck943Vl0m+vWlshjbn9d9xKFhmIF ehvWMaS7d0ZK8k+WCK2C2E7Bj7k9yuAsfI2bVjybmQHI1mWCOfIBgGWmLgs3tHIdreEn Mb7V/SK7PA7IdDsn/oip+g75aEVjdJefepeuQDgeM1ePysxBI8Q7L00FGO9Np39zhLcn oR1SREeoFEGDk9Olq/0/0h9+CJqMKY+f6MQXsh4dLx/Uk8mJbeygl1Ct6KBDLT0xru2u bynKOtfuhXrJCZ+qLyG7fsBSks9GSe1oz05iV9SsEOSsU7UVf1Nn8qqQXzOcG8m4Qijw SRqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=uQxuO3z0a0UwegXWBhBi+OKxOhvZYRz9Wa21BkUamdE=; b=z3KWCIj0IG9/Ubo0erDqNCNRQAe1JQz9EBpfzaN2bAhLDeveDj72fcjF8WiFUMWfIC FAB+KiCVvS83rdyc4OB1JHwWENJgoJ91w5Ysvjax/dT2IWmknDZMxy8nJKltEl2JlyAL ZVOEFQGtR3ApuU5PVvTa6UERwG3WZOB6WRQ55HZp5+IlXbNvyWzLaycqhJO/MMGNKy45 pV5NgcBqcL2TRvfrtgFulNsAlUWbaBIhsAheLBqBDsePrtnpOmVokQaZ4bYMxKxwI4oV j5Drl0/TEatv6I9CCDRG4QOP+BulC65KSyivK7IQNklLxSpyGBdlRVAFDM413aEVnmHw vYyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ISrrQafd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 52si6927458edz.413.2019.10.11.11.48.44; Fri, 11 Oct 2019 11:49:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ISrrQafd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728863AbfJKSsa (ORCPT + 99 others); Fri, 11 Oct 2019 14:48:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:47338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728835AbfJKSs3 (ORCPT ); Fri, 11 Oct 2019 14:48:29 -0400 Received: from ziggy.de (unknown [37.223.145.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 337552089F; Fri, 11 Oct 2019 18:48:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570819709; bh=8swxHPxXwsk63xATldrkBomTBYaZuw+x6D4lr+gw3V8=; h=From:To:Cc:Subject:Date:From; b=ISrrQafdLjqEAPF+R8koM/uakJvBlSuc24HmfYHMFOWl9AsNwJ5CB0u0jUyKxkUCO ZNj8pxOddSj1gEOC8yASbtNrCLYTTicLccjtmnVNYzSHmAqk7gDJ97bIuqSv+jL6bL 24s7VtQk34AY+hD+h/PqnXNRQ8fLTgF3yxtmicnw= From: matthias.bgg@kernel.org To: Florian Fainelli , "David S . Miller" Cc: Nicolas Saenz Julienne , Matthias Brugger , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren , Matthias Brugger , Doug Berger , Eric Anholt , Mark Rutland , Rob Herring , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v1 0/3] This series adds ethernet support for RPi4. Date: Fri, 11 Oct 2019 20:48:18 +0200 Message-Id: <20191011184822.866-1-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthias Brugger 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 adds a new optional property to the driver, dma-burst-sz. The very same property is already used by another drivers in the kernel. Matthias Brugger (3): dt-bindings: net: bcmgenet add property for max DMA burst size net: bcmgenet: use optional max DMA burst size property ARM: dts: bcm2711: Enable GENET support for the RPi4 .../devicetree/bindings/net/brcm,bcmgenet.txt | 2 ++ arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 22 +++++++++++++++++++ arch/arm/boot/dts/bcm2711.dtsi | 18 +++++++++++++++ .../net/ethernet/broadcom/genet/bcmgenet.c | 13 +++++++++-- .../net/ethernet/broadcom/genet/bcmgenet.h | 1 + 5 files changed, 54 insertions(+), 2 deletions(-) -- 2.23.0