Lines Matching +full:slew +full:- +full:time +full:- +full:us
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Dmitry Eremin-Solenikov
4 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org>
5 * and Markus Demleitner <msdemlei@cl.uni-heidelberg.de>
25 #include <linux/time.h>
42 #define PCR_TARGET_TIME_MASK 0x00006000U /* target time */
67 * the various frequencies, retrieved from the device-tree
164 int rc = -ENODEV; in maple_cpufreq_init()
189 /* Look for the powertune data in the device-tree */ in maple_cpufreq_init()
191 * On Maple this property is provided by PIBS in dual-processor config, in maple_cpufreq_init()
195 maple_pmode_data = of_get_property(cpunode, "power-mode-data", &psize); in maple_cpufreq_init()
197 DBG("No power-mode-data !\n"); in maple_cpufreq_init()
200 maple_pmode_max = psize / sizeof(u32) - 1; in maple_cpufreq_init()
203 * From what I see, clock-frequency is always the maximal frequency. in maple_cpufreq_init()
204 * The current driver can not slew sysclk yet, so we really only deal in maple_cpufreq_init()
209 valp = of_get_property(cpunode, "clock-frequency", NULL); in maple_cpufreq_init()
217 * sync (voltage is right for example). Firmware may leave us with in maple_cpufreq_init()
221 maple_pmode_cur = -1; in maple_cpufreq_init()