22 Oct, 2007
3 commits
-
Add common helper routines: mpc52xx_map_wdt() and mpc52xx_restart().
Signed-off-by: Marian Balakowicz
Signed-off-by: Sascha Hauer
Signed-off-by: Grant Likely -
Add helper routine mpc52xx_find_and_map_path(). Extract common code to
mpc52xx_map_node() and refactor mpc52xx_find_and_map().Signed-off-by: Jan Wrobel
Signed-off-by: Grant Likely -
Only the MPC5200 needs this bug fix. MPC5200B is okay.
Signed-off-by: Grant Likely
19 Oct, 2007
1 commit
-
There is no reason why the .prepare() and .finish() methods in 'struct
platform_suspend_ops' should take any arguments, since architectures don't use
these methods' argument in any practically meaningful way (ie. either the
target system sleep state is conveyed to the platform by .set_target(), or
there is only one suspend state supported and it is indicated to the PM core
by .valid(), or .prepare() and .finish() aren't defined at all). There also
is no reason why .finish() should return any result.Signed-off-by: Rafael J. Wysocki
Acked-by: Pavel Machek
Cc: Len Brown
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
11 Oct, 2007
1 commit
-
The Lite5200 u-boot image doesn't entirely configure the processor
correctly and so Linux needs to fixup the cpu setup in setup_arch. Fixing
the CPU setup is good, but making it into common code is not a good idea.New board ports should be encouraged not to take the lead of the lite5200
and instead get their firmware to setup the CPU the right way.Signed-off-by: Grant Likely
Signed-off-by: Sylvain Munaut
19 Sep, 2007
1 commit
-
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
Signed-off-by: Sylvain Munaut
Signed-off-by: Paul Mackerras
07 May, 2007
1 commit
-
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
Acked-by: Grant Likely
Signed-off-by: Sylvain Munaut
Signed-off-by: Paul Mackerras
08 Feb, 2007
1 commit
-
Signed-off-by: Grant Likely
Acked-by: Sylvain Munaut
Signed-off-by: Paul Mackerras
09 Jan, 2007
1 commit
-
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
Acked-by: Grant Likely
Signed-off-by: Paul Mackerras
04 Dec, 2006
2 commits
-
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
Signed-off-by: Sylvain Munaut
Signed-off-by: Paul Mackerras -
There is no need to expose these settings outside the scope
of the interrupt controller code itself.Signed-off-by: Sylvain Munaut
Signed-off-by: Grant Likely
Signed-off-by: Paul Mackerras
13 Nov, 2006
1 commit
-
This adds support for the MPC52xx Interrupt controller for
ARCH=powerpc.It includes the main code in arch/powerpc/sysdev/ as well as a header
file in include/asm-powerpc.Signed-off-by: Nicolas DET
Acked-by: Sylvain Munaut
Acked-by: Grant Likely
Signed-off-by: Paul Mackerras