Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6952264yba; Thu, 2 May 2019 01:11:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyKFVDwgPM0sAOyFM/waaadnXORYxTgeNyp2t30Y3kURJEPp6rzhAEd0OpEFcDEFfETExL X-Received: by 2002:aa7:8851:: with SMTP id k17mr2649541pfo.121.1556784702942; Thu, 02 May 2019 01:11:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556784702; cv=none; d=google.com; s=arc-20160816; b=P5750Gr+dBeBFK4l8iRMCRw1zetIeUMiBV281ie9jU6QY7PIRjmlSvBGW2QZB9SHv/ a8HHVzx3a91mB98XpVAKBN/i5ZFLSbBoNOerAcK3zHYILhYHl4z1uXeDsWNyeYUz7Lr8 QIX004ehFwg0PIf+OCnzp/6WwdLBEyLz/YvCQNh/uBOAa81yvmh8sFUGXI5Rc2cy6Oof TNbmkxzd6R6pOEUZyoJ8O3M9yCpwWjdgng2PvTVOXij1KUXTbCqv5Y/Wiq/xkNUuYhqD 2e/UAeEH0TaxMm1ABzLLvrU0SXAE1yR/p+gI6w4fmx0ujYjmPs8SN+Ys1+chcyabgI3G MOsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=R4ti5gteNcBki+KcCZxNtPlE39G37YfOCdhQ1hFnO/4=; b=CrlrnuI4oy3swU1Qt6YIvkWPPg4JbB3OJmKkf1AwimdB4eAPf7Xh00RGJZsJCLZctv utEV1ZDx9g0EFvgDAYamr1zJx0IY46AP7dDlMrTsHr1jN7qg60mjNGf9BOzgZzRzMWRP M38YQd8ZnvvMFkTy5inlYClSuEu7ctiF7Qn8LC73GgsrPQjX1/08RI5FL918BNALqSHt MKnhhb2sdtZDaXsr1D/1JyppSTf9cBuDxKPXhsgK8XkDr/gyXloc0UhdqRHs3+wGhbIW 9fwBzrZFRjn6ynk6EvkvjVRl/5uYSeQO8NorTlVNIKqRDpXzyAJlDFM8oEBrMk5AwXm7 LltA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=eNxlwstR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bc4si42842781plb.246.2019.05.02.01.11.27; Thu, 02 May 2019 01:11:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=eNxlwstR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726514AbfEBIKj (ORCPT + 99 others); Thu, 2 May 2019 04:10:39 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:46796 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725951AbfEBIKg (ORCPT ); Thu, 2 May 2019 04:10:36 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x42862RU006167; Thu, 2 May 2019 10:10:16 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=R4ti5gteNcBki+KcCZxNtPlE39G37YfOCdhQ1hFnO/4=; b=eNxlwstRAn08phkcWqAvf2F8iKl3xDJ4Y6ZI1feZB7HPwNdaDWwHjMAEl8yeTeYUpd8F CGa44tuNVPHxgZ+znx0PIhUe5Qd3dVAxFnnqhTuFiApyCkjCY6RB7oc3H+dpovlyINFp Wzx3KkaRmwFg1LrewL98IKgwSWd6ABVRygSeZ50VA68/g/Yiu9hdRXorkcACQ0x7qa3D Ew2FNDonBa/kSg9tP+eLzYF1Yiz9GfFvjsj+NGmY1TCfm2yzKo8W38Zg0mMf3CvkiT0Y 4dIBwsnezr0oZTy2M9PLgfWxqTTbIGWztwOmxJKTxbbEJcl6i+8vITrbAAvSwengrrV+ Hg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2s6xgcq48t-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 02 May 2019 10:10:16 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 216373F; Thu, 2 May 2019 08:10:14 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C3FCA12E0; Thu, 2 May 2019 08:10:13 +0000 (GMT) Received: from SAFEX1HUBCAS21.st.com (10.75.90.45) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 2 May 2019 10:10:13 +0200 Received: from localhost (10.129.4.86) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 2 May 2019 10:10:13 +0200 From: Fabien Dessenne To: Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre Torgue , Ohad Ben-Cohen , Bjorn Andersson , , , , , CC: Fabien Dessenne , Loic Pallardy , Arnaud Pouliquen , "Ludovic Barre" , Benjamin Gaignard Subject: [PATCH v3 0/8] stm32 m4 remoteproc on STM32MP157c Date: Thu, 2 May 2019 10:09:58 +0200 Message-ID: <1556784606-3016-1-git-send-email-fabien.dessenne@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.129.4.86] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-05-02_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org STMicrolectronics STM32MP157 MPU are based on a Dual Arm Cortex-A7 core and a Cortex-M4. This patchset adds the support of the stm32_rproc driver allowing to control the M4 remote processor. Changes since v2: - Clarified "reg" description - Change m4 unit adress to 38000000 - Renamed "auto_boot" in "st,auto-boot" Changes since v1: - Gave details about the memory mapping (in bindings). - Used 'dma-ranges' instead of 'ranges'. - Updated the 'compatible' property. - Remove the 'recovery', 'reset-names' and 'interrupt-names' properties. - Clarified why / when mailboxes are optional. Fabien Dessenne (8): dt-bindings: stm32: add bindings for ML-AHB interconnect dt-bindings: remoteproc: add bindings for stm32 remote processor driver remoteproc: stm32: add an ST stm32_rproc driver ARM: dts: stm32: add m4 remoteproc support on STM32MP157c ARM: dts: stm32: declare copro reserved memories on STM32MP157c-ed1 ARM: dts: stm32: enable m4 coprocessor support on STM32MP157c-ed1 ARM: dts: stm32: declare copro reserved memories on STM32MP157a-dk1 ARM: dts: stm32: enable m4 coprocessor support on STM32MP157a-dk1 .../devicetree/bindings/arm/stm32/mlahb.txt | 37 ++ .../devicetree/bindings/remoteproc/stm32-rproc.txt | 63 +++ arch/arm/boot/dts/stm32mp157a-dk1.dts | 52 ++ arch/arm/boot/dts/stm32mp157c-ed1.dts | 52 ++ arch/arm/boot/dts/stm32mp157c.dtsi | 20 + drivers/remoteproc/Kconfig | 15 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/stm32_rproc.c | 628 +++++++++++++++++++++ 8 files changed, 868 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/stm32/mlahb.txt create mode 100644 Documentation/devicetree/bindings/remoteproc/stm32-rproc.txt create mode 100644 drivers/remoteproc/stm32_rproc.c -- 2.7.4