- Oct 11, 2007
-
-
Grant Likely authored
There is no good reason for board platform code to mess with the ROOT_DEV. Remove it from all in-tree platforms except powermac. Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Oct 02, 2007
-
-
Domen Puncer authored
This provides an implementation of the <linux/clk.h> interface for arch/powerpc using a set of function pointers in clk_functions. Platforms that want to support this interface should fill clk_functions and select CONFIG_PPC_CLOCK in Kconfig. Signed-off-by:
Domen Puncer <domen.puncer@telargo.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Sep 22, 2007
-
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
David Gibson <david@gibson.dropbear.id.au> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Sep 19, 2007
-
-
Domen Puncer authored
Low-power mode implementation for Lite5200b. Some I/O registers are also saved here. A recent U-Boot that supports this (lite5200b_PM_config) is needed. Signed-off-by:
Domen Puncer <domen.puncer@telargo.com> Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Sep 13, 2007
-
-
Michael Ellerman authored
The most common match semantic is an exact match based on the device node. So provide a default implementation that does this, and hook it up if no match routine is specified. Signed-off-by:
Michael Ellerman <michael@ellerman.id.au> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Michael Ellerman authored
The majority of irq_host implementations (3 out of 4) are associated with a device_node, and need to stash it somewhere. Rather than having it somewhere different for each host, add an optional device_node pointer to the irq_host structure. Signed-off-by:
Michael Ellerman <michael@ellerman.id.au> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Aug 23, 2007
-
-
Kumar Gala authored
Remove includes of files that existed in arch/ppc that we dont need in arch/powerpc anymore. The following includes were removed: <asm/amigappc.h> <asm/bootinfo.h> <asm/ppcboot.h> <asm/ppc_sys.h> <asm/residual.h> <asm/m8260_pci.h> This also caused platforms/embedded6xx/mpc7448_hpc2.h to no longer be needed and thus removed. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Aug 17, 2007
-
-
Nathan Lynch authored
Signed-off-by:
Nathan Lynch <ntl@pobox.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Jesper Juhl authored
This removes several duplicate includes from arch/powerpc/. Signed-off-by:
Jesper Juhl <jesper.juhl@gmail.com> Acked-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Jon Loeliger authored
Signed-off-by:
Jon Loeliger <jdl@freescale.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Jul 10, 2007
-
-
Domen Puncer authored
sparse caught these static functions / __iomem annotations under arch/powerpc/platform/52xx/ Signed-off-by:
Domen Puncer <domen.puncer@telargo.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Jun 29, 2007
-
-
Kumar Gala authored
Make the ppc32 pcibios_alloc_controller take a device node to match the ppc64 prototypes and have it set arch_data. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Make the pci_controller struct use global_number for the PHB domain number instead of index to match what ppc64 does and reuse its pci_domain_nr code. Introduced a pci-common.c to handle shared code between ppc32 & ppc64. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
There are times that we need to know which controller we are on to decide how to exclude devices properly. We now pass the pci_controller that we are going to use down to the pci_exclude_device function. This will greatly simplify being able to exclude the PHBs in multiple controller setups. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
The hose->bus_offset is only used for PCI config cycles and the 52xx PCI config code doesn't actually ever set bus_offset to a non-zero value. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
The Freescale and Marvell PCI controllers dont require explicit setting for type 1 config cycles. They handle producing them by implicitly looking at the bus, devfn. The TSI108 and 52xx don't use the generic PCI indirect code and thus don't bother with set_cfg_type. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Arnd Bergmann authored
Some code looks can be configured to be built without PCI support, but does not work properly. Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- May 07, 2007
-
-
Domen Puncer authored
Implement deep-sleep on MPC52xx. SDRAM is put into self-refresh with help of SRAM code (alternatives would be code in FLASH, I-cache). Interrupt code must also not be in SDRAM, so put it in I-cache. MPC52xx core is static, so contents will remain intact even with clocks turned off. Signed-off-by:
Domen Puncer <domen.puncer@telargo.com> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Domen Puncer authored
Add fsl-i2c to mpc5200 i2c node in device tree, and enable FSL_SOC. Tested to work with built-in eeprom on lite5200b. Signed-off-by:
Domen Puncer <domen.puncer@telargo.com> Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Apr 30, 2007
-
-
John Rigby authored
Call of_find_node_by_type with NULL instead of np so the cpu node does not get put twice. This was causing kref_put warnings. Signed-off-by:
John Rigby <jrigby@freescale.com> Acked-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Paul Mackerras authored
This reverts commit 9414715a, at Olaf Hering's request: > Paul, please discard this patch. The optional graphics card may have > also device_type 'serial' if it is in VGA mode. > I will send an updated patch later.
-
- Apr 24, 2007
-
-
Stephen Rothwell authored
These got added recently. Signed-off-by:
Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Apr 12, 2007
-
-
Stephen Rothwell authored
Signed-off-by:
Stephen Rothwell <sfr@canb.auug.org.au> Acked-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Olaf Hering authored
Efika boards have to be booted with console=ttyPSC0 unless there is a graphics card plugged in. Detect if the firmware stdout is the serial connector. Signed-off-by:
Olaf Hering <olaf@aepfle.de> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Apr 11, 2007
-
-
Domen Puncer authored
The bit setting was off by one. Tested with RTC and GPIO_WKUP interrupts. Signed-off-by:
Domen Puncer <domen.puncer@telargo.com> Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Mar 22, 2007
-
-
Kumar Gala authored
Cleaning up arch/powerpc/Kconfig platform support. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Feb 13, 2007
-
-
Sylvain Munaut authored
The efika platform used three files efika-pci.c efika-setup.c and a 2 line efika.h to link the two. The total of code in those is really not much and therefore, I think they're better merged in a single file. There is absolutely _no_code_change_ at all, just merged the files. Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Sylvain Munaut authored
Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Sylvain Munaut authored
Now that the device tree has the good properties, we can remove all the efika_init code by a single call to common code. While we're modifying that file, a few whitespaces/alignement/typo fixes are made (nothing significant). Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Feb 08, 2007
-
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Jan 09, 2007
-
-
Sylvain Munaut authored
Using device_initcall makes it happen for every platform that compiles this file in. This is really bad, for obvious reasons. Instead, we use the .init field of the machine description. If the platform needs the hook to do something specific it can provides its own function and call mpc52xx_declare_of_platform_devices from there. If not, the mpc52xx_declare_of_platform_devices function can directly be used as the init hook. Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Dec 08, 2006
-
-
Timur Tabi authored
The MPC 5200 does not have a QUICCEngine (QE), so lite5200.c should not include the QE header files. Signed-off-by:
Timur Tabi <timur@freescale.com> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Dec 05, 2006
-
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Dec 04, 2006
-
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Grant Likely authored
Adds utility routines used by 52xx device drivers and board support code. Main functionality is to add device nodes to the of_platform_bus, retrieve the IPB bus frequency, and find+ioremap device registers. Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Sylvain Munaut authored
There is no need to expose these settings outside the scope of the interrupt controller code itself. Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Grant Likely authored
The Efika board isn't different enough from other 52xx based boards to justify a separate platform. This patch merges it with the support code for all other 52xx based boards. Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
Grant Likely authored
No other chips use this device, it belongs in a 52xx-specific path. Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Sylvain Munaut <tnt@246tNt.com> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-