From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753361AbbKXNQa (ORCPT ); Tue, 24 Nov 2015 08:16:30 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:36809 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752350AbbKXNQ1 (ORCPT ); Tue, 24 Nov 2015 08:16:27 -0500 From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kernel@stlinux.com, maxime.coquelin@st.com, ohad@wizery.com, devicetree@vger.kernel.org, Nathan_Lynch@mentor.com, f.fainelli@gmail.com, ludovic.barre@st.com, s-anna@ti.com, Lee Jones Subject: [RESEND v4 0/6] remoteproc: Add driver for STMicroelectronics platforms Date: Tue, 24 Nov 2015 13:14:16 +0000 Message-Id: <1448370862-19120-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ST's platforms often have multiple co-processors (usually ST40s or ST231s) on-board. This provides the Linux-side infrastructure to flash and boot them successfully. This set has been tested on an STiH410-B2120. v3 => v4: Suggested-by: Suman Anna - Move to using 'reserved-memory' API - New 'reserved-memory' nodes - Remove memory locations from RemoteProc's DT node's reg properties - Remove C code obtaining/allocating DMA memory - Re-order .start() and .stop() ops - Add protection around Reset API in error path - Explicitly set .has_iommu to false v2 => v3: - Generify syscon property (st,syscfg-boot => st,syscfg) - Rename IP in DT bindings doc (Remote Processor => Co-Processor) - Remove superfluous 'clock-names' property - Remove superfluous 'reg-names' property - Populate MAINTAINERS - Clean-up DTS formatting - Use strings in debugfs to control procs ('1|0' => 'start|stop') - Align copyright statement with MODULE() macros - Rename driver data structure ('st_rproc' => 'ddata') - Addition of a full error path in .start() v1 => v2: - Remove Linux implementation specific comment from binding document - Force debugfs '0' to shutdown co-processor - rather than !1 - Supply more detailed commit message - Propagate errors back from .stop() - Review GPL wording - Supply original author's SoBs Lee Jones (6): remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver remoteproc: debugfs: Add ability to boot remote processor using debugfs remoteproc: Supply controller driver for ST's Remote Processors MAINTAINERS: Add ST's Remote Processor Driver to ARM/STI ARCHITECTURE ARM: STiH407: Add nodes for RemoteProc ARM: STiH407: Move over to using the 'reserved-memory' API for obtaining DMA memory .../devicetree/bindings/remoteproc/st-rproc.txt | 41 +++ MAINTAINERS | 1 + arch/arm/boot/dts/stih407-family.dtsi | 70 +++++ drivers/remoteproc/Kconfig | 9 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/remoteproc_debugfs.c | 34 +++ drivers/remoteproc/st_remoteproc.c | 297 +++++++++++++++++++++ 7 files changed, 453 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/st-rproc.txt create mode 100644 drivers/remoteproc/st_remoteproc.c -- 1.9.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: [RESEND v4 0/6] remoteproc: Add driver for STMicroelectronics platforms Date: Tue, 24 Nov 2015 13:14:16 +0000 Message-ID: <1448370862-19120-1-git-send-email-lee.jones@linaro.org> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org, maxime.coquelin-qxv4g6HH51o@public.gmane.org, ohad-Ix1uc/W3ht7QT0dZR+AlfA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Nathan_Lynch-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org, f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, ludovic.barre-qxv4g6HH51o@public.gmane.org, s-anna-l0cyMroinI0@public.gmane.org, Lee Jones List-Id: devicetree@vger.kernel.org ST's platforms often have multiple co-processors (usually ST40s or ST231s) on-board. This provides the Linux-side infrastructure to flash and boot them successfully. This set has been tested on an STiH410-B2120. v3 => v4: Suggested-by: Suman Anna - Move to using 'reserved-memory' API - New 'reserved-memory' nodes - Remove memory locations from RemoteProc's DT node's reg properties - Remove C code obtaining/allocating DMA memory - Re-order .start() and .stop() ops - Add protection around Reset API in error path - Explicitly set .has_iommu to false v2 => v3: - Generify syscon property (st,syscfg-boot => st,syscfg) - Rename IP in DT bindings doc (Remote Processor => Co-Processor) - Remove superfluous 'clock-names' property - Remove superfluous 'reg-names' property - Populate MAINTAINERS - Clean-up DTS formatting - Use strings in debugfs to control procs ('1|0' => 'start|stop') - Align copyright statement with MODULE() macros - Rename driver data structure ('st_rproc' => 'ddata') - Addition of a full error path in .start() v1 => v2: - Remove Linux implementation specific comment from binding document - Force debugfs '0' to shutdown co-processor - rather than !1 - Supply more detailed commit message - Propagate errors back from .stop() - Review GPL wording - Supply original author's SoBs Lee Jones (6): remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver remoteproc: debugfs: Add ability to boot remote processor using debugfs remoteproc: Supply controller driver for ST's Remote Processors MAINTAINERS: Add ST's Remote Processor Driver to ARM/STI ARCHITECTURE ARM: STiH407: Add nodes for RemoteProc ARM: STiH407: Move over to using the 'reserved-memory' API for obtaining DMA memory .../devicetree/bindings/remoteproc/st-rproc.txt | 41 +++ MAINTAINERS | 1 + arch/arm/boot/dts/stih407-family.dtsi | 70 +++++ drivers/remoteproc/Kconfig | 9 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/remoteproc_debugfs.c | 34 +++ drivers/remoteproc/st_remoteproc.c | 297 +++++++++++++++++++++ 7 files changed, 453 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/st-rproc.txt create mode 100644 drivers/remoteproc/st_remoteproc.c -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Tue, 24 Nov 2015 13:14:16 +0000 Subject: [RESEND v4 0/6] remoteproc: Add driver for STMicroelectronics platforms Message-ID: <1448370862-19120-1-git-send-email-lee.jones@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org ST's platforms often have multiple co-processors (usually ST40s or ST231s) on-board. This provides the Linux-side infrastructure to flash and boot them successfully. This set has been tested on an STiH410-B2120. v3 => v4: Suggested-by: Suman Anna - Move to using 'reserved-memory' API - New 'reserved-memory' nodes - Remove memory locations from RemoteProc's DT node's reg properties - Remove C code obtaining/allocating DMA memory - Re-order .start() and .stop() ops - Add protection around Reset API in error path - Explicitly set .has_iommu to false v2 => v3: - Generify syscon property (st,syscfg-boot => st,syscfg) - Rename IP in DT bindings doc (Remote Processor => Co-Processor) - Remove superfluous 'clock-names' property - Remove superfluous 'reg-names' property - Populate MAINTAINERS - Clean-up DTS formatting - Use strings in debugfs to control procs ('1|0' => 'start|stop') - Align copyright statement with MODULE() macros - Rename driver data structure ('st_rproc' => 'ddata') - Addition of a full error path in .start() v1 => v2: - Remove Linux implementation specific comment from binding document - Force debugfs '0' to shutdown co-processor - rather than !1 - Supply more detailed commit message - Propagate errors back from .stop() - Review GPL wording - Supply original author's SoBs Lee Jones (6): remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver remoteproc: debugfs: Add ability to boot remote processor using debugfs remoteproc: Supply controller driver for ST's Remote Processors MAINTAINERS: Add ST's Remote Processor Driver to ARM/STI ARCHITECTURE ARM: STiH407: Add nodes for RemoteProc ARM: STiH407: Move over to using the 'reserved-memory' API for obtaining DMA memory .../devicetree/bindings/remoteproc/st-rproc.txt | 41 +++ MAINTAINERS | 1 + arch/arm/boot/dts/stih407-family.dtsi | 70 +++++ drivers/remoteproc/Kconfig | 9 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/remoteproc_debugfs.c | 34 +++ drivers/remoteproc/st_remoteproc.c | 297 +++++++++++++++++++++ 7 files changed, 453 insertions(+) create mode 100644 Documentation/devicetree/bindings/remoteproc/st-rproc.txt create mode 100644 drivers/remoteproc/st_remoteproc.c -- 1.9.1