From: Daniel Schwierzeck Date: Mon, 10 Dec 2018 18:41:36 +0100 Subject: [U-Boot] [PATCH v2] gpio: mscc-bitbang-spi: Add a simple gpio driver for bitbgang spi In-Reply-To: <878t10v1dh.fsf@bootlin.com> References: <20181009120842.22090-1-gregory.clement@bootlin.com> <878t10v1dh.fsf@bootlin.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 08.12.18 um 10:00 schrieb Gregory CLEMENT: > Hi, > > On mar., oct. 09 2018, Gregory CLEMENT wrote: > >> The VCore III SoCs such as the Luton but also the Ocelot can remap an SPI >> flash directly in memory. However, for writing in the flash the >> communication has to be done by software. >> >> Each of the signal used for the SPI are exposed in a single register. In >> order to be able to use the soft-spi driver, the management of this pin >> is done through this simple gpio driver. >> >> Even if the main purpose of this driver is to be used by soft-spi, it can >> still be used as a normal gpio driver but with limitation: for example >> the first pin can't be used as output. >> >> Signed-off-by: Gregory CLEMENT >> --- >> Changelog: >> v1 -> v2: >> - use const and static when needed >> - fix style >> - use dev_remap_addr > > I sent this version 2 months ago and addressed all the comments, how > could we going further ? > > Thanks, > > Gregory > I'll apply it along with your Ocelot/Luton series. It only makes sense to merge a new driver if there is a user for it ;) Reviewed-by: Daniel Schwierzeck -- - Daniel