mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
9baca41064
Rearrange all voltage triplets for "opp_table0" to match the
specifications. "opp-microvolt" and "opp-microvolt-<name>" triplets
are in order of <target min max>, and NOT <min target max>.
Previously, the CPU would *always* spend its time at the "minimum"
voltage, ignoring the actual intended target. This is a regression
from previous behavior.
On an NBG6817 with a Qualcomm CPU of PVS bin #2...
(see &opp_table0 -> opp-1725000000 -> opp-microvolt-speed0-pvs2-v0)
* Before:
/usr/bin/tail -n +1 /sys/kernel/debug/opp/cpu0/opp\:1725000000/supply-0/u_volt_*
==> /sys/kernel/debug/opp/cpu0/opp:1725000000/supply-0/u_volt_max <==
1260000
==> /sys/kernel/debug/opp/cpu0/opp:1725000000/supply-0/u_volt_min <==
1200000
==> /sys/kernel/debug/opp/cpu0/opp:1725000000/supply-0/u_volt_target <==
1140000
* After:
/usr/bin/tail -n +1 /sys/kernel/debug/opp/cpu0/opp\:1725000000/supply-0/u_volt_*
==> /sys/kernel/debug/opp/cpu0/opp:1725000000/supply-0/u_volt_max <==
1260000
==> /sys/kernel/debug/opp/cpu0/opp:1725000000/supply-0/u_volt_min <==
1140000
==> /sys/kernel/debug/opp/cpu0/opp:1725000000/supply-0/u_volt_target <==
1200000
To check voltages and frequencies at run time, use...
/bin/cat /sys/kernel/debug/regulator/regulator_summary &&
/bin/cat /sys/kernel/debug/clk/clk_summary | grep "hfpll"
See
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/devicetree/bindings/opp/opp.txt?h=v5.4.142#n91
Fixes:
|
||
---|---|---|
.. | ||
082-ipq8064-dtsi-tweaks.patch | ||
083-ipq8064-dtsi-additions.patch | ||
084-ipq8064-v1.0-dtsi-cleanup.patch | ||
085-ipq8064-v1.0-dtsi-additions.patch | ||
086-ipq8064-fix-duplicate-node.patch | ||
093-drivers-cpufreq-qcom-cpufreq-nvmem-support-specific-.patch | ||
097-1-ipq806x-gcc-add-missing-clk-flag.patch | ||
097-2-ipq806x-lcc-add-missing-reset.patch | ||
097-3-clk-qcom-krait-add-missing-enable-disable.patch | ||
097-4-ipq806x-gcc-add-missing-clk-and-reset-for-crypto-eng.patch | ||
098-1-cpufreq-add-Krait-dedicated-scaling-driver.patch | ||
098-2-Documentation-cpufreq-add-qcom-krait-cpufreq-binding.patch | ||
098-3-add-fab-scaling-support-with-cpufreq.patch | ||
099-1-mtd-nand-raw-qcom_nandc-add-boot_layout_mode-support.patch | ||
099-2-Documentation-devicetree-mtd-qcom_nandc-document-qco.patch | ||
100-v5.11-dmaengine-qcom-add_ADM_driver.patch | ||
101-5.12-mtd-parsers-Add-Qcom-SMEM-parser.patch | ||
101-dwmac-ipq806x-qsgmii-pcs-all-ch-ctl.patch | ||
102-mtd-rootfs-conflicts-with-OpenWrt-auto-mounting.patch | ||
103-ARM-dts-qcom-reduce-pci-IO-size-to-64K.patch | ||
104-1-drivers-thermal-tsens-Add-VER_0-tsens-version.patch | ||
104-2-drivers-thermal-tsens-Don-t-hardcode-sensor-slope.patch | ||
104-3-drivers-thermal-tsens-Convert-msm8960-to-reg_field.patch | ||
104-4-drivers-thermal-tsens-Use-init_common-for-msm8960.patch | ||
104-5-drivers-thermal-tsens-Fix-bug-in-sensor-enable-for-m.patch | ||
104-6-drivers-thermal-tsens-Replace-custom-8960-apis-with-.patch | ||
104-7-drivers-thermal-tsens-Drop-unused-define-for-msm8960.patch | ||
104-8-drivers-thermal-tsens-Add-support-for-ipq8064-tsens.patch | ||
104-9-dt-bindings-thermal-tsens-Document-ipq8064-bindings.patch | ||
105-10-drivers-thermal-tsens-Fix-wrong-slope-on-msm-8960.patch | ||
107-1-thermal-qcom-tsens-init-debugfs-only-with-successful.patch | ||
107-2-thermal-qcom-tsens-simplify-debugfs-init-function.patch | ||
850-soc-add-qualcomm-syscon.patch | ||
851-add-gsbi1-dts.patch | ||
900-arm-add-cmdline-override.patch | ||
997-device_tree_cmdline.patch | ||
0001-dtbindings-qcom_adm-Fix-channel-specifiers.patch | ||
0033-ARM-qcom-automatically-select-PCI_DOMAINS-if-PCI-is-.patch | ||
0060-HACK-arch-arm-force-ZRELADDR-on-arch-qcom.patch | ||
0065-arm-override-compiler-flags.patch | ||
0067-generic-Mangle-bootloader-s-kernel-arguments.patch | ||
0069-arm-boot-add-dts-files.patch | ||
0072-add-ipq806x-with-no-clocks.patch |