Re: [PATCH v9 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2017-02-15 Thread Joshua Clayton
On 02/15/2017 09:14 AM, Alan Tull wrote: > On Wed, Feb 15, 2017 at 9:26 AM, Anatolij Gustschin wrote: >> Hi Joshua, >> >> On Tue, 24 Jan 2017 14:19:33 -0800 >> Joshua Clayton stillcompil...@gmail.com wrote: >> ... >>> +static int cyclonespi_write(struct fpga_manager *mgr, const

Re: [PATCH v9 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2017-02-15 Thread Joshua Clayton
On 02/15/2017 09:14 AM, Alan Tull wrote: > On Wed, Feb 15, 2017 at 9:26 AM, Anatolij Gustschin wrote: >> Hi Joshua, >> >> On Tue, 24 Jan 2017 14:19:33 -0800 >> Joshua Clayton stillcompil...@gmail.com wrote: >> ... >>> +static int cyclonespi_write(struct fpga_manager *mgr, const char *buf, >>> +

Re: [PATCH v9 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2017-02-15 Thread Alan Tull
On Wed, Feb 15, 2017 at 9:26 AM, Anatolij Gustschin wrote: > Hi Joshua, > > On Tue, 24 Jan 2017 14:19:33 -0800 > Joshua Clayton stillcompil...@gmail.com wrote: > ... >>+static int cyclonespi_write(struct fpga_manager *mgr, const char *buf, >>+ size_t count)

Re: [PATCH v9 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2017-02-15 Thread Alan Tull
On Wed, Feb 15, 2017 at 9:26 AM, Anatolij Gustschin wrote: > Hi Joshua, > > On Tue, 24 Jan 2017 14:19:33 -0800 > Joshua Clayton stillcompil...@gmail.com wrote: > ... >>+static int cyclonespi_write(struct fpga_manager *mgr, const char *buf, >>+ size_t count) >>+{ >>+

Re: [PATCH v9 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2017-02-15 Thread Anatolij Gustschin
Hi Joshua, On Tue, 24 Jan 2017 14:19:33 -0800 Joshua Clayton stillcompil...@gmail.com wrote: ... >+static int cyclonespi_write(struct fpga_manager *mgr, const char *buf, >+ size_t count) >+{ >+ struct cyclonespi_conf *conf = (struct cyclonespi_conf *)mgr->priv; >+

Re: [PATCH v9 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2017-02-15 Thread Anatolij Gustschin
Hi Joshua, On Tue, 24 Jan 2017 14:19:33 -0800 Joshua Clayton stillcompil...@gmail.com wrote: ... >+static int cyclonespi_write(struct fpga_manager *mgr, const char *buf, >+ size_t count) >+{ >+ struct cyclonespi_conf *conf = (struct cyclonespi_conf *)mgr->priv; >+

[PATCH v9 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2017-01-24 Thread Joshua Clayton
cyclone-ps-spi loads FPGA firmware over spi, using the "passive serial" interface on Altera Cyclone FPGAS. This is one of the simpler ways to set up an FPGA at runtime. The signal interface is close to unidirectional spi with lsb first. Signed-off-by: Joshua Clayton

[PATCH v9 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2017-01-24 Thread Joshua Clayton
cyclone-ps-spi loads FPGA firmware over spi, using the "passive serial" interface on Altera Cyclone FPGAS. This is one of the simpler ways to set up an FPGA at runtime. The signal interface is close to unidirectional spi with lsb first. Signed-off-by: Joshua Clayton --- drivers/fpga/Kconfig