[U-Boot] [PATCH v2] gpio: mscc-bitbang-spi: Add a simple gpio driver for bitbgang spi
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Mon Dec 10 17:41:36 UTC 2018
Am 08.12.18 um 10:00 schrieb Gregory CLEMENT:
> Hi,
>
> On mar., oct. 09 2018, Gregory CLEMENT <gregory.clement at bootlin.com> 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 <gregory.clement at bootlin.com>
>> ---
>> 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.schwierzeck at gmail.com>
--
- Daniel
More information about the U-Boot
mailing list