From patchwork Thu Mar 18 14:59:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud POULIQUEN X-Patchwork-Id: 404999 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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 2ECE4C4332B for ; Thu, 18 Mar 2021 15:00:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D457B64F10 for ; Thu, 18 Mar 2021 15:00:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229890AbhCRPAM (ORCPT ); Thu, 18 Mar 2021 11:00:12 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:2236 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229943AbhCRPAH (ORCPT ); Thu, 18 Mar 2021 11:00:07 -0400 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 12IEps40030703; Thu, 18 Mar 2021 15:59:54 +0100 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=aEk1LpIoswU+KY7dqudj3axx8EnaeYBiMGxagD03H1I=; b=UlogJNZp+qe7/64PRtXlDCHsiIvRIvWoeW/WC0WP58n5g42RNja2blFiWeIeELCW5BN1 yXo4DYVWa0VKq5VmdO/ZQIv0BmpL4/Mxsv5yimxn5fq6HWyef04LiauR3ay5UsBM9cxw 7zbsjVh8/1nNBel/ph/A+xDXKXJo0XlYaANTCuYxSU0LKl2JpT3ELB98jU3B3YIHyyt0 ZlXNFEq6vVkmBrfHvcJVMKCKtB3Z2Jl23ZN+/ubkIR6hWMpwuFXKjmNb2b1P8Dw6sbYN umAD38kcFetFOh99BDakBdQ/vNHOJzvDlTwxaCXMecUkKVMWnSskFcBq3hhrE3jcSJmr zA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 37a8prc15q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Mar 2021 15:59:54 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 59EB810002A; Thu, 18 Mar 2021 15:59:54 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 387A7210470; Thu, 18 Mar 2021 15:59:54 +0100 (CET) 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; Thu, 18 Mar 2021 15:59:53 +0100 From: Arnaud Pouliquen To: Bjorn Andersson , Ohad Ben-Cohen , Mathieu Poirier , Rob Herring , Alexandre Torgue CC: , , , , , Arnaud Pouliquen Subject: [PATCH 0/2] remoteproc: stm32: add support of detaching a remote processor Date: Thu, 18 Mar 2021 15:59:21 +0100 Message-ID: <20210318145923.31936-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: SFHDAG1NODE1.st.com (10.75.127.1) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-18_09:2021-03-17,2021-03-18 signatures=0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patchset is the stm32mp1 platform implementation of the detach operation added in series [1]. On detach, the stm32 rproc driver sends a mailbox signal to the remote processor to inform it that it will be detached. Applied and tested on Bjorn's "for_next" branch (2b81aa17008e) [1] https://patchwork.kernel.org/project/linux-remoteproc/list/?series=447171 Arnaud Pouliquen (2): dt-bindings: remoteproc: stm32-rproc: add new mailbox channel for detach remoteproc: stm32: add capability to detach .../bindings/remoteproc/st,stm32-rproc.yaml | 11 +++++- drivers/remoteproc/stm32_rproc.c | 38 ++++++++++++++++++- 2 files changed, 45 insertions(+), 4 deletions(-)