Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3269693yba; Tue, 16 Apr 2019 08:02:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxw6S52Quo/1mCMji3y5XwmywdcRyedRnloMFxzEDoiO1aTsFR85kpK9AQfUdYuhac/HEGa X-Received: by 2002:a63:5e43:: with SMTP id s64mr74316062pgb.15.1555426973096; Tue, 16 Apr 2019 08:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555426973; cv=none; d=google.com; s=arc-20160816; b=wfWHt9AxkAexyD14fCXS8lXROE+4nSS6pP4Gq7SldBotd1VvNhIBS/KbndRddS6d09 Rnawh1fQZG58RaNlnnjNAweddey1A2aTJ7PFCGnMm1/5dP3z0a3df4qeegdbVSfHhrfM Hc+ewyLG4tytKs3LzGmIdD/VGzqDeu+4QnIPxy0IrYt5ZK+MFmGN7VVQ/FQqcztrnl40 Vc5iN2+weFMKtQKgG0zfnZ/nMaA5895hpqS1vOmZK6NZvBEitFtNIelfpH4UQ32ND13C ofQZSobTvcNqXXmbY+9qbmfXNzy+FJ6lfvZNkmUx9/iaQEVaVG54ut/Mbr3mRSUPEJ/f +IdA== 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=a0WPuEtezcJ43FTbI4cZhrZcoa/ZI4CHF8RviI7aspo=; b=ubUSdcIunp/A+qvEA8LaURg5YKPtVnlEJEgtIOSY31tQ7SyPHyvJ5arG5x4O0fMnGH M8M8Ia5hVuOcu7yObMX1jSXTMXXxA6v+CKYWHkabnsztQqo08exjGVBEETuMuJW6uErd 6Gw2pQneJSnH6KPFSGV2Tuq8WvyRObRl8IAs+x9X0sVpleg0L6bXjAD/CZ1TL8MS3qCR /0fi+do56imov/wiIe5Fur/IhMts1nGAacImfDcQY4Nw7tU7oZPVITwis2NtRvPU1PjM JkOKzyt0rUnYxDL1mZrqvfB9UMAPPMLlpvkLF6Q2Vavy2VtqLgwJ3GX2tb4ZA7Ov+tw8 v/cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=TFlCBvGZ; 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 f7si55086286pfa.50.2019.04.16.08.02.36; Tue, 16 Apr 2019 08:02:53 -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=TFlCBvGZ; 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 S1729664AbfDPO6u (ORCPT + 99 others); Tue, 16 Apr 2019 10:58:50 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:28100 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbfDPO6u (ORCPT ); Tue, 16 Apr 2019 10:58:50 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3GEuLp1007177; Tue, 16 Apr 2019 16:58:35 +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=a0WPuEtezcJ43FTbI4cZhrZcoa/ZI4CHF8RviI7aspo=; b=TFlCBvGZGvf9HvCOfPpV2NnDeBk0iCe8IlYIh1VyqAroOpb6Y+vhlHgglk6g5g1C6B+8 KfeZ3xAfIwvt9hkSN7sbFA2oibSCdQuFNKuLZD+6CeAdPeOBVnOxu6hvF7Oik5xUx21r UzEzEeMc6TyLYHOlPM9hxWxVTMhSilVPp1yQbUSX+ESX2mij+VVn48Q70bJs9yxQgPAW f+wWwqAnJzBQOXemBcPWdxh48d3tkKa+vF78Qkhz2MG60DukdANCIR8gX7zQGSxSea+J HJfd+PsNh7EbGphpAlKAYVQkfpztCtr87XqfWSVIFH5jv6lRQI/plGpUARw1hb4jUJpi Bw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2ru5800uh7-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 16 Apr 2019 16:58:35 +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 1EC6F3A; Tue, 16 Apr 2019 14:58:33 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas24.st.com [10.75.90.94]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BA53E269D; Tue, 16 Apr 2019 14:58:33 +0000 (GMT) Received: from SAFEX1HUBCAS23.st.com (10.75.90.47) by Safex1hubcas24.st.com (10.75.90.94) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 16 Apr 2019 16:58:33 +0200 Received: from localhost (10.201.23.25) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 16 Apr 2019 16:58:33 +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 v2 0/8] stm32 m4 remoteproc on STM32MP157c Date: Tue, 16 Apr 2019 16:58:11 +0200 Message-ID: <1555426699-5340-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.201.23.25] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-04-16_05:,, 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 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 | 64 +++ 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, 869 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