All of lore.kernel.org
 help / color / mirror / Atom feed
From: "ABRAHAM, KISHON VIJAY" <kishon@ti.com>
To: "N, Mugunthan V" <mugunthanvnm@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: how to specify dma_mask and coherent_dma_mask in hwmod
Date: Thu, 28 Jun 2012 21:26:42 +0530	[thread overview]
Message-ID: <CAAe_U6Jw7WrWRAQrVF0XTwBp+F4Fw0zCFVxoZmWdBLSjUS+_Hw@mail.gmail.com> (raw)
In-Reply-To: <EB1619762EAF8B4E97A227FB77B7E0293E9BDE96@DBDE01.ent.ti.com>


[-- Attachment #1.1: Type: text/plain, Size: 853 bytes --]

Hi,

On Wed, Jun 27, 2012 at 11:11 AM, N, Mugunthan V <mugunthanvnm@ti.com>wrote:

> > -----Original Message-----
> > From: N, Mugunthan V
> > Sent: Thursday, June 07, 2012 9:52 PM
> > To: 'linux-omap@vger.kernel.org'
> > Cc: 'linux-arm-kernel@lists.infradead.org'
> > Subject: how to specify dma_mask and coherent_dma_mask in hwmod
> >
> > Hi
> >
> > While converting platform device registry to Hwmod for CPSW Ethernet
> > driver which is present in AM335X (OMAP2+), I am not finding a way to
> > specify
> > dma_mask and coherent_dma_mask.
> > Is there a way to specify dma_mask and coherent_dma_mask in hwmod?
>

Nope. You can specify dma_mask after creating the device as done in
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=arch/arm/mach-omap2/usb-musb.c;h=c4a576856661014ea3bec9acc70f80e32d62c33b;hb=HEAD

Regards
Kishon

[-- Attachment #1.2: Type: text/html, Size: 1536 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: kishon@ti.com (ABRAHAM, KISHON VIJAY)
To: linux-arm-kernel@lists.infradead.org
Subject: how to specify dma_mask and coherent_dma_mask in hwmod
Date: Thu, 28 Jun 2012 21:26:42 +0530	[thread overview]
Message-ID: <CAAe_U6Jw7WrWRAQrVF0XTwBp+F4Fw0zCFVxoZmWdBLSjUS+_Hw@mail.gmail.com> (raw)
In-Reply-To: <EB1619762EAF8B4E97A227FB77B7E0293E9BDE96@DBDE01.ent.ti.com>

Hi,

On Wed, Jun 27, 2012 at 11:11 AM, N, Mugunthan V <mugunthanvnm@ti.com>wrote:

> > -----Original Message-----
> > From: N, Mugunthan V
> > Sent: Thursday, June 07, 2012 9:52 PM
> > To: 'linux-omap at vger.kernel.org'
> > Cc: 'linux-arm-kernel at lists.infradead.org'
> > Subject: how to specify dma_mask and coherent_dma_mask in hwmod
> >
> > Hi
> >
> > While converting platform device registry to Hwmod for CPSW Ethernet
> > driver which is present in AM335X (OMAP2+), I am not finding a way to
> > specify
> > dma_mask and coherent_dma_mask.
> > Is there a way to specify dma_mask and coherent_dma_mask in hwmod?
>

Nope. You can specify dma_mask after creating the device as done in
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=arch/arm/mach-omap2/usb-musb.c;h=c4a576856661014ea3bec9acc70f80e32d62c33b;hb=HEAD

Regards
Kishon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120628/269c4d6a/attachment.html>

  parent reply	other threads:[~2012-06-28 15:56 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27  5:41 how to specify dma_mask and coherent_dma_mask in hwmod N, Mugunthan V
2012-06-27  5:41 ` N, Mugunthan V
2012-06-28 15:27 ` Bedia, Vaibhav
2012-06-28 15:27   ` Bedia, Vaibhav
2012-06-28 15:52   ` Paul Walmsley
2012-06-28 15:52     ` Paul Walmsley
2012-06-28 16:31     ` Bedia, Vaibhav
2012-06-28 16:31       ` Bedia, Vaibhav
2012-06-28 16:32       ` Paul Walmsley
2012-06-28 16:32         ` Paul Walmsley
2012-06-28 16:42         ` Bedia, Vaibhav
2012-06-28 16:42           ` Bedia, Vaibhav
2012-06-29 11:23         ` Bedia, Vaibhav
2012-06-29 11:23           ` Bedia, Vaibhav
2012-07-02  7:16           ` N, Mugunthan V
2012-07-02  7:16             ` N, Mugunthan V
2012-07-04  9:28             ` Paul Walmsley
2012-07-04  9:28               ` Paul Walmsley
2012-06-28 15:56 ` ABRAHAM, KISHON VIJAY [this message]
2012-06-28 15:56   ` ABRAHAM, KISHON VIJAY
2012-06-28 15:58 ` ABRAHAM, KISHON VIJAY
2012-06-28 15:58   ` ABRAHAM, KISHON VIJAY
  -- strict thread matches above, loose matches on Subject: below --
2012-06-07 16:22 N, Mugunthan V
2012-06-07 16:22 ` N, Mugunthan V
2012-07-04  9:41 ` Russell King - ARM Linux
2012-07-04  9:41   ` Russell King - ARM Linux
2012-07-04 11:47   ` N, Mugunthan V
2012-07-04 11:47     ` N, Mugunthan V
2012-07-04 13:25     ` Russell King - ARM Linux
2012-07-04 13:25       ` Russell King - ARM Linux

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=CAAe_U6Jw7WrWRAQrVF0XTwBp+F4Fw0zCFVxoZmWdBLSjUS+_Hw@mail.gmail.com \
    --to=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mugunthanvnm@ti.com \
    /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.