From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Subject: Re: [PATCH RESEND 2/3] dmaengine: s3c24xx-dma: add support for the s3c2410 type of controller Date: Wed, 16 Oct 2013 07:34:45 +0530 Message-ID: <20131016020445.GS2954@intel.com> References: <201310111059.19791.heiko@sntech.de> <201310111101.04721.heiko@sntech.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mga03.intel.com ([143.182.124.21]:62603 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753073Ab3JPC5s (ORCPT ); Tue, 15 Oct 2013 22:57:48 -0400 Content-Disposition: inline In-Reply-To: <201310111101.04721.heiko@sntech.de> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Heiko =?iso-8859-1?Q?St=FCbner?= Cc: Kukjin Kim , Sangbeom Kim , Liam Girdwood , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Olof Johansson On Fri, Oct 11, 2013 at 11:01:04AM +0200, Heiko St=FCbner wrote: > The earliest variants of the dma controller did not contain support f= or > controlling clocks. Acked-by: Vinod Koul >=20 > Signed-off-by: Heiko Stuebner > --- > drivers/dma/s3c24xx-dma.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) >=20 > diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c > index 56c9253..4cb1279 100644 > --- a/drivers/dma/s3c24xx-dma.c > +++ b/drivers/dma/s3c24xx-dma.c > @@ -1078,6 +1078,13 @@ static void s3c24xx_dma_free_virtual_channels(= struct dma_device *dmadev) > list_del(&chan->vc.chan.device_node); > } > =20 > +/* s3c2410, s3c2440 and s3c2442 have a 0x40 stride without separate = clocks */ > +static struct soc_data soc_s3c2410 =3D { > + .stride =3D 0x40, > + .has_reqsel =3D false, > + .has_clocks =3D false, > +}; > + > /* s3c2412 and s3c2413 have a 0x40 stride and dmareqsel mechanism */ > static struct soc_data soc_s3c2412 =3D { > .stride =3D 0x40, > @@ -1094,6 +1101,9 @@ static struct soc_data soc_s3c2443 =3D { > =20 > static struct platform_device_id s3c24xx_dma_driver_ids[] =3D { > { > + .name =3D "s3c2410-dma", > + .driver_data =3D (kernel_ulong_t)&soc_s3c2410, > + }, { > .name =3D "s3c2412-dma", > .driver_data =3D (kernel_ulong_t)&soc_s3c2412, > }, { > --=20 > 1.7.10.4 >=20 --=20 From mboxrd@z Thu Jan 1 00:00:00 1970 From: vinod.koul@intel.com (Vinod Koul) Date: Wed, 16 Oct 2013 07:34:45 +0530 Subject: [PATCH RESEND 2/3] dmaengine: s3c24xx-dma: add support for the s3c2410 type of controller In-Reply-To: <201310111101.04721.heiko@sntech.de> References: <201310111059.19791.heiko@sntech.de> <201310111101.04721.heiko@sntech.de> Message-ID: <20131016020445.GS2954@intel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Oct 11, 2013 at 11:01:04AM +0200, Heiko St?bner wrote: > The earliest variants of the dma controller did not contain support for > controlling clocks. Acked-by: Vinod Koul > > Signed-off-by: Heiko Stuebner > --- > drivers/dma/s3c24xx-dma.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c > index 56c9253..4cb1279 100644 > --- a/drivers/dma/s3c24xx-dma.c > +++ b/drivers/dma/s3c24xx-dma.c > @@ -1078,6 +1078,13 @@ static void s3c24xx_dma_free_virtual_channels(struct dma_device *dmadev) > list_del(&chan->vc.chan.device_node); > } > > +/* s3c2410, s3c2440 and s3c2442 have a 0x40 stride without separate clocks */ > +static struct soc_data soc_s3c2410 = { > + .stride = 0x40, > + .has_reqsel = false, > + .has_clocks = false, > +}; > + > /* s3c2412 and s3c2413 have a 0x40 stride and dmareqsel mechanism */ > static struct soc_data soc_s3c2412 = { > .stride = 0x40, > @@ -1094,6 +1101,9 @@ static struct soc_data soc_s3c2443 = { > > static struct platform_device_id s3c24xx_dma_driver_ids[] = { > { > + .name = "s3c2410-dma", > + .driver_data = (kernel_ulong_t)&soc_s3c2410, > + }, { > .name = "s3c2412-dma", > .driver_data = (kernel_ulong_t)&soc_s3c2412, > }, { > -- > 1.7.10.4 > --