linux-mips
[Top] [All Lists]

[PATCH 0/3] add a reset helper for resetting cores

To: linux-mips@linux-mips.org
Subject: [PATCH 0/3] add a reset helper for resetting cores
From: Jonas Gorski <jonas.gorski@gmail.com>
Date: Sun, 28 Oct 2012 14:17:52 +0100
Cc: Ralf Baechle <ralf@linux-mips.org>, John Crispin <blogic@openwrt.org>, Maxime Bizon <mbizon@freebox.fr>, Florian Fainelli <florian@openwrt.org>, Kevin Cernekee <cernekee@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=wuKQcNTt4wzZhcmcYl3vXObouf6DUy8fxoxLnXJs6Ko=; b=ubt8N8D8KRBsGBVQGyZyTQcAk1ud0xHZ4mUn41903wbQBC0dOZsvf+MQyFttH/Y+Ew zLKueU3ayvj0Au+sncMgGoR2269dH4eYqS+wUDYcwk91Vmsk10pwZ+Cz94IfauGPe+pP 4RqgYglhFMQlCT9hHyFWTY90vQgtrYRGiKDxkQc4r//uRWAyW3LagLijXbMOhOKPNM1s 9exjW2EaqTbC3lKelgJVb27ryfNSYbBeTYEVTpbNFKPzPqmfISlaxW8j8dbFGVYpIZtV h6nDQp1VBLKPBflVgQ/T/UxskUF956pvjbdrV8HsWaIUNkVSwedJ0ns4WD6m67vCTM3k R65Q==
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Sender: linux-mips-bounce@linux-mips.org
This patchset adds a reset helper to abstract out resetting the
different cores found on BCM63XX SoCs and adds proper locking to prevent
concurrent access to the softreset register.

This patchset technically depends on the pcie clock patch, but git am -3
manages to merge it automatically and correctly if it isn't applied.
There is no real dependency on the other patch.

Jonas Gorski (3):
  MIPS: BCM63XX: add softreset register description for BCM6358
  MIPS: BCM63XX: add core reset helper
  MIPS: BCM63XX: use the new reset helper

 arch/mips/bcm63xx/Makefile                         |    6 +-
 arch/mips/bcm63xx/clk.c                            |   19 +--
 arch/mips/bcm63xx/reset.c                          |  223 ++++++++++++++++++++
 arch/mips/include/asm/mach-bcm63xx/bcm63xx_regs.h  |   10 +
 arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h |   21 ++
 arch/mips/pci/pci-bcm63xx.c                        |   19 +--
 6 files changed, 268 insertions(+), 30 deletions(-)
 create mode 100644 arch/mips/bcm63xx/reset.c
 create mode 100644 arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h

-- 
1.7.2.5


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