From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH RFC 00/26] Migrate more OMAP DMA code to DMA engine Date: Mon, 13 Jan 2014 20:34:04 +0000 Message-ID: <20140113203404.GF27282@n2100.arm.linux.org.uk> References: <20140102150836.GA3826@n2100.arm.linux.org.uk> <20140108012110.GL5074@atomide.com> <20140109152437.GB27282@n2100.arm.linux.org.uk> <20140113141811.GD27282@n2100.arm.linux.org.uk> <20140113173744.GA7746@atomide.com> <20140113185503.GE27282@n2100.arm.linux.org.uk> <20140113192630.GB7746@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from gw-1.arm.linux.org.uk ([78.32.30.217]:35944 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751874AbaAMUeV (ORCPT ); Mon, 13 Jan 2014 15:34:21 -0500 Content-Disposition: inline In-Reply-To: <20140113192630.GB7746@atomide.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Tony Lindgren Cc: dmaengine@vger.kernel.org, Vinod Koul , Dan Williams , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org On Mon, Jan 13, 2014 at 11:26:31AM -0800, Tony Lindgren wrote: > * Russell King - ARM Linux [140113 10:57]: > > On Mon, Jan 13, 2014 at 09:37:45AM -0800, Tony Lindgren wrote: > > > * Russell King - ARM Linux [140113 08:48= ]: > > > > Any news on this? > > >=20 > > > Sorry for the delay, now getting this: > > >=20 > > > arch/arm/mach-omap1/dma.c: In function =E2=80=98omap1_system_dma_= init=E2=80=99: > > > arch/arm/mach-omap1/dma.c:368: error: =E2=80=98struct omap_dma_de= v_attr=E2=80=99 has no member named =E2=80=98chan=E2=80=99 > >=20 > > Gah. Next incremental patch: >=20 > Thanks, now getting this on omap1: >=20 > # dmesg | grep -i dma > DMA: preallocated 256 KiB pool for atomic coherent allocations > OMAP DMA hardware version 1 > DMA capabilities: 0000000c:00000000:01ff:003f:007f > omap-dma-engine omap-dma-engine: invalid resource > omap-dma-engine: probe of omap-dma-engine failed with error -22 > mmci-omap mmci-omap.1: unable to obtain TX DMA engine channel 54 > mmci-omap mmci-omap.1: unable to obtain RX DMA engine channel 55 Sigh... let's give it the iomem resource then: diff --git a/arch/arm/mach-omap1/dma.c b/arch/arm/mach-omap1/dma.c index 1b1b64647def..4be601b638d7 100644 --- a/arch/arm/mach-omap1/dma.c +++ b/arch/arm/mach-omap1/dma.c @@ -261,6 +261,8 @@ static const struct platform_device_info omap_dma_d= ev_info =3D { .name =3D "omap-dma-engine", .id =3D -1, .dma_mask =3D DMA_BIT_MASK(32), + .res =3D res, + .num_res =3D 1, }; =20 static struct omap_system_dma_plat_info dma_plat_info __initdata =3D { --=20 =46TTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad. Estimate before purchase was "up to 13.2Mbit". -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html