From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 04/11] ARM: bcm2835: dt: add bindings for shared interrupt properties
Date: Tue, 22 Mar 2016 10:24:29 +0000 [thread overview]
Message-ID: <20160322102429.GA21158@leverpostej> (raw)
In-Reply-To: <56F10F21.9020709@martin.sperl.org>
On Tue, Mar 22, 2016 at 10:23:45AM +0100, Martin Sperl wrote:
> Hi Mark!
Hi Martin,
Apologies for having gone silent on this.
> On 11.03.2016 09:51, Martin Sperl wrote:
> >>On 10.03.2016, at 09:57, Mark Rutland <mark.rutland@arm.com> wrote:
> >>
> >>Alternative options that have been considered:
> >>* there is unfortunately no ?interrupt-names? property (like it exists for
> >> reg, dma), because then I would have preferred to used:
> >> interrupts = <...>, <...>, ?;
> >> interrupt-name = ?dma0?, ?dma1?, ..., ?dma10?, ?dmashared?, ?dmaall?;
> >> with something like this we could probably have avoided both properties
> >> and just added a legacy mapping
> >> This would require some changes to the irq framework (which I wanted
> >> to avoid)
>
> I have posted a patch based on this approach (after having found out
> that it is possible
> with the current framework using platform_get_irq_byname).
>
> Rob Herring has "Acked" the documentation patch:
> [PATCH 1/3] dt/bindings: bcm2835: add interrupt-names property
>
> Is this approach acceptable for you as well, so that we can try to
> get it merged?
That approach looks good to me too.
One minor nit: please explicitly describe the "dma-shared-all"
interrupt-name in the description of interrupt-names.
Otherwise, for the binding and the code (which I retains support for
existing DTs):
Acked-by: Mark Rutland <mark.rutland@arm.com>
Thanks,
Mark.
WARNING: multiple messages have this Message-ID (diff)
From: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
To: Martin Sperl <kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
Cc: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
Lee Jones <lee-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>,
Vinod Koul <vinod.koul-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v3 04/11] ARM: bcm2835: dt: add bindings for shared interrupt properties
Date: Tue, 22 Mar 2016 10:24:29 +0000 [thread overview]
Message-ID: <20160322102429.GA21158@leverpostej> (raw)
In-Reply-To: <56F10F21.9020709-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
On Tue, Mar 22, 2016 at 10:23:45AM +0100, Martin Sperl wrote:
> Hi Mark!
Hi Martin,
Apologies for having gone silent on this.
> On 11.03.2016 09:51, Martin Sperl wrote:
> >>On 10.03.2016, at 09:57, Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org> wrote:
> >>
> >>Alternative options that have been considered:
> >>* there is unfortunately no “interrupt-names” property (like it exists for
> >> reg, dma), because then I would have preferred to used:
> >> interrupts = <...>, <...>, …;
> >> interrupt-name = “dma0”, “dma1”, ..., “dma10”, “dmashared”, “dmaall”;
> >> with something like this we could probably have avoided both properties
> >> and just added a legacy mapping
> >> This would require some changes to the irq framework (which I wanted
> >> to avoid)
>
> I have posted a patch based on this approach (after having found out
> that it is possible
> with the current framework using platform_get_irq_byname).
>
> Rob Herring has "Acked" the documentation patch:
> [PATCH 1/3] dt/bindings: bcm2835: add interrupt-names property
>
> Is this approach acceptable for you as well, so that we can try to
> get it merged?
That approach looks good to me too.
One minor nit: please explicitly describe the "dma-shared-all"
interrupt-name in the description of interrupt-names.
Otherwise, for the binding and the code (which I retains support for
existing DTs):
Acked-by: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
Thanks,
Mark.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-03-22 10:24 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-05 10:52 [PATCH v3 00/11] dmaengine: bcm2835: bugfix + enhancement of driver kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-05 10:52 ` [PATCH v3 01/11] dmaengine: bcm2835: set residue_granularity field kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-05 10:52 ` [PATCH v3 02/11] dmaengine: bcm2835: remove unnecessary masking of dma channels kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-05 10:52 ` [PATCH v3 03/11] dmaengine: bcm2835: use shared interrupt for channel 11 to 14 kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-05 10:52 ` [PATCH v3 04/11] ARM: bcm2835: dt: add bindings for shared interrupt properties kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-07 23:24 ` Eric Anholt
2016-03-07 23:24 ` Eric Anholt
2016-03-08 11:23 ` Martin Sperl
2016-03-08 11:23 ` Martin Sperl
2016-03-11 5:53 ` Vinod Koul
2016-03-11 5:53 ` Vinod Koul
2016-03-10 8:57 ` Mark Rutland
2016-03-10 8:57 ` Mark Rutland
2016-03-11 8:51 ` Martin Sperl
2016-03-11 8:51 ` Martin Sperl
2016-03-22 9:23 ` Martin Sperl
2016-03-22 9:23 ` Martin Sperl
2016-03-22 10:24 ` Mark Rutland [this message]
2016-03-22 10:24 ` Mark Rutland
2016-03-05 10:52 ` [PATCH v3 05/11] dmaengine: bcm2835: add additional defines for DMA-registers kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-05 10:52 ` [PATCH v3 06/11] dmaengine: bcm2835: move cyclic member from bcm2835_chan into bcm2835_desc kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-05 10:52 ` [PATCH v3 07/11] dmaengine: bcm2835: move controlblock chain generation into separate method kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-05 10:52 ` [PATCH v3 08/11] dmaengine: bcm2835: limit max length based on channel type kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-05 10:52 ` [PATCH v3 09/11] dmaengine: bcm2835: add slave_sg support to bcm2835-dma kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-05 10:52 ` [PATCH v3 10/11] dmaengine: bcm2835: add dma_memcopy " kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
2016-03-05 10:52 ` [PATCH v3 11/11] dmaengine: bcm2835: expose dma registers via debugfs kernel at martin.sperl.org
2016-03-05 10:52 ` kernel-TqfNSX0MhmxHKSADF0wUEw
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=20160322102429.GA21158@leverpostej \
--to=mark.rutland@arm.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.