From mboxrd@z Thu Jan 1 00:00:00 1970 From: rob.rice@broadcom.com (Rob Rice) Date: Thu, 30 Jun 2016 15:59:21 -0400 Subject: [PATCH v2 0/3] Add Broadcom PDC mailbox driver Message-ID: <1467316764-19686-1-git-send-email-rob.rice@broadcom.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Rob Rice Changes in v2: - Added COMPILE_TEST depend to PDC Kconfig - Renamed pdc.c to bcm-pdc-mailbox.c and moved it from subdirectory to drivers/mailbox - Moved code from pdc.h, pdc_debug.h, and pdc_debug.c into bcm-pdc-mailbox.c - Removed a few function parameters The Broadcom PDC mailbox driver is a ring manager for the Broadcom Secure Processing Unit (SPU) kernel driver and other mailbox clients. The PDC driver registers with the Linux mailbox framework a mailbox controller, once for each PDC instance. Ring 0 for each PDC is registered as a mailbox channel. The PDC driver uses interrupts to determine when ring transfers to and from an offload engine are complete. The PDC driver uses threaded IRQs so that response messages are handled outside of interrupt context. Rob Rice (3): dt-bindings: add bindings documentation for PDC driver. mailbox: Add Broadcom PDC mailbox driver arm64: dts: Add Broadcom Northstar2 device tree entries for PDC driver. .../bindings/mailbox/brcm,iproc-pdc-mbox.txt | 23 + arch/arm64/boot/dts/broadcom/ns2.dtsi | 36 + drivers/mailbox/Kconfig | 9 + drivers/mailbox/Makefile | 2 + drivers/mailbox/bcm-pdc-mailbox.c | 1531 ++++++++++++++++++++ include/linux/mailbox/brcm-message.h | 56 + 6 files changed, 1657 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt create mode 100644 drivers/mailbox/bcm-pdc-mailbox.c create mode 100644 include/linux/mailbox/brcm-message.h -- 2.1.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Rice Subject: [PATCH v2 0/3] Add Broadcom PDC mailbox driver Date: Thu, 30 Jun 2016 15:59:21 -0400 Message-ID: <1467316764-19686-1-git-send-email-rob.rice@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Jassi Brar , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Cc: devicetree@vger.kernel.org, Florian Fainelli , Anup Patel , Scott Branden , Jon Mason , Ray Jui , Will Deacon , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Catalin Marinas , rob.rice@broadcom.com, linux-arm-kernel@lists.infradead.org, Rob Rice List-Id: devicetree@vger.kernel.org From: Rob Rice Changes in v2: - Added COMPILE_TEST depend to PDC Kconfig - Renamed pdc.c to bcm-pdc-mailbox.c and moved it from subdirectory to drivers/mailbox - Moved code from pdc.h, pdc_debug.h, and pdc_debug.c into bcm-pdc-mailbox.c - Removed a few function parameters The Broadcom PDC mailbox driver is a ring manager for the Broadcom Secure Processing Unit (SPU) kernel driver and other mailbox clients. The PDC driver registers with the Linux mailbox framework a mailbox controller, once for each PDC instance. Ring 0 for each PDC is registered as a mailbox channel. The PDC driver uses interrupts to determine when ring transfers to and from an offload engine are complete. The PDC driver uses threaded IRQs so that response messages are handled outside of interrupt context. Rob Rice (3): dt-bindings: add bindings documentation for PDC driver. mailbox: Add Broadcom PDC mailbox driver arm64: dts: Add Broadcom Northstar2 device tree entries for PDC driver. .../bindings/mailbox/brcm,iproc-pdc-mbox.txt | 23 + arch/arm64/boot/dts/broadcom/ns2.dtsi | 36 + drivers/mailbox/Kconfig | 9 + drivers/mailbox/Makefile | 2 + drivers/mailbox/bcm-pdc-mailbox.c | 1531 ++++++++++++++++++++ include/linux/mailbox/brcm-message.h | 56 + 6 files changed, 1657 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt create mode 100644 drivers/mailbox/bcm-pdc-mailbox.c create mode 100644 include/linux/mailbox/brcm-message.h -- 2.1.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752202AbcF3UBH (ORCPT ); Thu, 30 Jun 2016 16:01:07 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:35001 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751704AbcF3UBD (ORCPT ); Thu, 30 Jun 2016 16:01:03 -0400 From: Rob Rice To: Jassi Brar , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, Ray Jui , Scott Branden , Jon Mason , Florian Fainelli , Anup Patel , Catalin Marinas , Will Deacon , rob.rice@broadcom.com, Rob Rice Subject: [PATCH v2 0/3] Add Broadcom PDC mailbox driver Date: Thu, 30 Jun 2016 15:59:21 -0400 Message-Id: <1467316764-19686-1-git-send-email-rob.rice@broadcom.com> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rob Rice Changes in v2: - Added COMPILE_TEST depend to PDC Kconfig - Renamed pdc.c to bcm-pdc-mailbox.c and moved it from subdirectory to drivers/mailbox - Moved code from pdc.h, pdc_debug.h, and pdc_debug.c into bcm-pdc-mailbox.c - Removed a few function parameters The Broadcom PDC mailbox driver is a ring manager for the Broadcom Secure Processing Unit (SPU) kernel driver and other mailbox clients. The PDC driver registers with the Linux mailbox framework a mailbox controller, once for each PDC instance. Ring 0 for each PDC is registered as a mailbox channel. The PDC driver uses interrupts to determine when ring transfers to and from an offload engine are complete. The PDC driver uses threaded IRQs so that response messages are handled outside of interrupt context. Rob Rice (3): dt-bindings: add bindings documentation for PDC driver. mailbox: Add Broadcom PDC mailbox driver arm64: dts: Add Broadcom Northstar2 device tree entries for PDC driver. .../bindings/mailbox/brcm,iproc-pdc-mbox.txt | 23 + arch/arm64/boot/dts/broadcom/ns2.dtsi | 36 + drivers/mailbox/Kconfig | 9 + drivers/mailbox/Makefile | 2 + drivers/mailbox/bcm-pdc-mailbox.c | 1531 ++++++++++++++++++++ include/linux/mailbox/brcm-message.h | 56 + 6 files changed, 1657 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt create mode 100644 drivers/mailbox/bcm-pdc-mailbox.c create mode 100644 include/linux/mailbox/brcm-message.h -- 2.1.0