Nokia N900 >> Native Debian >> Kernel 4.9.0

如何調整CPU最高頻率


drivers/staging/tidspbridge/rmgr/drv_interface.c

290 /* Maximum Opps that can be requested by IVA */
291 /*vdd1 rate table */
292 #ifdef CONFIG_TIDSPBRIDGE_DVFS
293 const struct omap_opp vdd1_rate_table_bridge[] = {
294   {0, 0, 0},
295   /*OPP1 */
296   {S125M, VDD1_OPP1, 0},
297   /*OPP2 */
298   {S250M, VDD1_OPP2, 0},
299   /*OPP3 */
300   {S500M, VDD1_OPP3, 0},
301   /*OPP4 */
302   {S550M, VDD1_OPP4, 0},
303   /*OPP5 */
304   {S600M, VDD1_OPP5, 0},
305 };
306 #endif

arch/arm/boot/dts/omap34xx.dtsi

17     cpu@0 {
18       /* OMAP343x/OMAP35xx variants OPP1-5 */
19       operating-points = <
20         /* kHz    uV */
21         125000   975000
22         250000  1075000
23         500000  1200000
24         550000  1270000
25         600000  1350000
26       >;
27       clock-latency = <300000>; /* From legacy driver */
28     };
29   };

完成


返回上一頁