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

    Pali Rohár
     

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

    Lukasz Luba
     

22 Aug, 2019

2 commits


07 Aug, 2019

1 commit


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 details

    extracted 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

    Thomas Gleixner
     

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

    Rafael J. Wysocki
     

07 Feb, 2019

1 commit


31 Jan, 2019

1 commit


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

    Viresh Kumar
     

28 Feb, 2018

1 commit


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

    Rafael J. Wysocki
     

13 Dec, 2017

1 commit


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

    Viresh Kumar
     
  • 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

    Viresh Kumar
     

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 information

    This 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

    Jesse Chan
     

10 Aug, 2017

2 commits


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

    Sean Wang