Regarding CPU frequency reported by Salvator-X board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I started testing  frequency mentioned in OPP table  with M3-W1.1 Salvator-X board (NOT salvator-XS) using user space governor

The actual frequency reported for 0.5GHz(500000 KHz) is too much deviated from the target  frequency
[INFO] Target frequency: 500000 KHz
[INFO] Actual frequency: 421874 KHz

But if I change the extal value, as per the board schematic (16.6666MHz), the value is some what closer to target frequency.
  &extal_clk {
-       clock-frequency = <16666666>;
+       clock-frequency = <16666600>;
 };
[INFO] Target frequency: 500000 KHz
[INFO] Actual frequency: 468748 KHz

Q1) Have any one  seen this issue? Please share your thoughts on this issue.

Note:- 
I am not seeing this issue on Salvator-XS board, where the extal_clk value= 16640000(16.64MHz).

Please see the logs
with clock-frequency = <16666666>;
-----------------------------------------------
root@salvator-x:/cip-test-scripts# ./opp_t_001.sh
 [INFO] Testing cpufreq for policy:
 [INFO] /sys/devices/system/cpu/cpufreq/policy0
 [INFO]
 [INFO] CPUs affected:
 [INFO] 0 1
 [INFO]
 [INFO] Available frequencies:
 [INFO] 500000 1000000 1500000
 [INFO]
 [INFO] Target frequency: 500000 KHz
 [INFO] Actual frequency: 421874 KHz
 [INFO]
 [INFO] Target frequency: 1000000 KHz
 [INFO] Actual frequency: 937499 KHz
 [INFO]
 [INFO] Target frequency: 1500000 KHz
 [INFO] Actual frequency: 1499999 KHz
 [INFO]
 [INFO] Testing cpufreq for policy:
 [INFO] /sys/devices/system/cpu/cpufreq/policy2
 [INFO]
 [INFO] CPUs affected:
 [INFO] 2 3 4 5
 [INFO]
 [INFO] Available frequencies:
 [INFO] 800000 1000000 1200000
 [INFO]
 [INFO] Target frequency: 800000 KHz
 [INFO] Actual frequency: 749999 KHz
 [INFO]
 [INFO] Target frequency: 1000000 KHz
 [INFO] Actual frequency: 974999 KHz
 [INFO]
 [INFO] Target frequency: 1200000 KHz
 [INFO] Actual frequency: 1199999 KHz

With clock-frequency = <16666600>
----------------------------------------------
root@salvator-x:/cip-test-scripts# ./opp_t_001.sh
 [INFO] Testing cpufreq for policy:
 [INFO] /sys/devices/system/cpu/cpufreq/policy0
 [INFO]
 [INFO] CPUs affected:
 [INFO] 0 1
 [INFO]
 [INFO] Available frequencies:
 [INFO] 500000 1000000 1500000
 [INFO]
 [INFO] Target frequency: 500000 KHz
 [INFO] Actual frequency: 468748 KHz
 [INFO]
 [INFO] Target frequency: 1000000 KHz
 [INFO] Actual frequency: 937496 KHz
 [INFO]
 [INFO] Target frequency: 1500000 KHz
 [INFO] Actual frequency: 1499994 KHz
 [INFO]
 [INFO] Testing cpufreq for policy:
 [INFO] /sys/devices/system/cpu/cpufreq/policy2
 [INFO]
 [INFO] CPUs affected:
 [INFO] 2 3 4 5
 [INFO]
 [INFO] Available frequencies:
 [INFO] 800000 1000000 1200000
 [INFO]
 [INFO] Target frequency: 800000 KHz
 [INFO] Actual frequency: 787496 KHz
 [INFO]
 [INFO] Target frequency: 1000000 KHz
 [INFO] Actual frequency: 974996 KHz
 [INFO]
 [INFO] Target frequency: 1200000 KHz
 [INFO] Actual frequency: 1199995 KHz

Regards,
Biju
 





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux