arch/arm/mach-axxia: Added Clocks to the Device Tree for AXM55xx Emulation

Signed-off-by: John Jacques <john.jacques@lsi.com>
driver/usb/host: Adding a new ehci halt function that doesn't use spinlocks to be called during startup to just halt the EHCI controller

incorrect ehci_regs struct member was being used in USB driver

Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
arch/powerpc: Checking in correct USB entries to ACP3421 DTS

Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
arch/powerpc: Added PCIe driver support for ACP35xx

Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
arch/arm/mach-axxia: Support for DDR Retention Resets

The Axxia hardware makes it possible to reset the system without
losing the contents of memory.  This commit adds the ability to
initiate a reset in such a way that memory contents are not
lost.

Cleanup of the DDR Retention feature for Linux 3.10.

Shutdown devices, and disable hotplug before shuting down
the cores.

Signed-off-by: John Jacques <john.jacques@lsi.com>
LSI AXM55XX: Add PMU support

This patch adds PMU support to the Axxia AXM55xx platform. Note that
on this platform, all PMU IRQ lines are OR'ed together into a single
IRQ, and therefore, this implementation uses a rotating IRQ affinity
scheme to deal with it.

Signed-off-by: David Mercado <david.mercado@windriver.com>
arm/mach-axxia: Updated PCIe driver to set PCIe BASE_ADDR1 register

Updated PCIe driver to set PCIe BASE_ADDR1 register to 0x0 without
which PCIe inbound access wasn't working and we were seeing several
suprious PEI interrupts including BAR mismatch interrupt.

Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
Signed-off-by: Paul Butler <paul.butler@windriver.com>
arch/powerpc: Backport of 32dda05f4ec2b854b594bd91590c46c5197d77e1

Otherwise, we get a debug traceback due to the use of
smp_processor_id() (or get_paca()) inside hard_smp_processor_id().
mpic_host_map() is just looking for a default CPU, so it doesn't matter
if we migrate after getting the CPU ID.

This is signed off by Scott Wood <scottwood@freescale.com>

Signed-off-by: John Jacques <john.jacques@lsi.com>
arch/arm/mach-axxia: added support for ncr_read/ncr_write() to access PCIe/SRIO SerDes Config in 0x115 node

Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
arm: mmu: Fix truncated 40-bit physaddr (LPAE)

Wrong type for parameter 'phys' caused adress to be truncated to 32-bits,
causing iotable_init() to produce wrong MMU mappings on LPAE system.

Signed-off-by: Anders Berg <anders.berg@lsi.com>
axxia: Fixed earlyprintk

Add static mapping of the UART registers for CONFIG_DEBUG_LL. Also depends on
commit 8f704b6 to fix a bug with LPAE and static mappings.

Signed-off-by: Anders Berg <anders.berg@lsi.com>
arm/mach-axxia: Same build for HW and simlation.

Removed the config ARCH_AXXIA_SIM, that used to identify builds for simulator.
The same build can now be run on both hardware and simulation platforms, using
different DTBs.

arm/axxia: Removed some debug log messages

Signed-off-by: Anders Berg <anders.berg@lsi.com>
arch/arm/axxia: Updated Device Trees for LSI Axxia Simulation

By default, the simulator only support 4 cores; the normale device
tree, axm55xxsim.dts, now matches.  A 16 core dts is provided as well
for the more adventurous.

Signed-off-by: John Jacques <john.jacques@lsi.com>
i2c-axxia: Support I2C_M_RECV_LEN

Add support for the I2C_M_RECV_LEN flag to enable SMBus block data transfers.

This patch also fixes an issue where the master failed to perform a proper
repeated start, but instead issued a stop followed by a start. This behaviour
confused some SMBus slave devices.

The STOP-START was caused by the use of the automatic mode of the controller.
By using manual mode the driver gets control over when a STOP condition is
signalled.

Signed-off-by: Anders Berg <anders.berg@lsi.com>
axxia: Remove Wrapper Functions

These functions were temporary.  They were added to allow
development to continue on an external module that was not,
at the time, released under the GPL.

Signed-off-by: John Jacques <john.jacques@lsi.com>
Signed-off-by: Paul Butler <paul.butler@windriver.com>