public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: nm@ti•com (Nishanth Menon)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 2/3] ARM: dts: DRA: Add crossbar device binding
Date: Thu, 18 Jul 2013 14:04:38 -0500	[thread overview]
Message-ID: <51E83C46.3040000@ti.com> (raw)
In-Reply-To: <1374165830-6367-3-git-send-email-r.sricharan@ti.com>

On 07/18/2013 11:43 AM, Sricharan R wrote:
> This adds the irq/dma crossbar device nodes.
>
> There is a IRQ and DMA crossbar device in the soc, which
> maps the irq/dma requests from the peripherals to the
> mpu/dsp/ipu/eve interrupt and sdma/edma controller's inputs.
> The Peripheral irq/dma requests are connected to only one crossbar
> input and the output of the crossbar is connected to only one
> controller's input line. On POR, there are some mappings which
> are done by default. Those peripherals which do not have a
> mapping on POR, should be configured to route its requests
> using the crossbar control registers.
>

What is POR? Plan on Record? I supppose, we just love our TLA?

> The irq/dma mapping for some peripherals are
> added with the crossbar nodes here.
>
> Signed-off-by: Sricharan R <r.sricharan@ti•com>
> ---
>   arch/arm/boot/dts/dra7.dtsi |   19 +++++++++++++++++++
>   1 file changed, 19 insertions(+)
>
> diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
> index a5d9350..e6208b4 100644
> --- a/arch/arm/boot/dts/dra7.dtsi
> +++ b/arch/arm/boot/dts/dra7.dtsi
> @@ -85,6 +85,25 @@
>   		ranges;
>   		ti,hwmods = "l3_main_1", "l3_main_2";
>
> +		crossbar_mpu: mpuirq at 4a002a48 {
> +			compatible = "crossbar";
> +			crossbar-name = "mpu-irq";
> +			reg = <0x4a002a48 0x0130>;
> +			reg-width = <16>;
> +			crossbar-lines = "mpu-irq", "rtc-ss-alarm", <0x9f 0xd9 0x12c>,
> +					 "mpu-irq", "mcasp3-arevt", <0x9e 0x96 0x12a>,
> +					 "mpu-irq", "mcasp3-axevt", <0x9d 0x97 0x128>;

a) I'd like to use UART10. oh, let me guess: we dont map all cross bar 
options here.. just "certain ones"
b) I like to use random 6 uarts out of the available 10 uarts on the fly.
c) I'd like to use IRQCROSS bar such that i use all the hardware block 
instances that dont have default GIC IRQ mapping.


> +		};
> +
> +		crossbar_dma: dmareq at 4a002b78 {
> +			compatible = "crossbar";
> +			crossbar-name = "dma-req";
> +			reg = <0x4a002b78 0x0100>;
> +			reg-width = <16>;
> +			crossbar-lines = "dma-req", "mcasp3-rx", <0x7e 0x84 0xfc>,
> +					 "dma-req", "mcasp3-tx", <0x7d 0x85 0xfa>;
> +		};
> +
>   		counter32k: counter at 4ae04000 {
>   			compatible = "ti,omap-counter32k";
>   			reg = <0x4ae04000 0x40>;
>


-- 
Regards,
Nishanth Menon

  reply	other threads:[~2013-07-18 19:04 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-18 16:43 [PATCH 0/3] Add crossbar driver Sricharan R
2013-07-18 16:43 ` [PATCH 1/3] misc: " Sricharan R
2013-07-18 16:55   ` Joe Perches
2013-07-18 18:25   ` Felipe Balbi
2013-07-21 16:33     ` Linus Walleij
2013-07-18 18:56   ` Nishanth Menon
2013-07-18 23:39     ` Santosh Shilimkar
2013-07-19  0:13       ` Nishanth Menon
2013-07-19 10:48         ` Sricharan R
2013-07-19  7:17       ` Tony Lindgren
2013-07-19 10:48         ` Sricharan R
2013-07-21 16:49     ` Linus Walleij
2013-07-22 12:20       ` Sricharan R
2013-07-22 16:23         ` Santosh Shilimkar
2013-07-24 16:08           ` Nishanth Menon
2013-07-24 16:38             ` Santosh Shilimkar
2013-07-24 16:47               ` Nishanth Menon
2013-07-24 18:43                 ` Sricharan R
2013-07-24 18:51                   ` Nishanth Menon
2013-07-24 18:59                     ` Santosh Shilimkar
2013-08-13  8:10                       ` Tony Lindgren
2013-08-13  9:56                         ` Sricharan R
2013-08-13 13:29                           ` Santosh Shilimkar
2013-08-15 20:01                           ` Linus Walleij
2013-08-15 20:26                             ` Santosh Shilimkar
2013-08-15 20:51                               ` Linus Walleij
2013-08-15 21:14                                 ` Santosh Shilimkar
2013-08-21 21:10                                   ` Linus Walleij
2013-08-22 11:33                                     ` Sricharan R
2013-08-22 13:45                                       ` Santosh Shilimkar
2013-08-23  4:47                                       ` Rajendra Nayak
2013-08-23  6:11                                         ` Sricharan R
2013-08-23  6:17                                           ` Rajendra Nayak
2013-08-23  6:36                                           ` Sekhar Nori
2013-08-23  6:53                                             ` Sricharan R
2013-08-23  8:14                                               ` Sekhar Nori
2013-08-23 13:38                                                 ` Santosh Shilimkar
2013-08-23 16:28                                                   ` Sekhar Nori
2013-08-23 19:06                                                     ` Linus Walleij
2013-08-23 19:44                                                       ` Santosh Shilimkar
2013-08-13 13:28                         ` Santosh Shilimkar
2013-08-14  7:27                           ` Tony Lindgren
2013-07-18 16:43 ` [PATCH 2/3] ARM: dts: DRA: Add crossbar device binding Sricharan R
2013-07-18 19:04   ` Nishanth Menon [this message]
2013-07-18 16:43 ` [PATCH 3/3] ARM: DRA7xx: Enable crossbar driver for the soc Sricharan R

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=51E83C46.3040000@ti.com \
    --to=nm@ti$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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