Re: [PATCHv3] drivers/misc: Altera active serial implementation

From: Baruch Siach
Date: Wed Nov 17 2010 - 08:29:56 EST


Hi Thomas,

On Wed, Nov 17, 2010 at 02:18:36PM +0800, Thomas Chou wrote:
> On 11/15/2010 04:23 PM, Baruch Siach wrote:
> >From: Alex Gershgorin<agersh@xxxxxxxxxx>
> >
> >The active serial protocol can be used to program Altera serial configuration
> >devices. This driver uses the kernel gpio interface to implement the active
> >serial protocol.
> >
> >This patch also introduces the include/platform_drivers/ directory, which is
> >the new home for platform data headers. This is per Greg's suggestion.
>
> Altera EPCS is normal SPI serial flash, which is exactly the same as
> STmicro part. Please consider existing drivers/mtd/devices/m25p80.c
> and drivers/spi/spi_gpio.c.

Thanks for the pointer. Looking at the op codes and status bits it seems you
are right. The 38 pages Altera datasheet doesn't mention the terms SPI or
m25p80. Go figure.

I'll test you suggestion.

baruch

--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@xxxxxxxxxx - tel: +972.2.679.5364, http://www.tkos.co.il -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/