Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752105AbcKYEgN (ORCPT ); Thu, 24 Nov 2016 23:36:13 -0500 Received: from mail-qt0-f174.google.com ([209.85.216.174]:35438 "EHLO mail-qt0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750968AbcKYEgI (ORCPT ); Thu, 24 Nov 2016 23:36:08 -0500 From: Anup Patel To: Jassi Brar , Rob Herring Cc: Mark Rutland , Ray Jui , Scott Branden , Pramod KUMAR , Rob Rice , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, Anup Patel Subject: [PATCH 0/2] Broadcom FlexRM ring manager support Date: Fri, 25 Nov 2016 10:05:49 +0530 Message-Id: <1480048551-3285-1-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1727 Lines: 35 The Broadcom FlexRM ring manager provides producer-consumer style ring interface for offload engines on Broadcom iProc SoCs. We can have one or more instances of Broadcom FlexRM ring manager in a SoC. This patchset adds a mailbox driver for Broadcom FlexRM ring manager which can be used by offload engine drivers as mailbox clients. The Broadcom FlexRM mailbox driver is feature complete for RAID and Crypto offload engines. We will have incremental patches in-future for ring-level statistics using debugfs and minor optimizations. This patchset is based on Linux-4.9-rc6 and it is also available at flexrm-v1 branch of https://github.com/Broadcom/arm64-linux.git Anup Patel (2): mailbox: Add driver for Broadcom FlexRM ring manager dt-bindings: Add DT bindings info for FlexRM mailbox driver .../bindings/mailbox/brcm,flexrm-mbox.txt | 60 ++ drivers/mailbox/Kconfig | 11 + drivers/mailbox/Makefile | 2 + drivers/mailbox/mailbox-flexrm/Makefile | 6 + drivers/mailbox/mailbox-flexrm/flexrm-desc.c | 764 +++++++++++++++++++ drivers/mailbox/mailbox-flexrm/flexrm-desc.h | 47 ++ drivers/mailbox/mailbox-flexrm/flexrm-main.c | 829 +++++++++++++++++++++ include/linux/mailbox/brcm-message.h | 12 +- 8 files changed, 1727 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/mailbox/brcm,flexrm-mbox.txt create mode 100644 drivers/mailbox/mailbox-flexrm/Makefile create mode 100644 drivers/mailbox/mailbox-flexrm/flexrm-desc.c create mode 100644 drivers/mailbox/mailbox-flexrm/flexrm-desc.h create mode 100644 drivers/mailbox/mailbox-flexrm/flexrm-main.c -- 2.7.4