From patchwork Thu May 18 01:12:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13246010 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 73AC2C7EE22 for ; Thu, 18 May 2023 01:13:45 +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=x48plM+qSffUG4M1nO2jDPnPAu5cnfCaJ3Dp8VzcNJg=; b=U4nsbukq9kKdBU MezLcRGrvQx8MuJNUYXO7SOd8JPTjy5SXNxCZvSk4eec4jZqDb9KPJ62VU+WvqP91rBGNW45FBgZw aNBM6O/11/qwq9EueJzpfWnm85RlSXWm1t9zHoZDyWFOrllJv3XKH0jeRAoWUYkw1BNNW4tpGq0Ks n9ZSTf1uGDCUrVgtXqTD/CppaBYGr78vTGtiq+b4DiquU30s4mJvzQizVk2jK62/MAX6MuyRu6KG+ 6Zrxbp7aZS31kwZH9YAXSJqb+gQq4beZWIOYY1V6dP3LEp9RY6a5WjzBtTmCJndgMzH01LS5VtZ0t kf8wtYVs/mA3dgcVPScw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pzSCn-00BYxF-0t; Thu, 18 May 2023 01:13:21 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pzSCi-00BYuH-2P for linux-arm-kernel@lists.infradead.org; Thu, 18 May 2023 01:13:18 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id B484786258; Thu, 18 May 2023 03:13:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1684372395; bh=cIV2PJBrjRLkr/i9ZYs8l2uK0at71EC17wEGXMwn1Rg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VzFq9v30tAs9M6tjLMQ7uEz/nxH+j2zHfM7R+lDLZosW+QqYzeqHN837sBWym94x9 3AAQBA6KH+Mh2i4KFGE9JklKAEY2tqRji0f7nBedjHMymMmInJxHrXi5wSaDk1dE11 cDbfRkZU64uL3peAkpw7AG4FICmt5Zrnb8EOTa8UuaNBSPCHUdZIRsZZ+z3tk3/7yy c5BTpxaMEDUkHje60qZq6fNTJcXmY5jTvbqnAIzLaTKVWoy1DkXg+A7IiRNAxXd/1Y Ken8D4nVsLKri95KItCdMu4fGzPqh7c8Wev4yaLa5mcIWPI3VjjdJwg71EhB1iGLEa R7l8KmRm8HlmQ== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Alexandre Torgue , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Richard Cochran , Rob Herring , devicetree@vger.kernel.org, kernel@dh-electronics.com, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 2/5] ARM: dts: stm32: Add missing detach mailbox for Odyssey SoM Date: Thu, 18 May 2023 03:12:43 +0200 Message-Id: <20230518011246.438097-2-marex@denx.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230518011246.438097-1-marex@denx.de> References: <20230518011246.438097-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230517_181317_014823_B801FDFF X-CRM114-Status: GOOD ( 13.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 Add missing "detach" mailbox to this board to permit the CPU to inform the remote processor on a detach. This signal allows the remote processor firmware to stop IPC communication and to reinitialize the resources for a re-attach. Without this mailbox, detach is not possible and kernel log contains the following warning to, so make sure all the STM32MP15xx platform DTs are in sync regarding the mailboxes to fix the detach issue and the warning: " stm32-rproc 10000000.m4: mbox_request_channel_byname() could not locate channel named "detach" " Fixes: 6257dfc1c412 ("ARM: dts: stm32: Add coprocessor detach mbox on stm32mp15x-dkx boards") Signed-off-by: Marek Vasut --- Cc: Alexandre Torgue Cc: Conor Dooley Cc: Krzysztof Kozlowski Cc: Maxime Coquelin Cc: Richard Cochran Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: kernel@dh-electronics.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-stm32@st-md-mailman.stormreply.com --- arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi b/arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi index e22871dc580c8..cf74852514906 100644 --- a/arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi +++ b/arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi @@ -230,8 +230,8 @@ &iwdg2 { &m4_rproc { memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>, <&vdev0vring1>, <&vdev0buffer>; - mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>; - mbox-names = "vq0", "vq1", "shutdown"; + mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>, <&ipcc 3>; + mbox-names = "vq0", "vq1", "shutdown", "detach"; interrupt-parent = <&exti>; interrupts = <68 1>; status = "okay";