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>
configs: using common LSI defconfig files

There are various LSI development boards, ElPaso, Junction, Mission, etc.
All use the same Linux binary. The configuration file used on all LSI boards
is the same. For PowerPC boards, arch/powerpc/configs/lsi_defconfig.
For ARM simulation, arch/powerpc/configs/lsisim_defconfig; for ARM hardware,
arch/powerpc/configs/lsi_defconfig.

Signed-off-by: John Jacques <john.jacques@lsi.com>
arm/mach-axxia: Fix irq_set_type() in arch/arm/mach-axxia/axxia-gic.c

This patch fixes setting of IRQ type to all clusters. Previously was
only working for first cluster.

Signed-off-by: David Mercado <david.mercado@windriver.com>
powerpc/configs: Address error message when issuing reboot

The default kernel config was enabling CPU Hotplug, which is a feature
not currently supported by the ACP34xx. For this reason, issuing a reboot
or poweroff command was resulting in a "Error taking CPU1 down: -38" error.

This patch disables CONFIG_SUSPEND in order to disable CPU hotplug and
addresses this error message.

Signed-off-by: David Mercado <david.mercado@windriver.com>
drivers/net/ethernet: add ACP wrappers back into kernel

This patch adds the LSI ACP wrapper routines back into the kernel. These
were previously removed as part of the acp34xx Ethernet driver updates,
but are needed for the LSI RTE application.

The wrappers are restored at arch/powerpc/sysdev/lsi_acp_wrappers.c

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.

Without this the RTE won't load.

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>
arm/config: Add the LSI drivers

and answer the rest of the questions as recommended (default).

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: A merge of the AXM5516 emulation bringup branch.

Signed-off-by: John Jacques <john.jacques@lsi.com>
drivers/i2c: Collapse AI2C file implementation along logical lines.

Further file compression is possible, though definitely not recommended.

Signed-off-by: Michael Bringmann <michael.bringmann@lsi.com>
Signed-off-by: Paul Butler <paul.butler@windriver.com>
config: Added default config files for the RT case.

Signed-off-by: John Jacques <john.jacques@lsi.com>
drivers/net/ethernet: Wrapper Cleanup

Hopefully these will go away soon (when the RTE driver
is GPL'd, which is in progress).  For now...

Signed-off-by: John Jacques <john.jacques@lsi.com>
drivers/net/ethernet: FEMAC Driver

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.

Signed-off-by: David Mercado <david.mercado@windriver.com>
arm/configs: Add CONFIG_NET_NS and CONFIG_DMATEST to the default ARM configurations.

Signed-off-by: John Jacques <john.jacques@lsi.com>
drivers/tty: Handle baud rate changes. The initial port only ran at 115200.

Signed-off-by: John Jacques <john.jacques@lsi.com>