[U-Boot] [PATCH v10 00/12] mips: bmips: add SPI support
Jagan Teki
jagannadh.teki at gmail.com
Fri Jan 26 06:04:51 UTC 2018
On Tue, Jan 23, 2018 at 9:44 PM, Álvaro Fernández Rojas
<noltari at gmail.com> wrote:
> BCM63xx SPI controller is a bit tricky since it doesn't allow keeping CS
> active between transfers, so I had to modify the spi_flash driver in order
> to allow limiting reads.
>
> v10: Introduce changes reported by Tom Rini & Daniel Schwierzeck:
> - Fix undefined BE read functions
> v9: Introduce changes suggested by Simon Glass:
> - Fix defconfig order.
> v8: Introduce changes suggested by Jagan Teki & Daniel Schwierzeck:
> - Squash wait_bit commits.
> - Remove register param castings.
> v7: Introduce changes suggested by Jagan Teki & Daniel Schwierzeck:
> - Use const void* reg for compatibility with 64 bit systems.
> - Remove prefix and use __func__ instead.
> - Remove wait_for_bit and update callers to wait_for_bit_le32.
> v6: Introduce changes suggested by Jagan Teki:
> - Use cmd instead of val to avoid confusions.
> - Switch to wait_for_bit instead of infinite loop.
> v5: Introduce changes suggested by Jagan Teki:
> - Use long structs for registers
> v4: Introduce changes suggested by Jagan Teki:
> - Add data for each HW controller instead of having two separate configs.
> v3: Fix bug introduced in v2: sizeof(cmd) vs len.
> Also rename BCM6338 SPI driver to BCM6348 SPI since BCM6338 is a stripped
> down version of the BCM6348.
> Switch to devfdt_get_addr_size_index().
> v2: Introduce changes requested by Simon Glass:
> - Always include command bytes when determining max write size.
> Also move SPI aliases from .dts to .dtsi files.
>
> Álvaro Fernández Rojas (12):
> wait_bit: add 8/16/32 BE/LE versions of wait_for_bit
> wait_bit: use wait_for_bit_le32 and remove wait_for_bit
> drivers: spi: allow limiting reads
> drivers: spi: consider command bytes when sending transfers
> dm: spi: add BCM63xx SPI driver
> mips: bmips: add bcm63xx-spi driver support for BCM6338
> mips: bmips: add bcm63xx-spi driver support for BCM6348
> mips: bmips: add bcm63xx-spi driver support for BCM6358
> mips: bmips: add bcm63xx-spi driver support for BCM3380
> mips: bmips: add bcm63xx-spi driver support for BCM63268
> mips: bmips: enable the SPI flash on the Sagem F at ST1704
> mips: bmips: enable the SPI flash on the Netgear CG3100D
Applied to u-boot-spi/master, thanks!
More information about the U-Boot
mailing list