Re: [PATCH v3 4/9] power: reset: Add AT91RM9200 reset driver

2015-03-05 Thread Alexandre Belloni
On 04/03/2015 at 18:17:58 +0100, Sebastian Reichel wrote : > Hi, > > On Wed, Mar 04, 2015 at 03:21:32PM +0100, Alexandre Belloni wrote: > > AT91RM9200 uses the watchdog from the system timer to reset. > > [...] > > + regmap_write(regmap_st, AT91_ST_WDMR, > > +AT91_ST_RSTEN | AT91

Re: [PATCH v3 4/9] power: reset: Add AT91RM9200 reset driver

2015-03-04 Thread Sebastian Reichel
Hi, On Wed, Mar 04, 2015 at 03:21:32PM +0100, Alexandre Belloni wrote: > AT91RM9200 uses the watchdog from the system timer to reset. > [...] > + regmap_write(regmap_st, AT91_ST_WDMR, > + AT91_ST_RSTEN | AT91_ST_EXTEN | 1); > + regmap_write(regmap_st, AT91_ST_CR, AT91_ST_W

[PATCH v3 4/9] power: reset: Add AT91RM9200 reset driver

2015-03-04 Thread Alexandre Belloni
AT91RM9200 uses the watchdog from the system timer to reset. Signed-off-by: Alexandre Belloni --- drivers/power/reset/Kconfig| 7 drivers/power/reset/Makefile | 1 + drivers/power/reset/at91rm9200-reset.c | 70 ++ 3 files changed, 78 i