summaryrefslogtreecommitdiff
path: root/sys/dev/fdt/cpufreq_dt.c
AgeCommit message (Collapse)Author
2021-02-22It is more appropriate to use clk_get_rate() rather than sc->sc_freq_target ↵ryo
* 1000000. ci_data.cpu_cc_freq should be set to a higher precision value. In addition, when cpufreq_dt_init(), or while throttling, sc->sc_freq_target should not be referenced by cpufreq_dt_change_cb() because it does not have the correct value.
2021-01-27Rename of_match_compat_data() to of_compatible_match(). Similarly,thorpej
rename of_search_compatible() to of_compatible_lookup(). Standardize on of_compatible_match() for driver matching, and adapt all call sites.
2020-06-03Re-enable "set cpufreq at boot" code.jmcneill
2020-06-03Disable setting cpufreq at boot for nowjmcneill
2020-06-03Highest speed is first opp, not lastjmcneill
2020-06-02Select the highest rate at boot, and update cycle counter frequency when ↵jmcneill
rates change
2019-10-29Add explicit FDT_OPP for operating-points-v2 so the link set won't be emptyjmcneill
2019-10-28Add support for platform specific opp table filters.jmcneill
2019-10-28Skip nodes with an "opp-suspend" property and fix tables that have disabledjmcneill
nodes in the middle.
2019-10-07Fix argument to fdtbus_get_reg, from Jared.martin
2019-10-06Change sysctl to be named after the first CPU in the DVFS domain.jmcneill
old: machdep.cpu.frequency.*, machdep.cpufreqdt4.frequency.* new: machdep.cpufreq.cpu0.*, machdep.cpufreq.cpu4.*
2019-05-21opp-v2 table seems to list opps from lowest to highest, so swap the order to ↵jmcneill
ensure the highest frequency is first
2018-11-01Support for "opp-microvolt" with more than one celljmcneill
2018-09-20Use machdep.cpu for the first instancejmcneill
2018-09-01Don't print an error message for shared opp tablesjmcneill
2018-09-01Add support for opp-v2 tables and multiple instances of the cpufreqdtjmcneill
driver.
2017-12-16Support cpu nodes without a cpu-supply property.jmcneill
2017-10-05Listen for PMFE_THROTTLE_* events and limit CPU frequency when throttlingjmcneill
is enabled.
2017-10-02Add generic DT cpu frequency and voltage scaling driver.jmcneill