From patchwork Sat Mar 5 18:02:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Sperl X-Patchwork-Id: 8511401 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 040EE9F2F0 for ; Sat, 5 Mar 2016 18:05:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 32DE4202A1 for ; Sat, 5 Mar 2016 18:05:37 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 634A4201C8 for ; Sat, 5 Mar 2016 18:05:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1acGYR-0006k6-BF; Sat, 05 Mar 2016 18:03:51 +0000 Received: from 212-186-180-163.dynamic.surfer.at ([212.186.180.163] helo=cgate.sperl.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1acGY5-0006Wt-V3; Sat, 05 Mar 2016 18:03:31 +0000 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 6405746; Sat, 05 Mar 2016 18:02:58 +0000 From: kernel@martin.sperl.org To: Thomas Gleixner , Rob Herring , Stephen Warren , Lee Jones , Eric Anholt , Russell King , devicetree@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/5] ARM: bcm2835: add defines for each DREQ Date: Sat, 5 Mar 2016 18:02:52 +0000 Message-Id: <1457200973-11662-4-git-send-email-kernel@martin.sperl.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1457200973-11662-1-git-send-email-kernel@martin.sperl.org> References: <1457200973-11662-1-git-send-email-kernel@martin.sperl.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160305_100330_319129_897EBFF9 X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Sperl MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Define names for each of the DMA DREQ values. Signed-off-by: Martin Sperl --- include/dt-bindings/dma/bcm2835.h | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 include/dt-bindings/dma/bcm2835.h diff --git a/include/dt-bindings/dma/bcm2835.h b/include/dt-bindings/dma/bcm2835.h new file mode 100644 index 0000000..5bade32 --- /dev/null +++ b/include/dt-bindings/dma/bcm2835.h @@ -0,0 +1,46 @@ +/* + * Copyright (C) 2016 Martin Sperl + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation version 2. + * + * This program is distributed "as is" WITHOUT ANY WARRANTY of any + * kind, whether express or implied; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +/* DREQ definitions */ +#define BCM2835_DMA_DREQ_NONE 0 +#define BCM2835_DMA_DREQ_DSI0 1 +#define BCM2835_DMA_DREQ_PCM_TX 2 +#define BCM2835_DMA_DREQ_PCM_RX 3 +#define BCM2835_DMA_DREQ_SMI 4 +#define BCM2835_DMA_DREQ_PWM 5 +#define BCM2835_DMA_DREQ_SPI_TX 6 +#define BCM2835_DMA_DREQ_SPI_RX 7 +#define BCM2835_DMA_DREQ_BSC_TX 8 +#define BCM2835_DMA_DREQ_BSC_RX 9 +#define BCM2835_DMA_DREQ_UNUSED 10 +#define BCM2835_DMA_DREQ_EMMC 11 +#define BCM2835_DMA_DREQ_UART_TX 12 +#define BCM2835_DMA_DREQ_SDHOST 13 +#define BCM2835_DMA_DREQ_UART_RX 14 +#define BCM2835_DMA_DREQ_DSI1 15 +#define BCM2835_DMA_DREQ_SLIM_MC_TX 16 +#define BCM2835_DMA_DREQ_HDMI 17 +#define BCM2835_DMA_DREQ_SLIM_MC_RX 18 +#define BCM2835_DMA_DREQ_SLIM_DC0 19 +#define BCM2835_DMA_DREQ_SLIM_DC1 20 +#define BCM2835_DMA_DREQ_SLIM_DC2 21 +#define BCM2835_DMA_DREQ_SLIM_DC3 22 +#define BCM2835_DMA_DREQ_SLIM_DC4 23 +#define BCM2835_DMA_DREQ_SCALER_FIFO0 24 +#define BCM2835_DMA_DREQ_SCALER_FIFO1 25 +#define BCM2835_DMA_DREQ_SCALER_FIFO2 26 +#define BCM2835_DMA_DREQ_SLIM_DC5 27 +#define BCM2835_DMA_DREQ_SLIM_DC6 28 +#define BCM2835_DMA_DREQ_SLIM_DC7 29 +#define BCM2835_DMA_DREQ_SLIM_DC8 30 +#define BCM2835_DMA_DREQ_SLIM_DC9 31