pwm: atmel-tcb: Support backup mode

Save and restore registers for the PWM on suspend and resume, which
makes hibernation and backup modes possible.

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
Romain Izard 2017-10-19 18:44:10 +02:00 • committed by Thierry Reding
commit 1b3d9a93ed