Re: [PATCH v6 03/13] hw/timer: Add NPCM7xx Timer device model

2020-07-17 Thread Philippe Mathieu-Daudé
On 7/17/20 8:02 AM, Havard Skinnemoen wrote: > The NPCM730 and NPCM750 SoCs have three timer modules each holding five > timers and some shared registers (e.g. interrupt status). > > Each timer runs at 25 MHz divided by a prescaler, and counts down from a > configurable initial value to zero. When

Re: [PATCH v6 03/13] hw/timer: Add NPCM7xx Timer device model

2020-07-17 Thread Philippe Mathieu-Daudé
On 7/17/20 8:02 AM, Havard Skinnemoen wrote: > The NPCM730 and NPCM750 SoCs have three timer modules each holding five > timers and some shared registers (e.g. interrupt status). > > Each timer runs at 25 MHz divided by a prescaler, and counts down from a > configurable initial value to zero. When

[PATCH v6 03/13] hw/timer: Add NPCM7xx Timer device model

2020-07-16 Thread Havard Skinnemoen
The NPCM730 and NPCM750 SoCs have three timer modules each holding five timers and some shared registers (e.g. interrupt status). Each timer runs at 25 MHz divided by a prescaler, and counts down from a configurable initial value to zero. When zero is reached, the interrupt flag for the timer is s