From patchwork Wed May 24 10:16:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 100436 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp201806qge; Wed, 24 May 2017 03:17:29 -0700 (PDT) X-Received: by 10.99.1.85 with SMTP id 82mr38364170pgb.164.1495621049822; Wed, 24 May 2017 03:17:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495621049; cv=none; d=google.com; s=arc-20160816; b=Pp9jHaU8/5ccxVniIyBGb1gnJoqbJo1pT7B+tAm7xEo59DbL9Jdwvz+hSWwEYrD80y cv6N7MESP3kb7s2g5m9coFU3YT9iX2uXNeGJKTgIRENbMvdYCY38ZkhCeEokJFWGlfJ5 5BaFRYbovSX8KMOZJggDV4gGasZ2OU0aNSBeEmOMkwRcXKHBVeVgIGPpsOnqdSeh0N54 01NSFUfHkgqI8qzIEm3eAKgvOf5QEydWvsRon3QpQTEGrWI3NMko12BDOHsUTBDiZ1iX jwl4K0GoGH2vYi+IPFFX/Uw/aHn0st/sm+RXRiJ3UohwIO1kwgFoHCJXlKROxdfpmYXY FkIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=sAuErnUDczc3bL/16eT9A7mCi28qkYlLaQmEMCOXXlc=; b=BIFowAvN/F9LCz0d/Oi9IjYSk0jllsJlnpsBAgtduq8jLeTUrLA1KYoBuZ0OnUxZPI XjhhB09vTsvwxrKj4bxoRn/hyBXC7tVDjZKLc19dk+yH3BUMC7ixQQzvP+ad3Snlp77F 7AhLRql0RM9OFLrmc7uNLeaBs6fjzdyApUssuwZYnPs1MNzzvYJxlGvZdy3ZWEmDdK/L Lb5WUicEUfpnv+MUITd6+JfaUatVsmo690Q16AA90uxsGZO3RUnYYAydiGWXfX4c3XuX Vdi0Lf7CUTjJirkOq3bT+SmJfN23Ety8ROde02J5CeOkeEAbY/g3mbwo3KQTLDoapMIB LSuA== ARC-Authentication-Results: i=1; mx.google.com; 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 f86si23752824pfj.267.2017.05.24.03.17.29; Wed, 24 May 2017 03:17:29 -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; 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 S969322AbdEXKRU (ORCPT + 25 others); Wed, 24 May 2017 06:17:20 -0400 Received: from foss.arm.com ([217.140.101.70]:35500 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934323AbdEXKQ7 (ORCPT ); Wed, 24 May 2017 06:16:59 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 094422B; Wed, 24 May 2017 03:16:59 -0700 (PDT) Received: from e107155-lin.cambridge.arm.com (unknown [10.1.211.34]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 164AD3F578; Wed, 24 May 2017 03:16:57 -0700 (PDT) From: Sudeep Holla To: linux-kernel@vger.kernel.org, Jassi Brar Cc: Sudeep Holla , devicetree@vger.kernel.org, Alexey Klimov Subject: [PATCH v2 0/6] mailbox: arm_mhu: add support for doorbell mode Date: Wed, 24 May 2017 11:16:37 +0100 Message-Id: <1495621003-4291-1-git-send-email-sudeep.holla@arm.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series adds doorbell support to ARM MHU mailbox controller driver. Since we need to callback the different client based on the doorbel bits triggered from the remote, we can manage with single channel for the set of 32 doorbells. Regards, Sudeep v1->v2: - Removed the notion od subchannels - Treat each bit in the MHU register as a doorbell and hence different channel with respect to mailbox framework v1: https://www.spinics.net/lists/kernel/msg2500461.html Sudeep Holla (6): mailbox: arm_mhu: reorder header inclusion and drop unneeded ones Documentation: devicetree: add bindings to support ARM MHU doorbells mailbox: arm_mhu: migrate to threaded irq handler mailbox: arm_mhu: re-factor data structure to add doorbell support mailbox: arm_mhu: add full support for the doorbells mailbox: arm_mhu: add support to read and record mbox-name .../devicetree/bindings/mailbox/arm-mhu.txt | 46 ++- drivers/mailbox/arm_mhu.c | 386 ++++++++++++++++++--- 2 files changed, 383 insertions(+), 49 deletions(-) -- 2.7.4