Lines Matching +full:pre +full:- +full:scaling
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Match running platform with pre-defined OPP values for CPUFreq
43 * struct sti_cpufreq_ddata - ST CPUFreq Driver Data
56 struct device_node *np = ddata.cpu->of_node; in sti_cpufreq_fetch_major()
83 struct device_node *np = dev->of_node; in sti_cpufreq_fetch_minor()
88 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_fetch_minor()
154 struct device_node *np = dev->of_node; in sti_cpufreq_set_opp_info()
165 dev_err(dev, "This SoC doesn't support voltage scaling\n"); in sti_cpufreq_set_opp_info()
166 return -ENODEV; in sti_cpufreq_set_opp_info()
169 ret = of_property_read_u32_index(np, "st,syscfg-eng", in sti_cpufreq_set_opp_info()
240 struct device_node *np = dev->of_node; in sti_cpufreq_fetch_syscon_registers()
248 ddata.syscfg_eng = syscon_regmap_lookup_by_phandle(np, "st,syscfg-eng"); in sti_cpufreq_fetch_syscon_registers()
250 dev_err(dev, "\"st,syscfg-eng\" not supplied\n"); in sti_cpufreq_fetch_syscon_registers()
264 return -ENODEV; in sti_cpufreq_init()
272 if (!of_get_property(ddata.cpu->of_node, "operating-points-v2", NULL)) { in sti_cpufreq_init()
273 dev_err(ddata.cpu, "OPP-v2 not supported\n"); in sti_cpufreq_init()
286 dev_err(ddata.cpu, "Not doing voltage scaling\n"); in sti_cpufreq_init()
289 platform_device_register_simple("cpufreq-dt", -1, NULL, 0); in sti_cpufreq_init()