17 Jun, 2015

1 commit

  • This file depends on Kconfig options all of which are a bool, so
    we use the appropriate registration function, which avoids us
    relying on an implicit inclusion of which we are
    doing currently.

    While this currently works, we really don't want to be including
    the module.h header in non-modular code, which we'd be forced
    to do, pending some upcoming code relocation from init.h into
    module.h. So we fix it now by using the non-modular equivalent.

    Cc: Sebastian Reichel
    Acked-By: Sebastian Reichel
    Cc: Dmitry Eremin-Solenikov
    Cc: David Woodhouse
    Cc: linux-pm@vger.kernel.org
    Signed-off-by: Paul Gortmaker

    Paul Gortmaker
     

20 Mar, 2015

1 commit


04 Dec, 2014

1 commit

  • Currently, all restart handler use the priority 128, including
    watchdogs. Probably most SoC have a watchdog, and some of them
    register it also as a restart handler. But if a SoC specifies
    a dedicated reboot capability using this syscon driver, this is
    usually the preferred reboot method. Hence, raise the priority
    of this driver to 192.

    Signed-off-by: Stefan Agner
    Reviewed-by: Guenter Roeck
    Acked-by: Mark Rutland
    Signed-off-by: Sebastian Reichel

    Stefan Agner
     

03 Oct, 2014

1 commit

  • This patch is to fix some bugs in reboot driver. Which includes auto selection
    of the MFD_SYSCON for the driver, use of container to locate restart handler,
    correction of the count down failure timer and ordering of the header file.

    Signed-off-by: Feng Kan
    Reviewed-by: Guenter Roeck
    [ sre: return err instead of 0 in syscon_reboot_probe() ]
    Signed-off-by: Sebastian Reichel

    Feng Kan
     

01 Oct, 2014

1 commit