[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOMqctRLnCJfVCYGjsmhORYNk+HCf07wwSXnZv4oqDxbaQqKGw@mail.gmail.com>
Date: Thu, 30 Apr 2015 18:56:18 +0200
From: Michal Suchanek <hramrach@...il.com>
To: Thomas.Betker@...de-schwarz.com
Cc: 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>,
Marek Vasut <marex@...x.de>,
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 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.
Thanks
Michal
--
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