Lines Matching +full:mmu +full:- +full:500

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org>
41 * init/main.c to make it non-init before enabling DEBUG_FREQ
254 * the above didn't re-enable the DEC */ in pmu_set_cpu_speed()
270 save_l3cr = _get_L3CR(); /* (returns -1 if not available) */ in pmu_set_cpu_speed()
271 save_l2cr = _get_L2CR(); /* (returns -1 if not available) */ in pmu_set_cpu_speed()
298 /* Restore userland MMU context */ in pmu_set_cpu_speed()
299 switch_mmu_context(NULL, current->active_mm, NULL); in pmu_set_cpu_speed()
310 * as soon as interrupts are re-enabled and the generic in pmu_set_cpu_speed()
390 * GPIO space, and the device-tree doesn't help. in read_gpio()
452 "voltage-gpio"); in pmac_cpufreq_init_MacRISC3()
454 "frequency-gpio"); in pmac_cpufreq_init_MacRISC3()
456 "slewing-done"); in pmac_cpufreq_init_MacRISC3()
481 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); in pmac_cpufreq_init_MacRISC3()
484 pr_err("bus-frequencies incorrect or missing\n"); in pmac_cpufreq_init_MacRISC3()
487 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", in pmac_cpufreq_init_MacRISC3()
490 pr_err("processor-to-bus-ratio*2 missing\n"); in pmac_cpufreq_init_MacRISC3()
498 /* Grrrr.. It _seems_ that the device-tree is lying on the low bus in pmac_cpufreq_init_MacRISC3()
521 * device-tree in pmac_cpufreq_init_MacRISC3()
523 value = of_get_property(cpunode, "min-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
527 /* The PowerBook G4 12" (PowerBook6,1) has an error in the device-tree in pmac_cpufreq_init_MacRISC3()
532 value = of_get_property(cpunode, "max-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
546 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_7447A()
549 volt_gpio_np = of_find_node_by_name(NULL, "cpu-vcore-select"); in pmac_cpufreq_init_7447A()
554 pr_err("missing cpu-vcore-select gpio\n"); in pmac_cpufreq_init_7447A()
576 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_750FX()
580 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); in pmac_cpufreq_init_750FX()
585 volt_gpio_np = of_find_node_by_name(NULL, "cpu-vcore-select"); in pmac_cpufreq_init_750FX()
602 * - Titanium PowerBook 1Ghz (PMU based, 667Mhz & 1Ghz)
603 * - Titanium PowerBook 800 (PMU based, 667Mhz & 800Mhz)
604 * - Titanium PowerBook 400 (PMU based, 300Mhz & 400Mhz)
605 * - Titanium PowerBook 500 (PMU based, 300Mhz & 500Mhz)
606 * - iBook2 500/600 (PMU based, 400Mhz & 500/600Mhz)
607 * - iBook2 700 (CPU based, 400Mhz & 700Mhz, support low voltage)
608 * - Recent MacRISC3 laptops
609 * - All new machines with 7447A CPUs
625 value = of_get_property(cpunode, "clock-frequency", NULL); in pmac_cpufreq_setup()
632 of_get_property(cpunode, "dynamic-power-step", NULL) && in pmac_cpufreq_setup()
644 /* Else check for iBook2 500/600 */ in pmac_cpufreq_setup()
658 /* Else check for TiPb 400 & 500 */ in pmac_cpufreq_setup()
660 /* We only know about the 400 MHz and the 500Mhz model in pmac_cpufreq_setup()
676 return -ENODEV; in pmac_cpufreq_setup()