[Wetek.Play] - allow real 1.5ghz (its 1512MHz) and remove the 1.2GHz clamp

in the meson6 clock
This commit is contained in:
Memphiz 2015-01-15 09:45:38 +01:00 committed by Memphis
parent d12146f9e4
commit c4afe30818
2 changed files with 13 additions and 2 deletions

View File

@ -67,7 +67,7 @@ diff -Naur a/arch/arm/boot/dts/amlogic/meson6_g18.dtd b/arch/arm/boot/dts/amlogi
+ #address-cells = <1>;
+ #size-cells = <1>;
+ chosen {
+ bootargs = "root=/dev/ram0 rdinit=/init boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 BOOT_IMAGE=kernel.img console=tty0 consoleblank=0 scaling_governor=hotplug scaling_min_freq=200000 scaling_max_freq=1500000 systemd.show_status=auto";
+ bootargs = "root=/dev/ram0 rdinit=/init boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 BOOT_IMAGE=kernel.img console=tty0 consoleblank=0 scaling_governor=hotplug scaling_min_freq=200000 scaling_max_freq=1512000 systemd.show_status=auto";
+ };
+
+/// ***************************************************************************************
@ -1236,7 +1236,7 @@ diff -Naur a/arch/arm/boot/dts/amlogic/meson6_g18.dtd b/arch/arm/boot/dts/amlogi
+ 1080000 1220000 1220000
+ 1200000 1240000 1240000
+ 1320000 1320000 1320000
+ 1500000 1320000 1320000
+ 1512000 1320000 1320000
+ >;
+ };
+ };

View File

@ -0,0 +1,11 @@
--- a/arch/arm/mach-meson6/clock.c.orig 2015-01-14 18:04:05.216364113 +0100
+++ b/arch/arm/mach-meson6/clock.c 2015-01-14 18:04:22.807966326 +0100
@@ -1419,7 +1419,7 @@
#endif /* CONFIG_SMP */
int error = 0;
- int cpu_freq_limit = 1200000000;
+ int cpu_freq_limit = 1512000000;
if (rate < 1000)
rate *= 1000000;