From patchwork Tue Mar 26 19:58:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13604938 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 71501C54E67 for ; Tue, 26 Mar 2024 19:59:08 +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:References:In-Reply-To: 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: List-Owner; bh=/WmrUk+ViowqRfT3TRS0xtJKyMtFx6AEdbdNj6jKENs=; b=HOjMtkr3ME/Lyk 8dVdjMhFF7k5nA5wLR+aVgWGzjpR18U08s+BuQv4e1Vou0WCBcXXO30YqWszOk7KwFBqLPLEb5HKN jRmUxeHwZD7fSafzmQ16QdKZ7AYaCNyiof+MF/myVuxoec3jDQrlbhC/7tUmpMUNy8fWEBmNBGa7e pxweAe5eGtpUkfvkZm25+VwJnP5JB+pbgFT+03K/yH+8vdnZlo064Sgn2m/1ULyBEjXU8rnQp3GOh t+WLnT+11TzI3FIX07+9iw7SGNuRYvEwS23+3Jd7Pl25pDtGz87uyt66WuxwfV+b5Mv8O4njTgqEC IiQsBMLXmZf5lA9J/UNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpCwl-00000006Eo4-29i6; Tue, 26 Mar 2024 19:58:59 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpCwC-00000006EZG-2uiI; Tue, 26 Mar 2024 19:58:30 +0000 Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B996B1815; Tue, 26 Mar 2024 20:57:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1711483071; bh=xCYO00GEeHZ0vGGTmeWkp874jMs5RtNQgkYQEldVLlk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ttpc+UvrM33y4lluL0FUDhPTYjb7/nW/T2Ao0Uexem0rXxJu0ZICFI9CZJuuLu1Oj H6k3GCLbK6TKIALcyyFPPviVhyLWTdJ0+A/cKJfRxVysqq1+IRF6DiYhWbw/AJS7ww JArVW6tS5P7YrcpBOXSvnhSxNEOJ41UYrJVK9YjE= From: Laurent Pinchart To: devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: Dave Stevenson , Naushir Patuck , Broadcom internal kernel review list , Conor Dooley , Florian Fainelli , Krzysztof Kozlowski , Nicolas Saenz Julienne , Ray Jui , Rob Herring , Scott Branden , Stefan Wahren Subject: [PATCH v2 3/3] ARM: dts: bcm283x: Drop unneeded properties in the bcm2835-firmware node Date: Tue, 26 Mar 2024 21:58:07 +0200 Message-ID: <20240326195807.15163-4-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240326195807.15163-1-laurent.pinchart@ideasonboard.com> References: <20240326195807.15163-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240326_125826_868977_4DDC812A X-CRM114-Status: GOOD ( 10.42 ) 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 The firmware node contains a "dma-ranges" property to enable usage of the DMA mapping API with its child devices, along with "#address-cells" and "#size-cells" properties to support the dma-ranges. This was needed due to usage of the incorrect device to perform the DMA mapping in drivers. Now that this has been fixed, drop the properties. This effectively reverts commits be08d278eb09 ("ARM: dts: bcm283x: Add cells encoding format to firmware bus") and 55c7c0621078 ("ARM: dts: bcm283x: Fix vc4's firmware bus DMA limitations"). Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi b/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi index f0acc9390f31..761a9da97bd0 100644 --- a/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi @@ -4,11 +4,7 @@ / { soc { firmware: firmware { compatible = "raspberrypi,bcm2835-firmware", "simple-mfd"; - #address-cells = <1>; - #size-cells = <1>; - mboxes = <&mailbox>; - dma-ranges; }; power: power {