Re: [U-Boot] [PATCH v1] spi: sunxi_spi: Add DM SPI driver for A31/A80/A64

2017-02-25 Thread Dr. Philipp Tomsich
Jagan, > On 25 Feb 2017, at 09:43, Jagan Teki wrote: > >> +/* The SPI flash opcode for a FAST READ DUAL OUTPUT operation. */ >> +#define CMD_READ_DUAL_OUTPUT_FAST 0x3b > > Flash(slave) specific opcodes shouldn't use it on spi driver, try to > implement the spi in generic way instead of making t

Re: [U-Boot] [PATCH v1] spi: sunxi_spi: Add DM SPI driver for A31/A80/A64

2017-02-25 Thread Jagan Teki
On Tue, Feb 21, 2017 at 5:10 AM, Philipp Tomsich wrote: > This adds a rewrite of the SPI driver we had in use for the A31-uQ7 > (sun6i), A80-Q7 (sun9i) and A64-uQ7 (sun50i) boards, which includes > support for: > * cs-gpios (i.e. GPIOs as additional chip-selects) > * clocking, reset and pinctrl

[U-Boot] [PATCH v1] spi: sunxi_spi: Add DM SPI driver for A31/A80/A64

2017-02-20 Thread Philipp Tomsich
This adds a rewrite of the SPI driver we had in use for the A31-uQ7 (sun6i), A80-Q7 (sun9i) and A64-uQ7 (sun50i) boards, which includes support for: * cs-gpios (i.e. GPIOs as additional chip-selects) * clocking, reset and pinctrl based on the device-model * dual-IO data receive for controllers t