[PATCH v2 0/5] cpufreq support for the D1

Brandon Cheo Fusi
2023-12-18T11:06:05Z

This patch series adds support for cpufreq on the D1 SoC, and has been
tested on a Lichee RV module.

Changes in v2:
- Revert opp-microvolt-speed0 property to <target min max>
- Add dt-bindings for "allwinner,sun50i-h6-operating-points"
- Enable sun50i h6 cpufreq multiarch support by moving Kconfig option
to drivers/cpufreq/Kconfig instead of creating
drivers/cpufreq/Kconfig.riscv

Brandon Cheo Fusi (5):
riscv: dts: allwinner: Update opp table to allow CPU frequency scaling
dt-bindings: opp: sun50i: Add binding for D1 CPUs
cpufreq: sun50i: Add D1 support
cpufreq: dt-platdev: Blocklist allwinner,sun20i-d1 SoC
cpufreq: Make sun50i h6 cpufreq Kconfig option arch generic

.../allwinner,sun50i-h6-operating-points.yaml | 4 +++-
arch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi | 18 +++++++++++++++---
drivers/cpufreq/Kconfig | 12 ++++++++++++
drivers/cpufreq/Kconfig.arm | 12 ------------
drivers/cpufreq/Makefile | 2 +-
drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
drivers/cpufreq/sun50i-cpufreq-nvmem.c | 1 +
7 files changed, 33 insertions(+), 17 deletions(-)

--
2.30.2