All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Álvaro Fernández Rojas" <noltari@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 0/4] mips: bmips: add HSSPI support
Date: Wed, 14 Jun 2017 11:59:52 +0200	[thread overview]
Message-ID: <1497434396-9080-1-git-send-email-noltari@gmail.com> (raw)
In-Reply-To: <1495567120-24573-1-git-send-email-noltari@gmail.com>

BCM63xx HSSPI controller has the same issue as BCM63xx SPI controller: it
doesn't allow keeping CS active between transfers.
However, this controller allows changing CS polarities, which is used in the
linux upstream driver to manage CS as desired.

v3: Switch to CONFIG_BCM63XX_HSSPI and rebase on top of SPI v4.
v2: Introduce changes suggested by Simon Glass:
 - Split bcm63xx_hsspi_xfer() into smaller functions.
 - Check possible clock errors.
 - Check possible reset errors.
 - Switch to devfdt_get_addr_size_index().
 - Use setbits32_be() for clock gate.

Álvaro Fernández Rojas (4):
  dm: spi: add BCM63xx HSSPI driver
  mips: bmips: add bcm63xx-hsspi driver support for BCM6328
  mips: bmips: add bcm63xx-hsspi driver support for BCM63268
  mips: bmips: enable the SPI flash on the Comtrend AR-5387un

 arch/mips/dts/brcm,bcm63268.dtsi        |  21 ++
 arch/mips/dts/brcm,bcm6328.dtsi         |  24 ++
 arch/mips/dts/comtrend,ar-5387un.dts    |  12 +
 configs/comtrend_ar5387un_ram_defconfig |   8 +
 drivers/spi/Kconfig                     |   8 +
 drivers/spi/Makefile                    |   1 +
 drivers/spi/bcm63xx_hsspi.c             | 413 ++++++++++++++++++++++++++++++++
 7 files changed, 487 insertions(+)
 create mode 100644 drivers/spi/bcm63xx_hsspi.c

-- 
2.1.4

  parent reply	other threads:[~2017-06-14  9:59 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23 19:18 [U-Boot] [PATCH 0/4] mips: bmips: add HSSPI support Álvaro Fernández Rojas
2017-05-23 19:18 ` [U-Boot] [PATCH 1/4] dm: spi: add BCM63xx HSSPI driver Álvaro Fernández Rojas
2017-06-01  3:10   ` Simon Glass
2017-05-23 19:18 ` [U-Boot] [PATCH 2/4] mips: bmips: add bcm63xx-hsspi driver support for BCM6328 Álvaro Fernández Rojas
2017-06-01  3:10   ` Simon Glass
2017-05-23 19:18 ` [U-Boot] [PATCH 3/4] mips: bmips: add bcm63xx-hsspi driver support for BCM63268 Álvaro Fernández Rojas
2017-06-01  3:10   ` Simon Glass
2017-05-23 19:18 ` [U-Boot] [PATCH 4/4] mips: bmips: enable the SPI flash on the Comtrend AR-5387un Álvaro Fernández Rojas
2017-06-01  3:10   ` Simon Glass
2017-06-03 10:15 ` [U-Boot] [PATCH v2 0/4] mips: bmips: add HSSPI support Álvaro Fernández Rojas
2017-06-03 10:16   ` [U-Boot] [PATCH v2 1/4] dm: spi: add BCM63xx HSSPI driver Álvaro Fernández Rojas
2017-06-04  9:02     ` Daniel Schwierzeck
2017-06-05 16:03       ` Álvaro Fernández Rojas
2017-06-03 10:16   ` [U-Boot] [PATCH v2 2/4] mips: bmips: add bcm63xx-hsspi driver support for BCM6328 Álvaro Fernández Rojas
2017-06-04  9:04     ` Daniel Schwierzeck
2017-06-05 16:04       ` Álvaro Fernández Rojas
2017-06-03 10:16   ` [U-Boot] [PATCH v2 3/4] mips: bmips: add bcm63xx-hsspi driver support for BCM63268 Álvaro Fernández Rojas
2017-06-04  9:04     ` Daniel Schwierzeck
2017-06-05 16:04       ` Álvaro Fernández Rojas
2017-06-03 10:16   ` [U-Boot] [PATCH v2 4/4] mips: bmips: enable the SPI flash on the Comtrend AR-5387un Álvaro Fernández Rojas
2017-06-04  9:05     ` Daniel Schwierzeck
2017-06-05 16:04       ` Álvaro Fernández Rojas
2017-06-14  9:59 ` Álvaro Fernández Rojas [this message]
2017-06-14  9:59   ` [U-Boot] [PATCH v3 1/4] dm: spi: add BCM63xx HSSPI driver Álvaro Fernández Rojas
2017-06-14  9:59   ` [U-Boot] [PATCH v3 2/4] mips: bmips: add bcm63xx-hsspi driver support for BCM6328 Álvaro Fernández Rojas
2017-06-14  9:59   ` [U-Boot] [PATCH v3 3/4] mips: bmips: add bcm63xx-hsspi driver support for BCM63268 Álvaro Fernández Rojas
2017-06-14  9:59   ` [U-Boot] [PATCH v3 4/4] mips: bmips: enable the SPI flash on the Comtrend AR-5387un Álvaro Fernández Rojas
2017-07-30 12:14 ` [U-Boot] [PATCH v4 0/4] mips: bmips: add HSSPI support Álvaro Fernández Rojas
2017-07-30 12:14   ` [U-Boot] [PATCH v4 1/4] dm: spi: add BCM63xx HSSPI driver Álvaro Fernández Rojas
2017-08-11  9:42     ` Jagan Teki
2017-12-26 13:20       ` Álvaro Fernández Rojas
2017-07-30 12:14   ` [U-Boot] [PATCH v4 2/4] mips: bmips: add bcm63xx-hsspi driver support for BCM6328 Álvaro Fernández Rojas
2017-07-30 12:14   ` [U-Boot] [PATCH v4 3/4] mips: bmips: add bcm63xx-hsspi driver support for BCM63268 Álvaro Fernández Rojas
2017-07-30 12:14   ` [U-Boot] [PATCH v4 4/4] mips: bmips: enable the SPI flash on the Comtrend AR-5387un Álvaro Fernández Rojas
2018-01-15 18:45 ` [U-Boot] [PATCH v5 0/4] mips: bmips: add HSSPI support Álvaro Fernández Rojas
2018-01-15 18:45   ` [U-Boot] [PATCH v5 1/4] dm: spi: add BCM63xx HSSPI driver Álvaro Fernández Rojas
2018-01-15 18:45   ` [U-Boot] [PATCH v5 2/4] mips: bmips: add bcm63xx-hsspi driver support for BCM6328 Álvaro Fernández Rojas
2018-01-15 18:45   ` [U-Boot] [PATCH v5 3/4] mips: bmips: add bcm63xx-hsspi driver support for BCM63268 Álvaro Fernández Rojas
2018-01-15 18:45   ` [U-Boot] [PATCH v5 4/4] mips: bmips: enable the SPI flash on the Comtrend AR-5387un Álvaro Fernández Rojas
2018-01-20  1:13 ` [U-Boot] [PATCH v6 0/4] mips: bmips: add HSSPI support Álvaro Fernández Rojas
2018-01-20  1:13   ` [U-Boot] [PATCH v6 1/4] dm: spi: add BCM63xx HSSPI driver Álvaro Fernández Rojas
2018-01-20  1:13   ` [U-Boot] [PATCH v6 2/4] mips: bmips: add bcm63xx-hsspi driver support for BCM6328 Álvaro Fernández Rojas
2018-01-20  1:13   ` [U-Boot] [PATCH v6 3/4] mips: bmips: add bcm63xx-hsspi driver support for BCM63268 Álvaro Fernández Rojas
2018-01-20  1:13   ` [U-Boot] [PATCH v6 4/4] mips: bmips: enable the SPI flash on the Comtrend AR-5387un Álvaro Fernández Rojas
2018-01-22  5:11   ` [U-Boot] [PATCH v6 0/4] mips: bmips: add HSSPI support Jagan Teki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1497434396-9080-1-git-send-email-noltari@gmail.com \
    --to=noltari@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.