Re: [PATCH v5 03/11] hw/timer: Add NPCM7xx Timer device model

2020-07-16 Thread Philippe Mathieu-Daudé
On 7/16/20 1:04 AM, Havard Skinnemoen wrote: > On Wed, Jul 15, 2020 at 12:25 AM Philippe Mathieu-Daudé > wrote: >> On 7/9/20 2:36 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).

Re: [PATCH v5 03/11] hw/timer: Add NPCM7xx Timer device model

2020-07-15 Thread Havard Skinnemoen
On Wed, Jul 15, 2020 at 12:25 AM Philippe Mathieu-Daudé wrote: > > On 7/9/20 2:36 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 pr

Re: [PATCH v5 03/11] hw/timer: Add NPCM7xx Timer device model

2020-07-15 Thread Philippe Mathieu-Daudé
On 7/9/20 2:36 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 v5 03/11] hw/timer: Add NPCM7xx Timer device model

2020-07-08 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