On 04/24/2015 01:08 PM, Eric Anholt wrote: > Since the WDT is what's used to drive restart and power off, it makes > more sense to keep it there, where the regs are already mapped and > definitions for them provided. Note that this means you may need to > add CONFIG_BCM2835_WDT to retain functionality of your kernel. The series, Acked-by: Stephen Warren <swarren@xxxxxxxxxxxxx> Tested-by: Stephen Warren <swarren@xxxxxxxxxxxxx> > Note that power off has never worked for me, and just reboots as well. > So I can't say that I've *really* tested the power off code. The RPi can't actually power itself off, but it used to be the case that if you rebooted it after setting up a certain register configuration, the firmware would put the device into a low-power state. This did work when it was first upstreamed. However, it no longer works. I believe this was due to a change in the firmware, which is why I don't always trust the firmware. I should really check what the downstream kernel does for power off now; I assume it must have changed since the code was upstreamed. -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html