This patch depends on the MT6799 DTS patch submitted by Hanks Chen https://lkml.org/lkml/2020/8/4/1094 Hector.Yuan (2): cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW .../bindings/cpufreq/cpufreq-mediatek-hw.yaml | 141 ++++++++++ drivers/cpufreq/Kconfig.arm | 12 + drivers/cpufreq/Makefile | 1 + drivers/cpufreq/mediatek-cpufreq-hw.c | 294 ++++++++++++++++++++ 4 files changed, 448 insertions(+) create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-hw.yaml create mode 100644 drivers/cpufreq/mediatek-cpufreq-hw.c