[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: s3c24xx timer question
From:       Ben Dooks <ben-linux-arm () fluff ! org>
Date:       2007-05-31 19:42:05
Message-ID: 20070531194204.GJ1549 () trinity ! fluff ! org
[Download RAW message or body]


On Thu, May 31, 2007 at 09:19:59AM +0200, Matthieu CASTET wrote:
> Sandeep Sanjay Patil a ??crit :
> >On Wed, 2007-05-30 at 17:59 +0200, Matthieu CASTET wrote:
> >>Hi yogesh,
> >>
> >>yogesh tillu a ??crit :
> >>>
> >>so :
> >>- S3C2410_TCMPB(4) = S3C2410_TIMERREG2(4, 0x04) = S3C2410_TIMERREG2(4, 
> >>(((tmr) == 4) ? 0x04 : 0x08)) = S3C2410_TCNTO(4)
> >>- you can also read the warning.
> >>
> >>Also the header is not the reference (there can be errors because there 
> >>could be some variation between different 24xx chip). The *datasheet* is 
> >>the reference.
> >
> > Yup, out of 5 timers S3Cs have, only timer4 doesnt act as pwm timer,
> >which is the reason why it has been chosed to be the system timer (i
> >guess). So, the write to TCPMB in timer4 setup evetually is a write onto
> >a read-only observation register, so it wont change anything.
> Or could lead to strange behaviour if the hardware doesn't expect write 
> in this register.
> 
> As this write is useless, I believe we should remove it.

Would you like to submit a patch for this, or should I?

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.


-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic