linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: eric@eukrea.com (Eric Bénard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mx28: add dma channels for all auarts
Date: Fri, 19 Apr 2013 18:11:34 +0200	[thread overview]
Message-ID: <20130419181134.06eded8f@e6520eb> (raw)
In-Reply-To: <CAOMZO5B9mL9rzYc9zHjJ_994u=HVerHGa+C+Lqc8VJmse8ak2Q@mail.gmail.com>

Hi Fabio,

Le Fri, 19 Apr 2013 12:26:33 -0300,
Fabio Estevam <festevam@gmail.com> a ?crit :
> On Fri, Apr 19, 2013 at 12:05 PM, Eric B?nard <eric@eukrea.com> wrote:
> > Only auart0 was filled.
> > Tested on a custom i.MX283 board for ttyAPP1/2/3/4.
> >
> > Signed-off-by: Eric B?nard <eric@eukrea.com>
> > ---
> >  arch/arm/boot/dts/imx28.dtsi | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
> > index 25f2243..15933ed 100644
> > --- a/arch/arm/boot/dts/imx28.dtsi
> > +++ b/arch/arm/boot/dts/imx28.dtsi
> > @@ -886,6 +886,7 @@
> >                                 compatible = "fsl,imx28-auart", "fsl,imx23-auart";
> >                                 reg = <0x8006c000 0x2000>;
> >                                 interrupts = <113 72 73>;
> > +                               fsl,auart-dma-channel = <10 11>;
> 
> Now we use the generic 'dmas' binding to passing such information.
> 
> If you look at linux-next tree these UART dma channels are already
> been passed via the new 'dmas' method:
> 
> 			auart1: serial at 8006c000 {
> 				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
> 				reg = <0x8006c000 0x2000>;
> 				interrupts = <113 72 73>;
> 				dmas = <&dma_apbx 10>, <&dma_apbx 11>;
> 				dma-names = "rx", "tx";
> 				clocks = <&clks 45>;
> 				status = "disabled";
> 			};

OK so forget my patch it was against 3.9-rc

Eric

      reply	other threads:[~2013-04-19 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19 15:05 [PATCH] ARM: mx28: add dma channels for all auarts Eric Bénard
2013-04-19 15:26 ` Fabio Estevam
2013-04-19 16:11   ` Eric Bénard [this message]

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=20130419181134.06eded8f@e6520eb \
    --to=eric@eukrea.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 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).