30 Dec, 2020
1 commit
-
[ Upstream commit af6eca06501118af3e2ad46eee8edab20624b74e ]
This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this cpufreq driver when it is
compiled as an external module.Signed-off-by: Pali Rohár
Fixes: 501c574f4e3a5 ("cpufreq: mediatek: Add support of cpufreq to MT2701/MT7623 SoC")
Signed-off-by: Viresh Kumar
Signed-off-by: Sasha Levin
24 Jun, 2020
1 commit
-
The Energy Model framework supports not only CPU devices. Drop the CPU
specific interface with cpumask and add struct device. Add also a return
value, user might use it. This new interface provides easy way to create
a simple Energy Model, which then might be used by e.g. thermal subsystem.Acked-by: Daniel Lezcano
Signed-off-by: Lukasz Luba
Signed-off-by: Rafael J. Wysocki
22 Aug, 2019
2 commits
-
Add compatible string for mediatek mt8183
Signed-off-by: Andrew-sh.Cheng
[ VK: Fixed rebase conflict ]
Signed-off-by: Viresh Kumar -
For new mediatek chip mt8183,
cci and little cluster share the same buck,
so need to modify the attribute of regulator from exclusive to optionalSigned-off-by: Andrew-sh.Cheng
Signed-off-by: Viresh Kumar
07 Aug, 2019
1 commit
-
Add the compatible for MT8516 in order to take advantage of the
MediaTek CPUFreq driver for Mediatek's MT8516 SoC.Signed-off-by: Fabien Parent
Signed-off-by: Viresh Kumar
31 May, 2019
1 commit
-
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation this program is
distributed in the hope that it will be useful but without any
warranty without even the implied warranty of merchantability or
fitness for a particular purpose see the gnu general public license
for more detailsextracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 655 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Allison Randal
Reviewed-by: Kate Stewart
Reviewed-by: Richard Fontana
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190527070034.575739538@linutronix.de
Signed-off-by: Greg Kroah-Hartman
04 Mar, 2019
1 commit
-
* pm-opp:
cpufreq: OMAP: Register an Energy Model
cpufreq: imx6q: Register an Energy Model
opp: no need to check return value of debugfs_create functions
cpufreq: mediatek: Register an Energy Model
cpufreq: scmi: Register an Energy Model
cpufreq: arm_big_little: Register an Energy Model
cpufreq: scpi: Register an Energy Model
cpufreq: dt: Register an Energy Model
07 Feb, 2019
1 commit
-
Try and register an Energy Model from mediatek-cpufreq to allow
interested subsystems like the task scheduler to use the provided
information.Signed-off-by: Matthias Kaehlcke
Signed-off-by: Viresh Kumar
31 Jan, 2019
1 commit
-
Use the CPUFREQ_IS_COOLING_DEV flag to allow cpufreq core to
automatically register as a thermal cooling device.This allows removal of boiler plate code from the driver.
Signed-off-by: Amit Kucheria
Acked-by: Viresh Kumar
Reviewed-by: Daniel Lezcano
Signed-off-by: Rafael J. Wysocki
20 Mar, 2018
1 commit
-
The cpufreq core is already validating the CPU frequency table after
calling the ->init() callback of the cpufreq drivers and the drivers
don't need to do the same anymore. Though they need to set the
policy->freq_table field directly from the ->init() callback now.Stop validating the frequency table from mediatek driver.
Signed-off-by: Viresh Kumar
Signed-off-by: Rafael J. Wysocki
28 Feb, 2018
1 commit
-
With multi-platform build images, this shows a message on non mediatek
platforms, which is unnecessary. Convert pr_warn() to pr_debug() here.Signed-off-by: Viresh Kumar
Acked-by: Sean Wang
Signed-off-by: Rafael J. Wysocki
18 Jan, 2018
1 commit
-
* pm-cpufreq-thermal:
cpu_cooling: Remove static-power related documentation
cpu_cooling: Drop static-power related stuff
cpu_cooling: Keep only one of_cpufreq*cooling_register() helper
cpu_cooling: Remove unused cpufreq_power_cooling_register()
cpu_cooling: Make of_cpufreq_power_cooling_register() parse DT
13 Dec, 2017
1 commit
-
Support mt2712 in mediatek-cpufreq.c
Signed-off-by: Andrew-sh Cheng
Acked-by: Viresh Kumar
Signed-off-by: Rafael J. Wysocki
08 Dec, 2017
2 commits
-
of_cpufreq_cooling_register() isn't used by anyone and so can be
removed, but then we would be left with two routines:
cpufreq_cooling_register() and of_cpufreq_power_cooling_register() that
would look odd.Remove current implementation of of_cpufreq_cooling_register() and
rename of_cpufreq_power_cooling_register() as
of_cpufreq_cooling_register(). This simplifies lots of stuff.Acked-by: Eduardo Valentin
Signed-off-by: Viresh Kumar
Signed-off-by: Rafael J. Wysocki -
All the callers of of_cpufreq_power_cooling_register() have almost
identical code and it makes more sense to move that code into the helper
as its all about reading DT properties.This got rid of lot of redundant code.
Acked-by: Eduardo Valentin
Signed-off-by: Viresh Kumar
Signed-off-by: Rafael J. Wysocki
22 Nov, 2017
1 commit
-
This change resolves a new compile-time warning
when built as a loadable module:WARNING: modpost: missing MODULE_LICENSE() in drivers/cpufreq/mediatek-cpufreq.o
see include/linux/module.h for more informationThis adds the license as "GPL v2", which matches the header of the file.
MODULE_DESCRIPTION and MODULE_AUTHOR are also added.
Signed-off-by: Jesse Chan
Acked-by: Viresh Kumar
Signed-off-by: Rafael J. Wysocki
10 Aug, 2017
2 commits
-
MT7622 is a 64-bit ARMv8 based dual-core SoC (2 * Cortex-A53) with a
single cluster. The hardware is also compatible with the current driver,
so add MT7622 as one of the compatible string list.Signed-off-by: Sean Wang
Acked-by: Viresh Kumar
Signed-off-by: Rafael J. Wysocki -
Since more MediaTek SoCs can be supported with the cpufreq driver and not
limited to MT8173, a couple of cleanups are done here with renaming those
functions and related structures with "mtk" instead of "mt8173".Signed-off-by: Sean Wang
Acked-by: Viresh Kumar
Signed-off-by: Rafael J. Wysocki
22 Jul, 2017
1 commit
-
MT2701/MT7623 is a 32-bit ARMv7 based quad-core (4 * Cortex-A7) with
single cluster and this hardware is also compatible with the existing
driver through enabling CPU frequency feature with operating-points-v2
bindings. Also, this driver actually supports all MediaTek SoCs, the
Kconfig menu entry and file name itself should be updated with more
generic name to drop "MT8173"Signed-off-by: Sean Wang
Acked-by: Viresh Kumar
Reviewed-by: Jean Delvare
Signed-off-by: Rafael J. Wysocki