[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201504302034.36753.marex@denx.de>
Date: Thu, 30 Apr 2015 20:34:36 +0200
From: Marek Vasut <marex@...x.de>
To: Michal Suchanek <hramrach@...il.com>
Cc: Thomas.Betker@...de-schwarz.com,
Alison Chaiken <alison_chaiken@...tor.com>,
Huang Shijie <b32955@...escale.com>,
"Bean Huo ????????? (beanhuo)" <beanhuo@...ron.com>,
Ben Hutchings <ben@...adent.org.uk>,
Brian Norris <computersforpeace@...il.com>,
devicetree <devicetree@...r.kernel.org>,
David Woodhouse <dwmw2@...radead.org>,
Kumar Gala <galak@...eaurora.org>,
"grmoore@...era.com" <grmoore@...era.com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-mtd@...ts.infradead.org,
"linux-mtd" <linux-mtd-bounces@...ts.infradead.org>,
"linux-sunxi" <linux-sunxi@...glegroups.com>,
Mark Rutland <mark.rutland@....com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Pawel Moll <pawel.moll@....com>,
Rob Herring <robh+dt@...nel.org>,
"Rafa?? Mi??ecki" <zajec5@...il.com>
Subject: Re: [PATCH 0/3] Using SPI NOR flah on sunxi.
On Thursday, April 30, 2015 at 06:56:18 PM, Michal Suchanek wrote:
> On 30 April 2015 at 18:30, <Thomas.Betker@...de-schwarz.com> wrote:
> > Hello Michal:
> >> I tried to connect a SPI NOR flash to my sunxi board and due to the
> >
> > current
> >
> >> sunxi SPI driver limitations it does not work.
> >>
> >> The SPI driver returns an error when more than 64 bytes are
> >> transferred at once
> >> due to lack of DMA support.
> >
> > Wouldn't it be easier to fix the SPI driver to handle transfers larger
> > than 64 bytes, filling and draining the FIFO multiple times if
> > neccessary? (As far as I can tell, most SPI drivers do this.)
>
> Yes, the intent is to fix this by adding dma support to the driver,
> eventually.
>
> The patch might be still useful for other hardware with developing SPI
> support.
Please just fix the controller driver to correctly handle arbitrary transfer
lengths.
Best regards,
Marek Vasut
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists