diff options
author | Nicolas Saenz Julienne <nsaenzjulienne@suse.de> | 2019-06-12 20:24:56 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2019-06-13 08:58:22 +0530 |
commit | d3df18a97e586702920337056540267807b23f8e (patch) | |
tree | 0a431d6334bd5f5f70656f4241aaf7bc3419cb11 /drivers/gnss/ubx.c | |
parent | e6abacabb5acb6315e0e9560b2cb50a4d55b6e09 (diff) | |
download | linux-stable-d3df18a97e586702920337056540267807b23f8e.tar.gz linux-stable-d3df18a97e586702920337056540267807b23f8e.tar.bz2 linux-stable-d3df18a97e586702920337056540267807b23f8e.zip |
cpufreq: add driver for Raspberry Pi
Raspberry Pi's firmware offers and interface though which update it's
performance requirements. It allows us to request for specific runtime
frequencies, which the firmware might or might not respect, depending on
the firmware configuration and thermals.
As the maximum and minimum frequencies are configurable in the firmware
there is no way to know in advance their values. So the Raspberry Pi
cpufreq driver queries them, builds an opp frequency table to then
launch cpufreq-dt.
Also, as the firmware interface might be configured as a module, making
the cpu clock unavailable during init, this implements a full fledged
driver, as opposed to most drivers registering cpufreq-dt, which only
make use of an init routine.
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/gnss/ubx.c')
0 files changed, 0 insertions, 0 deletions