From patchwork Sun Feb 11 14:21:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13552461 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A6D9AC4829B for ; Sun, 11 Feb 2024 14:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Xm/v/PJpRvyfbgl3cEBfyhRRELWJ/AdGTXsGGayRgQc=; b=VzC6NHy8EXRktB MkZAIrNgKxZmTavp+tTs8ovkVCjV49GtwU73C3fx0VkafQlF0AmUNyFhwZBzsG1FBojOndTQYE3tn Sc8UGMGMMZhJ29VvbH6Llv16XByFk4gDysIXRzkEOIqAuKse65UNdVdmD/3t96FF4Or9WAhwdw1Qa J/V++hqFrMPdzn+7+a1a1kE/pK4T5VsQoQU+RAUrI9O3woApmmPQx4reoHVWWUFPJJwUNPpxBFCsW QK4+zbbKRaBrf/umHl7G9ShSQXM/VrgNQEJNK2RvqSLgBqcKafadg7oSd01wQG5Hfta00GMXwRRU0 b+jmReZuVyAlEjGN4uNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZAiP-00000002peQ-02nM; Sun, 11 Feb 2024 14:21:53 +0000 Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZAiK-00000002pcA-0njr for linux-arm-kernel@lists.infradead.org; Sun, 11 Feb 2024 14:21:50 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:5c16:aeff:e73f:ad67]) by andre.telenet-ops.be with bizsmtp id lqMY2B00U493aJM01qMYJf; Sun, 11 Feb 2024 15:21:33 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rZAhz-000Qh5-K8; Sun, 11 Feb 2024 15:21:32 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rZAi4-006Wmo-Ix; Sun, 11 Feb 2024 15:21:32 +0100 From: Geert Uytterhoeven To: Wolfram Sang , Sergey Shtylyov Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/2] arm64: dts: renesas: rcar-gen4: Correct avb[01] reg sizes Date: Sun, 11 Feb 2024 15:21:29 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240211_062148_387059_058DF1EC X-CRM114-Status: GOOD ( 20.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, All Ethernet AVB instances on R-Car Gen4 SoCs have registers related to UDP/IP support, starting at offset 0x800. However, the register blocks for some (but not all) instances are too small to cover them. This patch series fixes this by extending the register block sizes where needed. Note that this has no immediate impact on actual operation, as the Linux driver does not use the UDP/IP registers. Besides, ioremap() granulatity is PAGE_SIZE, so the registers are accessible anyway. I also considered introducing a new reg tuplet to cover the UDP/IP registers. However, that would complicate handling as some instances (on some R-Car Gen2/3 SoCs) already have two reg tuplets, and there are no reg-names defined: reg: items: - description: MAC register block - description: Stream buffer So I think just enlarging the first register block would be fine. To be queued in renesas-devel for v6.9, if you agree. Thanks for your comments! Geert Uytterhoeven (2): arm64: dts: renesas: r8a779a0: Correct avb[01] reg sizes arm64: dts: renesas: r8a779g0: Correct avb[01] reg sizes arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 4 ++-- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)