public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* Re:USB questions (for the MPC8xx)
       [not found] <EADB10BAC266A14A85ECBF8686A73E3108AFCF@kolkrabbi.flaga.is>
@ 2001-03-16 19:43 ` Roman Weissgaerber
  0 siblings, 0 replies; only message in thread
From: Roman Weissgaerber @ 2001-03-16 19:43 UTC (permalink / raw)
  To: Kári Davíðsson
  Cc: linuxppc-embedded@lists•linuxppc.org,
	linux-usb-devel@lists•sourceforge.net


Kári Davíðsson wrote:
> Hi,
>
> In the m8xxhci.c hci driver for the mpc one can select to use TIMER1 for
> the SOF generator.
> A interruopt handler, m8xxhci_timer_interrupt() is registered to handle
> this interrupt and generate the SOF.
> Why is it then that the timer is also exported to PA6?
> Why is it the the USE_TIMER1_FOR_SOF is defined within the
> USE_UCODE_PATCH which is for external generated SOF-interrupt?
> Isn't the timer option exactly for the case where you do not have
> externally generated SOF-interrupt?
> If we can use a timer for generating the SOF why can't we just use a
> regular kernel timer instead, and therfore free one timer or baud rate
> generator?
>
The microcode patch needs an external 1kHz Signal on dreq input.
Timer 1 is one option to generate that external signal.
The interrupt handler is not needed anymore so my patch should have
changed a little bit more. The timer can run without interrupt handler
it just must generate the external 1kHz Signal.

- Roman

> Thanks,
>
> K.D.
>
> P.S. sorry for the x-post I am not shure if this belongs to the embedded
> list or the usb list.
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-16 19:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <EADB10BAC266A14A85ECBF8686A73E3108AFCF@kolkrabbi.flaga.is>
2001-03-16 19:43 ` Re:USB questions (for the MPC8xx) Roman Weissgaerber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox