Skip to content

cpufreq support for the D1

Brandon Cheo Fusi linux-arm-kernel linux-devicetree linux-pm linux-riscv linux-sunxi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 8 repliesIn review
  2. v15 patches 13 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5riscv: dts: allwinner: Update opp table to allow CPU frequency scalingarch/riscv/boot/dts/allwinner/sun20i-d1s.dtsi+15 -31 reply
2/5dt-bindings: opp: sun50i: Add binding for D1 CPUsDocumentation/devicetree/bindings/opp/allwinner,sun50i-h6-operating-points.yaml+3 -12 replies
3/5cpufreq: sun50i: Add D1 supportdrivers/cpufreq/sun50i-cpufreq-nvmem.c+1 -04 replies
4/5cpufreq: dt-platdev: Blocklist allwinner,sun20i-d1 SoCdrivers/cpufreq/cpufreq-dt-platdev.c+1 -00 replies
5/5cpufreq: Make sun50i h6 cpufreq Kconfig option arch genericdrivers/cpufreq/Kconfig drivers/cpufreq/Kconfig.arm drivers/cpufreq/Makefile+13 -131 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)
Signature · 1 line
2.30.2