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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 0F3ADD4660C for ; Fri, 16 Jan 2026 10:15:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7491F10E855; Fri, 16 Jan 2026 10:15:35 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="WgUtk+lq"; dkim-atps=neutral Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) by gabe.freedesktop.org (Postfix) with ESMTPS id E43EB10E853 for ; Fri, 16 Jan 2026 10:15:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qhb2itAHR/LPuSZuQaX3s1nW4R5olgrC14ewg4/ctzg=; b=WgUtk+lqTuBSeKDUg/K4z3qyil 9lux068kvvzabzvbOPjwsManyWJEXJZ0TCxyhPUNrIzzaYampEtcTMua9ancgEEh8ZTHhIyoXy/Pt XKZPIDtqDQcchc+FRLAla63uNEyjL+rIsnQ+4qDcugffSFV1eeXx6cWSJtmco7nvezkDZe4cFC5JU TZ1WtU9EU4zkXkfzlwCGnR3Qiqac6VCh4Yd6kQ5EtaE6bmhMH79HwW1vx+VBkc5x+V0m2yextCViO oHe2NUCnWuZmtAgei1CPNvTJJ4A5CoixxkPvxSVd56P5/HsNAuI6C5+5I2hzaKH4diAmeF//LbtJu ivSdvcqw==; Received: from [187.36.210.68] (helo=[192.168.1.103]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1vggrW-0066jU-7n; Fri, 16 Jan 2026 11:15:26 +0100 Message-ID: <59cdede3-7757-4fe1-bb94-e7a93eea7611@igalia.com> Date: Fri, 16 Jan 2026 07:15:18 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] arm64: dts: broadcom: bcm2712: Add V3D device node To: Peter Robinson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Stefan Wahren , Broadcom internal kernel review list Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, kernel-dev@igalia.com References: <20260114120610.82531-1-mcanal@igalia.com> <121ede67-dbfc-4b79-8076-04693e9d3d53@gmail.com> From: =?UTF-8?Q?Ma=C3=ADra_Canal?= Content-Language: en-US In-Reply-To: <121ede67-dbfc-4b79-8076-04693e9d3d53@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Peter, On 16/01/26 00:53, Peter Robinson wrote: > Hi Maira, > > On 14/01/2026 12:04, Maíra Canal wrote: >> Commits 0ad5bc1ce463 ("drm/v3d: fix up register addresses for V3D 7.x") >> and 6fd9487147c4 ("drm/v3d: add brcm,2712-v3d as a compatible V3D >> device") >> added driver support for V3D on BCM2712, but the corresponding device >> tree node is still missing. >> >> Add the V3D device tree node to the BCM2712 DTS. >> >> Signed-off-by: Maíra Canal >> >> --- >> v1 -> v2: >> >> - Rebased on top of linux-next (Stefan Wahren) >> - Fixed node's address (2000000 -> 1002000000) (Stefan Wahren) >> - Link to v1: https://lore.kernel.org/linux- >> devicetree/20260113192902.48046-2-mcanal@igalia.com/ >> --- >>   .../boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi    |  4 ++++ >>   arch/arm64/boot/dts/broadcom/bcm2712.dtsi          | 14 ++++++++++++++ >>   2 files changed, 18 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi b/ >> arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi >> index 7d4742ebe247..97522c6803c5 100644 >> --- a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi >> +++ b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi >> @@ -247,3 +247,7 @@ &pcie1 { >>   &pcie2 { >>       status = "okay"; >>   }; >> + >> +&v3d { >> +    clocks = <&firmware_clocks 5>; > > Looking at the upstream DT [1] I think this also needs a clock-names entry. Differently from the `hvs` node [1] you sent (which specifies clock- names), the `v3d` binding [2] doesn't have a clock-names property. Therefore, it is not needed. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/display/brcm,bcm2835-hvs.yaml [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.yaml Best regards, - Maíra > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ > tree/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi#n233 > >> +}; >> diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/ >> boot/dts/broadcom/bcm2712.dtsi >> index 330a121ebfcb..661668ef7419 100644 >> --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi >> +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi >> @@ -1,5 +1,6 @@ >>   // SPDX-License-Identifier: (GPL-2.0 OR MIT) >>   #include >> +#include >>   / { >>       compatible = "brcm,bcm2712"; >> @@ -642,6 +643,19 @@ mip1: msi-controller@1000131000 { >>               msi-ranges = <&gicv2 GIC_SPI 247 IRQ_TYPE_EDGE_RISING 8>; >>               brcm,msi-offset = <8>; >>           }; >> + >> +        v3d: gpu@1002000000 { >> +            compatible = "brcm,2712-v3d"; >> +            reg = <0x10 0x02000000 0x00 0x4000>, >> +                  <0x10 0x02008000 0x00 0x6000>, >> +                  <0x10 0x02030800 0x00 0x0700>; >> +            reg-names = "hub", "core0", "sms"; >> + >> +            power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>; >> +            resets = <&pm BCM2835_RESET_V3D>; >> +            interrupts = , >> +                     ; >> +        }; >>       }; >>       vc4: gpu {