22 Oct, 2007

3 commits


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

    Rafael J. Wysocki
     

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

    Grant Likely
     

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

    Domen Puncer
     

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

    Domen Puncer
     

08 Feb, 2007

1 commit


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

    Sylvain Munaut
     

04 Dec, 2006

2 commits


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

    Nicolas DET