Clock settings
Lars-Peter Clausen
lars at metafoo.de
Sun Nov 8 11:32:03 EST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Xiangfu Liu wrote:
> Hi Bas Wijnen
>
> here is some info:
> ----
> root at BenNanoNote:/proc/jz# ls
> cgm emc imem ipu mmc pmc udc
>
> root at BenNanoNote:/proc/jz# more cgm
> CPPCR : 0x1b000520
> CPCCR : 0x40632220
> PLL : ON
> m:n:o : 56:2:1
> C:H:M:P : 1:3:3:3
> PLL Freq : 336.00 MHz
> CCLK : 336.00 MHz
> HCLK : 112.00 MHz
> MCLK : 112.00 MHz
> PCLK : 112.00 MHz
> LCDCLK : 84.00 MHz
> PIXCLK : 25846.15 KHz
> I2SCLK : 12.00 MHz
> USBCLK : 12.00 MHz
> MSCCLK : 24.00 MHz
> EXTALCLK : 12.00 MHz
> RTCCLK : 0.03 MHz
>
> root at BenNanoNote:/proc/jz# more emc
> SMCR(0-5): 0x00000080 0x094c4400 0x0fff7700 0x0fff7700 0x0fff7700
> SACR(0-5): 0x00001cfc 0x000018fc 0x000014fc 0x00000cfc 0x000008fc
> DMCR: 0x85aa3211
> RTCSR: 0x0083
> RTCOR: 0x001f
>
> root at BenNanoNote:/proc/jz# more pmc
> Low Power Mode : IDLE
> Doze Mode : off
> IPU : running
> DMAC : running
> UHC : running
> UDC : stopped
> LCD : running
> CIM : running
> SADC : running
> MSC : running
> AIC1 : running
> AIC2 : running
> SSI : running
> I2C : running
> RTC : running
> TCU : running
> UART1 : running
> UART0 : running
>
> Bas Wijnen wrote:
>> Hi,
>>
>> In the Linux source, I don't see any clocks being set up. Possibly they
>> aren't, and the boot values are maintained. However, since I have some
>> trouble with my lcd driver which might be related to the clocks
>> settings, I would like someone who has Linux running on the Ben to tell
>> me what their clocks are set to. This info can be found in /proc/cgm.
>> While you're at it, please also tell me what's in /proc/emc and
>> /proc/pmc.
>>
>> Thanks,
>> Bas
>>
Hi
Please note that the value is not quite optimal. Currently the display
is driven with 90Hz and I guess we could do fine with less to reduce
power consumtion and also remove stress from the ram.
- - Lars
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkr28oMACgkQBX4mSR26RiM89gCfdZihVow7nxeO07kVEQL8VGF+
CwMAnRhC8AAdLEmjloU593ObVgBZ7vzD
=prwR
-----END PGP SIGNATURE-----
More information about the discussion
mailing list