From patchwork Sat Mar 5 10:52:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Sperl X-Patchwork-Id: 8509851 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 34AE0C0553 for ; Sat, 5 Mar 2016 10:52:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5C1222026C for ; Sat, 5 Mar 2016 10:52:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5AC5720295 for ; Sat, 5 Mar 2016 10:52:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760613AbcCEKwr (ORCPT ); Sat, 5 Mar 2016 05:52:47 -0500 Received: from 212-186-180-163.dynamic.surfer.at ([212.186.180.163]:46196 "EHLO cgate.sperl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760508AbcCEKwq (ORCPT ); Sat, 5 Mar 2016 05:52:46 -0500 Received: from rasp3a.intern.sperl.org (account martin@sperl.org [10.10.10.43] verified) by sperl.org (CommuniGate Pro SMTP 6.1.2) with ESMTPSA id 6405649; Sat, 05 Mar 2016 10:52:35 +0000 From: kernel@martin.sperl.org To: Rob Herring , Stephen Warren , Lee Jones , Eric Anholt , Vinod Koul , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org Cc: Martin Sperl Subject: [PATCH v3 04/11] ARM: bcm2835: dt: add bindings for shared interrupt properties Date: Sat, 5 Mar 2016 10:52:15 +0000 Message-Id: <1457175142-28665-5-git-send-email-kernel@martin.sperl.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1457175142-28665-1-git-send-email-kernel@martin.sperl.org> References: <1457175142-28665-1-git-send-email-kernel@martin.sperl.org> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Martin Sperl Add binding documentation for the new shared interrupt properties: * brcm,dma-channel-shared-mask * brcm,dma-shared-irq-index Signed-off-by: Martin Sperl Acked-by: Mark Rutland --- Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt b/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt index 1396078..f9e84ee 100644 --- a/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt +++ b/Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt @@ -17,6 +17,10 @@ Required properties: - brcm,dma-channel-mask: Bit mask representing the channels not used by the firmware in ascending order, i.e. first channel corresponds to LSB. +- brcm,dma-channel-shared-mask: Bit mask representing the channels + that use a shared interrupt +- brcm,dma-shared-irq-index: index of which of the interrupts mentioned + above is the shared interrupt Example: @@ -39,6 +43,8 @@ dma: dma@7e007000 { #dma-cells = <1>; brcm,dma-channel-mask = <0x7f35>; + brcm,dma-channel-shared-mask = <0x0780>; + brcm,dma-shared-irq-index = <11>; }; DMA clients connected to the BCM2835 DMA controller must use the format