drivers/usb: LSI AXM5500 USB driver support

Added USB driver support for LSI AXM5500 device.
The USB s/w workarounds apply only to older PPC 34xx devices
hence added Kconfig option CONFIG_LSI_USB_SW_WORKAROUND
to select s/w workaround for ACP34xx devices.
Renamed CONFIG_LSI_PCI option to CONFIG_LSI_PPC_PCI

Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
Signed-off-by: Niraj Desai <nirajvdesai@gmail.com>
arm/boot/dts: Change the timer interrupt numbers to match the new simulator.

Signed-off-by: John Jacques <john.jacques@lsi.com>
LSI axm55xx: Add CPU Hotplug support

Adds ability to dynamically enable or diesable a CPU on a running system.

Signed-off-by: David Mercado <david.mercado@windriver.com>
arch/powerpc: Fix PMU interrupts

The PMU interrupts were previously initialized at too early in the
board init process, so IRQ affinity wasn't working. Moved PMU IRQ
setup/teardown to PMU enable/disable routines instead. With this
change, PMU interrupts correctly work across all cores.

Signed-off-by: David Mercado <david.mercado@windriver.com>
powerpc/configs: remove elpaso defconfig

Signed-off-by: Paul Butler <paul.butler@windriver.com>
arm/mach-axxia: Fix irq_set_type() in arch/arm/mach-axxia/axxia-gic.c

Fix error in gic_set_type(). Previously calculating cpu to send to with (i / 4), where i is a cluster number
between 0 and 3. Dividing by 4 (4 cores per cluster) is wrong, as this result will always be 0. Instead,
replace with (i *4), so result is 0, 4, 8, or 12 (first cpu of each cluster).

Signed-off-by: David Mercado <david.mercado@windriver.com>
drivers/net/ethernet: add ACP wrapper support for LSI RTE into kernel

adds the LSI ACP wrapper routines into the kernel. These
are needed for the LSI RTE application.

Signed-off-by: David Mercado <david.mercado@windriver.com>
arm/mach-axxia: fix error with IRQ type setting at startup

This patch fixes the errors reported by gic_set_type() when booting a
kernel that's configured for more cores than the simulator has enabled
(i.e., the DTS file has more cores enabled than cores enabled in the
simulator topology.xml file).  The driver now checks if a cpu is online
prior to attempting to set its IRQ type.

Signed-off-by: David Mercado <david.mercado@windriver.com>
arch/powerpc: Release the lock when ncr_read() completes.

The RTE is an external module that allows the rest of the Axxia
hardware (the network processor part) to be used.

Until the RTE gets loaded, there are no problems whatsoever.
The RTE and Linux both use the Config Ring (ncr) to access
some hardware registers. As both can access the config ring,
a synchronization mechanism is needed. There is a synchronization
mechanism included in the hardware. The Linux driver, as well as
the external module, use that mechanism. In this case, the Linux
driver was not releasing the lock.

Signed-off-by: John Jacques <john.jacques@lsi.com>
arch/powerpc: Aded wrappers for platform device registration/deregistration.

Signed-off-by: John Jacques <john.jacques@lsi.com>
powerpc/dts: Device tree files for the LSI boards.

Signed-off-by: John Jacques <john.jacques@lsi.com>
arm: AXM5516 emulation bringup boot

Signed-off-by: John Jacques <john.jacques@lsi.com>
arm: AXM5516 emulation bringup mach-axxia

also adds debug-macros.S changes to allows console output before
the console layer is available.

Signed-off-by: John Jacques <john.jacques@lsi.com>
drivers/tty: AXM5516 emulation bringup - amba-pl011.c

Signed-off-by: John Jacques <john.jacques@lsi.com>
drivers/net: AXM5516 emulation bringup - lsi_acp_mdio.c

Signed-off-by: John Jacques <john.jacques@lsi.com>
drivers/net: AXM5516 emulation bringup - lsi_acp_net.c

The driver takes phy address as a parameter but ignores it, and instead
takes the first available phy in the address range.  This patch allows
one to select a specific phy on boards that have multiple phys.
Support for the new BCM 5221 phy - acp_net

Signed-off-by: Paul Butler <paul.butler@windriver.com>
Signed-off-by: David Mercado <david.mercado@windriver.com>
Signed-off-by: John Jacques <john.jacques@lsi.com>
drivers/net: AXM5516 emulation bringup - Makefile

Signed-off-by: John Jacques <john.jacques@lsi.com>
drivers/i2c: Collapse AI2C driver implementation - removing ai2c_dev

Signed-off-by: Michael Bringmann <michael.bringmann@lsi.com>
Signed-off-by: Paul Butler <paul.butler@windriver.com>
drivers/i2c: Collapse AI2C driver implementation - removing ai2c_*

Signed-off-by: Michael Bringmann <michael.bringmann@lsi.com>
Signed-off-by: Paul Butler <paul.butler@windriver.com>
drivers/i2c: Collapse AI2C driver implementation - removing ai2c/regs

Signed-off-by: Michael Bringmann <michael.bringmann@lsi.com>
Signed-off-by: Paul Butler <paul.butler@windriver.com>