Re: [Qemu-devel] [patch V5 2/5] Implement i.MX31 Clock Control Module

2012-04-09 Thread Peter Chubb
> "Peter" == Peter Maydell writes: Peter> On 3 April 2012 02:55, Peter Chubb Peter> wrote: > + > +uint32_t imx_timer_frequency(DeviceState *s, IMXClk clock); > +void imx_timer_create(const char * const name, > + const target_phys_addr_t addr, > + qem

Re: [Qemu-devel] [patch V5 2/5] Implement i.MX31 Clock Control Module

2012-04-05 Thread Peter Maydell
On 3 April 2012 02:55, Peter Chubb wrote: > === > --- qemu-working.orig/hw/imx.h  2012-04-03 11:48:48.088706634 +1000 > +++ qemu-working/hw/imx.h       2012-04-03 11:48:48.776708322 +1000 > @@ -13,4 +13,18 @@ > >  void imx_serial_crea

[Qemu-devel] [patch V5 2/5] Implement i.MX31 Clock Control Module

2012-04-02 Thread Peter Chubb
For Linux to be able to work out how fast its clocks are going, so that timer ticks come approximately at the right time, it needs to be able to query the clock control module (CCM). This is the start of a CCM implementation. It currently knows only about the MCU, HSP and IPG clocks --- i.e., t