LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Clock Modification of MPC885 for USB Host Functionality
@ 2006-11-08  5:01 Prakash Ramaraju
  0 siblings, 0 replies; 4+ messages in thread
From: Prakash Ramaraju @ 2006-11-08  5:01 UTC (permalink / raw)
  To: linuxppc-embedded

Greetings

Currently I have a MPC885 based board running at 50MHz. I want USB
host working at full speed with internal clock. Assuming I need to
change the General System Clock Frequency (GCLK2) to 48MHz, I got this
calculation with input frequency of 10MHz from an u-boot script.

pdf mfi mfn mfd s dbrmo     dpref    dpgdck     jdbck     gclk2 exact?
--- --- --- --- - -----     -----    ------     -----     ----- ------
 0   9   3   4 1     0  10000000 192000000  96000000  48000000    YES
 0   9   6   9 1     0  10000000 192000000  96000000  48000000    YES
 0   9   9  14 1     0  10000000 192000000  96000000  48000000    YES
 0   9  12  19 1     0  10000000 192000000  96000000  48000000    YES

I modified CFG_PLPRCR (to 19194000) in u-boot config file to match
this. But I'm getting only 45MHz output clock (not exactly 48MHz which
is needed for USB to work)

If anyone can shed some info making the USB work on MPC885 with
internal clock or changing the clock freq to exact 48MHz, it will be
helpful.

-- 
With best regards,
Prakash

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Clock Modification of MPC885 for USB Host Functionality
@ 2006-11-08  5:05 Prakash Ramaraju
  0 siblings, 0 replies; 4+ messages in thread
From: Prakash Ramaraju @ 2006-11-08  5:05 UTC (permalink / raw)
  To: linuxppc-embedded

Greetings

Currently I have a MPC885 based board running at 50MHz. I want USB host
working at full speed with internal clock. Assuming I need to change the
General System Clock Frequency (GCLK2) to 48MHz, I got this calculation with
input frequency of 10MHz from an u-boot script.

pdf mfi mfn mfd s dbrmo     dpref    dpgdck     jdbck     gclk2 exact?
--- --- --- --- - -----     -----    ------     -----     ----- ------
  0   9   3   4 1     0  10000000 192000000  96000000  48000000    YES
  0   9   6   9 1     0  10000000 192000000  96000000  48000000    YES
  0   9   9  14 1     0  10000000 192000000  96000000  48000000    YES
  0   9  12  19 1     0  10000000 192000000  96000000  48000000    YES

I modified CFG_PLPRCR (to 19194000) in u-boot config file to match this. But
I'm getting only 45MHz output clock (not exactly 48MHz which is needed for
USB to work)

If anyone can shed some info making the USB work on MPC885 with internal
clock or changing the clock freq to exact 48MHz, it will be helpful.

Thanks

-- 
With best regards,
Prakash

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Clock Modification of MPC885 for USB Host Functionality
@ 2006-11-07  5:57 Prakash Ramaraju
  0 siblings, 0 replies; 4+ messages in thread
From: Prakash Ramaraju @ 2006-11-07  5:57 UTC (permalink / raw)
  To: linuxppc-embedded

Greetings

Currently I have a MPC885 based board running at 50MHz. I want USB
host working at full speed with internal clock. Assuming I need to
change the General System Clock Frequency (GCLK2) to 48MHz, I got this
calculation with input frequency of 10MHz from an u-boot script.

pdf mfi mfn mfd s dbrmo     dpref    dpgdck     jdbck     gclk2 exact?
--- --- --- --- - -----     -----    ------     -----     ----- ------
  0   9   3   4 1     0  10000000 192000000  96000000  48000000    YES
  0   9   6   9 1     0  10000000 192000000  96000000  48000000    YES
  0   9   9  14 1     0  10000000 192000000  96000000  48000000    YES
  0   9  12  19 1     0  10000000 192000000  96000000  48000000    YES

I modified CFG_PLPRCR (to 19194000) in u-boot config file to match
this. But I'm getting only 45MHz output clock (not exactly 48MHz which
is needed for USB to work)

If anyone can shed some info making the USB work on MPC885 with
internal clock or changing the clock freq to exact 48MHz, it will be
helpful.


-- 
With best regards,
Prakash

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Clock Modification of MPC885 for USB Host Functionality
@ 2006-11-06 10:29 Prakash Ramaraju
  0 siblings, 0 replies; 4+ messages in thread
From: Prakash Ramaraju @ 2006-11-06 10:29 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

Greetings

Currently I have a MPC885 based board running at 50MHz. I want USB host
working at full speed with internal clock. Assuming I need to change the
General System Clock Frequency (GCLK2) to 48MHz, I got this calculation with
input frequency of 10MHz from an u-boot script.

pdf mfi mfn mfd s dbrmo     dpref    dpgdck     jdbck     gclk2 exact?
--- --- --- --- - -----     -----    ------     -----     ----- ------
  0   9   3   4 1     0  10000000 192000000  96000000  48000000    YES
  0   9   6   9 1     0  10000000 192000000  96000000  48000000    YES
  0   9   9  14 1     0  10000000 192000000  96000000  48000000    YES
  0   9  12  19 1     0  10000000 192000000  96000000  48000000    YES

I modified CFG_PLPRCR (to 19194000) in u-boot config file to match this. But
I'm getting only 45MHz output clock (not exactly 48MHz which is needed for
USB to work)

If anyone can shed some info making the USB work on MPC885 with internal
clock or changing the clock freq to exact 48MHz, it will be helpful.

Thanks

-- 
With best regards,
Prakash

[-- Attachment #2: Type: text/html, Size: 1606 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-08  5:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08  5:01 Clock Modification of MPC885 for USB Host Functionality Prakash Ramaraju
  -- strict thread matches above, loose matches on Subject: below --
2006-11-08  5:05 Prakash Ramaraju
2006-11-07  5:57 Prakash Ramaraju
2006-11-06 10:29 Prakash Ramaraju

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