5c080 clock.

Oleg Gusev oleg@usm.uni-muenchen.de
Wed Apr 21 19:29:15 CEST 2004


The source of the evil clock is the sa1101 USB.
I don't yet understand WTF is happening, but
if the USB clock is disabled, then the (5c080)
does not change. If it is enabled, then the (5c080)
runs. Try it with
'echo 0x66 > /proc/sa1101/registers/SKPCR' (to disable), 
and
'echo 0x67 > /proc/sa1101/registers/SKPCR' (to enable).
Hopefully, the sa1101-usb driver will setup everything properly.
In wince the (5c080) is running if the USB device is connected,
and stops if nothing is connected.
My solution for 2.4 will be to disable the USB clock in sa1101.c
(together with the PICLK and VCLK), export the 
sa1101_enable_clock(int clk) / sa1101_disable_clock(int clk)
and leave the details to the sa1101-* drivers.

 Oleg.



More information about the Jornada820 mailing list