linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: kernel@martin.sperl.org (kernel at martin.sperl.org)
To: 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	[thread overview]
Message-ID: <1457200973-11662-4-git-send-email-kernel@martin.sperl.org> (raw)
In-Reply-To: <1457200973-11662-1-git-send-email-kernel@martin.sperl.org>

From: Martin Sperl <kernel@martin.sperl.org>

Define names for each of the DMA DREQ values.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
---
 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
-- 
2.1.4

  parent reply	other threads:[~2016-03-05 18:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-05 18:02 [PATCH 1/5] dt/bindings: bcm2835: correct description for DMA-int kernel at martin.sperl.org
2016-03-05 18:02 ` [PATCH 2/5] ARM: bcm2835: add defines for each interrupt kernel at martin.sperl.org
2016-03-05 18:02 ` [PATCH 3/5] ARM: bcm2835: use defined INT names instead of magic numbers kernel at martin.sperl.org
2016-03-05 18:02 ` kernel at martin.sperl.org [this message]
2016-03-05 18:02 ` [PATCH 5/5] ARM: bcm2835: use defined DMA_DREQ " kernel at martin.sperl.org
2016-03-16  6:44 ` [PATCH 1/5] dt/bindings: bcm2835: correct description for DMA-int Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457200973-11662-4-git-send-email-kernel@martin.sperl.org \
    --to=kernel@martin.sperl.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).