Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f1293ff authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

Merge back cpufreq material for v3.18.

parents b1b12bab f9739d27
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
Generic CPU0 cpufreq driver
Generic cpufreq driver

It is a generic cpufreq driver for CPU0 frequency management.  It
supports both uniprocessor (UP) and symmetric multiprocessor (SMP)
systems which share clock and voltage across all CPUs.
It is a generic DT based cpufreq driver for frequency management.  It supports
both uniprocessor (UP) and symmetric multiprocessor (SMP) systems which share
clock and voltage across all CPUs.

Both required and optional properties listed below must be defined
under node /cpus/cpu@0.
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_CPU_IDLE=y
CONFIG_ARM_MVEBU_V7_CPUIDLE=y
CONFIG_CPU_FREQ=y
CONFIG_CPUFREQ_GENERIC=y
CONFIG_CPUFREQ_DT=y
CONFIG_VFP=y
CONFIG_NET=y
CONFIG_INET=y
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@

static void __init imx27_dt_init(void)
{
	struct platform_device_info devinfo = { .name = "cpufreq-cpu0", };
	struct platform_device_info devinfo = { .name = "cpufreq-dt", };

	mxc_arch_reset_init_dt();

+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ static void __init imx51_ipu_mipi_setup(void)

static void __init imx51_dt_init(void)
{
	struct platform_device_info devinfo = { .name = "cpufreq-cpu0", };
	struct platform_device_info devinfo = { .name = "cpufreq-dt", };

	mxc_arch_reset_init_dt();
	imx51_ipu_mipi_setup();
+1 −1
Original line number Diff line number Diff line
@@ -644,7 +644,7 @@ static int __init armada_xp_pmsu_cpufreq_init(void)
		}
	}

	platform_device_register_simple("cpufreq-generic", -1, NULL, 0);
	platform_device_register_simple("cpufreq-dt", -1, NULL, 0);
	return 0;
}

Loading