linux-mips
[Top] [All Lists]

[PATCH 0/8 v2] MIPS: BCM63XX: prepare for SPI support

To: ralf@linux-mips.org
Subject: [PATCH 0/8 v2] MIPS: BCM63XX: prepare for SPI support
From: Florian Fainelli <florian@openwrt.org>
Date: Mon, 21 Nov 2011 17:07:15 +0100
Cc: linux-mips@linux-mips.org, Florian Fainelli <florian@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
This patchset adds the required infrastructure to register a Broadcom
BCM63XX SPI controller platform device and driver.

Changes since v1:
- fixed typo in spi platform device stub
- folded patch 7 and 8 together

Florian Fainelli (8):
  MIPS: BCM63XX: add IRQ_SPI and CPU specific SPI IRQ values
  MIPS: BCM63XX: define BCM6358 SPI base address
  MIPS: BCM63XX: add BCM6368 SPI clock mask
  MIPS: BCM63XX: define RSET_SPI_SIZE
  MIPS: BCM63XX: remove SPI2 register
  MIPS: BCM63XX: define internal registers offsets of the SPI
    controller
  MIPS: BCM63XX: add stub to register the SPI platform driver
  MIPS: BCM63XX: make board setup code register the spi platform device

 arch/mips/bcm63xx/Makefile                         |    3 +-
 arch/mips/bcm63xx/boards/board_bcm963xx.c          |    3 +
 arch/mips/bcm63xx/clk.c                            |    6 +-
 arch/mips/bcm63xx/dev-spi.c                        |  117 +++++++++++++++++++
 arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h   |   20 ++--
 .../include/asm/mach-bcm63xx/bcm63xx_dev_spi.h     |   89 +++++++++++++++
 arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h  |  120 ++++++++++++++++++++
 7 files changed, 345 insertions(+), 13 deletions(-)
 create mode 100644 arch/mips/bcm63xx/dev-spi.c
 create mode 100644 arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_spi.h

-- 
1.7.5.4


<Prev in Thread] Current Thread [Next in Thread>