Skip to content

[PW_SID:1079620] cpufreq: spacemit: Add cpufreq support for K1 SoC#1785

Closed
linux-riscv-bot wants to merge 3 commits into
workflowfrom
pw1079620
Closed

[PW_SID:1079620] cpufreq: spacemit: Add cpufreq support for K1 SoC#1785
linux-riscv-bot wants to merge 3 commits into
workflowfrom
pw1079620

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1079620 applied to workflow

Name: cpufreq: spacemit: Add cpufreq support for K1 SoC
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1079620
Version: 2

Linux RISC-V bot and others added 3 commits April 17, 2026 04:49
The SpacemiT K1 SoC uses standard device tree based CPU frequency
scaling. Add it to the allowlist to instantiate the cpufreq-dt driver.

Signed-off-by: Shuwei Wu <shuwei.wu@mailbox.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add Operating Performance Points (OPP) tables and CPU clock properties
for the two clusters in the SpacemiT K1 SoC.

Also assign the CPU power supply (cpu-supply) for the Banana Pi BPI-F3
board to fully enable CPU DVFS.

Signed-off-by: Shuwei Wu <shuwei.wu@mailbox.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 141.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 734.61 seconds
Result: ERROR
Output:

Redirect to /build/tmp.7zgt2hovkN and /build/tmp.bAlaX9CFbV
Tree base:
0521ef8beeec0 ("Adding CI files")
Building the whole tree with the patch
error:
Warning: /build/tmp96p_31wc/drivers/pmdomain/mediatek/mtk-mfg-pmdomain.c:245 struct __packed mtk_mfg_opp_entry { __le32 freq_khz; __le32 voltage_core; __le32 voltage_sram; __le32 posdiv; __le32 voltage_margin; __le32 power_mw; }; error: Cannot parse struct or union!



real	12m8.579s
user	469m54.769s
sys	83m24.182s

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1665.98 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.82 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.14 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.83 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 85.37 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
kdoc
Desc: Detects for kdoc errors
Duration: 0.86 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 139.95 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 733.86 seconds
Result: ERROR
Output:

Redirect to /build/tmp.D1wRi8hkaR and /build/tmp.ZJACuokUNf
Tree base:
6510599111204 ("cpufreq: dt-platdev: Add SpacemiT K1 SoC to the allowlist")
Building the whole tree with the patch
error:
Warning: /build/tmp_abqtgrn/drivers/pmdomain/mediatek/mtk-mfg-pmdomain.c:245 struct __packed mtk_mfg_opp_entry { __le32 freq_khz; __le32 voltage_core; __le32 voltage_sram; __le32 posdiv; __le32 voltage_margin; __le32 power_mw; }; error: Cannot parse struct or union!



real	12m7.604s
user	469m11.210s
sys	83m23.855s

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1451.78 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.71 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.14 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.36 seconds
Result: WARNING
Output:

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#82: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 214 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit 5aa97a553429 ("riscv: dts: spacemit: Add cpu scaling for K1 SoC") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 0 checks, 214 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 85.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
kdoc
Desc: Detects for kdoc errors
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/2] riscv: dts: spacemit: Add cpu scaling for K1 SoC"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow branch 3 times, most recently from 1ff84bd to 6d95e82 Compare April 17, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants