From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Suchanek Subject: Re: [PATCH 0/3] Using SPI NOR flah on sunxi. Date: Thu, 30 Apr 2015 18:56:18 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Thomas.Betker-Bf/A/FSCP0w3s4ca2cGeAgC/G2K4zDHf@public.gmane.org Cc: Alison Chaiken , Huang Shijie , "Bean Huo ????????? (beanhuo)" , Ben Hutchings , Brian Norris , devicetree , David Woodhouse , Kumar Gala , "grmoore-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org" , Ian Campbell , Linux Kernel Mailing List , linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-mtd , linux-sunxi , Marek Vasut , Mark Rutland , Mika Westerberg , Pawel Moll , Rob Herring , Rafa?? Mi??ecki List-Id: devicetree@vger.kernel.org On 30 April 2015 at 18:30, 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 devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html