summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2024-04-18 18:44:05 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2024-04-19 10:04:27 +0300
commitfa5aec9561cfc4f4370983ca5818c90227c9d90e (patch)
treeb66e89d51a037648f90dff606b660f00b4e03811 /scripts/gdb/linux/modules.py
parent6cc4bcceff9af0e6be9738096d95e4ba75e75123 (diff)
downloadlinux-fa5aec9561cfc4f4370983ca5818c90227c9d90e.tar.xz
cpufreq: sun50i: Add support for opp_supported_hw
The opp_supported_hw DT property allows the DT to specify a mask of chip revisions that a certain OPP is eligible for. This allows for easy limiting of maximum frequencies, for instance. Add support for that in the sun50i-cpufreq-nvmem driver. We support both the existing opp-microvolt suffix properties as well as the opp-supported-hw property, the generic code figures out which is needed automatically. However if none of the DT OPP nodes contain an opp-supported-hw property, the core code will ignore all OPPs and the driver will fail probing. So check the DT's eligibility first before using that feature. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions