From patchwork Mon Jun 14 16:49:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Pouliquen X-Patchwork-Id: 12319449 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63C93C2B9F4 for ; Mon, 14 Jun 2021 16:53:04 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 26D68611CA for ; Mon, 14 Jun 2021 16:53:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 26D68611CA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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=LXVP4zioolhglcwKdYQsitZ0uze8DQFClcOnp0is0G8=; b=qEPOtOpBmHrg9b hCY6PvRC/boyAABrZiw2d3VlgEU4WT4GAvigsq5IrLAq+ixE7YvGLwQCJNf8Vj/EjfNcNpeU+TgYg Qq19cjNH5vftR2UTL0uv6UdpoyRWW0/+6mWUuY4HtbYMdsTAYQfO7bXg5KhpqzcJU9/T7Xlc6dyeG 85UPpKP4kk3RzB8BVDARRolG/FqfEsC7dkW8mp6aRDW+g4+vQahX+G+SioLjkxQgpaX6adVPk6Wgr jT4Bm3F+4qu00zuBhYVjVq2uueNg4pUTOfHCuBpMuWUmTvM4FBY71ecvCa5g7qr/DdS3bnmW4i09+ EP21mFrb3ahpKeSzx8MQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lspoA-00FDUM-Ni; Mon, 14 Jun 2021 16:51:30 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lspna-00FDCT-1e for linux-arm-kernel@lists.infradead.org; Mon, 14 Jun 2021 16:50:56 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15EGmDJW015215; Mon, 14 Jun 2021 18:50:44 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=/9D3/0H3bHA9sU2AK/C1nUebkqDvEpgx+D4YIfVFv5s=; b=KvkMyXtJRXZMcLaPnOzP5r1xVlPZv81gXFTvMuN6BIdhP5clixs7x+xB2gjdqk5inIjs TY6VTB9E9uFPKutcvLNtSJrqJFe30MLW9UUAXIoPcvZxVZLHnOK1eOLki956UlguXFBR x4fDRtMRppp+aIndW+8XiDRHIvptum2XNMlwWr/n/R796B4BPd4eVhDtVm5JFjvwTrYZ u1U81vE6582HxHwqpVMdU3xWsXBHdF+sm3CdnU2f2ILoee05v9VKrV9cQfPmbC1wB7eM 5qskzf3jo/6GqY1cVR9uV112QbA0sZjc5IxSfhpYszhKOMD2sBfMuUaNtPTQVJhuSGXX dg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3963682q6y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Jun 2021 18:50:44 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 1DF70100034; Mon, 14 Jun 2021 18:50:42 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0B58221CE24; Mon, 14 Jun 2021 18:50:42 +0200 (CEST) Received: from localhost (10.75.127.46) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 14 Jun 2021 18:50:41 +0200 From: Arnaud Pouliquen To: Rob Herring , Alexandre Torgue , Maxime Coquelin CC: , , , , , Arnaud Pouliquen Subject: [PATCH 0/2] Add new IPCC mailbox to support the coprocessor detach on some stm32mp15x boards Date: Mon, 14 Jun 2021 18:49:38 +0200 Message-ID: <20210614164940.27153-1-arnaud.pouliquen@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.46] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-06-14_10:2021-06-14, 2021-06-14 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210614_095054_411854_27D2CCAD X-CRM114-Status: GOOD ( 14.83 ) 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 Purpose: Add the IPCC channel 4 as "detach" mailbox to support the remoteproc the feature added in [1]. The enable of this feature is a design choice. As consequence, the new mbox is declared only for stm32mp157c-ed1 & stm32mp15x-dkx boards maintained by ST Microelectronics. Aim: Allow to send to the remote processor a HW signal on IPCC channel 4 when user space requests to detach the main processor from the remote processor (e.g. a reboot of the Linux processor on a crash). [1] https://patchwork.ozlabs.org/project/devicetree-bindings/cover/20210331073347.8293-1-arnaud.pouliquen@foss.st.com/ Arnaud Pouliquen (2): ARM: dts: stm32: Add coprocessor detach mbox on stm32mp157c-ed1 board ARM: dts: stm32: Add coprocessor detach mbox on stm32mp15x-dkx boards arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 ++-- arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)