Skip to content

[PW_SID:1086780] pwm: spacemit: Add Support for K3 SoC#1828

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1086780
Closed

[PW_SID:1086780] pwm: spacemit: Add Support for K3 SoC#1828
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1086780

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1086780 applied to workflow__riscv__fixes

Name: pwm: spacemit: Add Support for K3 SoC
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1086780
Version: 2

Yixun Lan added 2 commits April 28, 2026 12:18
The PWM controller in SpacemiT K3 SoC reuse the same IP as previous K1
generation, while the difference is that one additional bus clock is
added.

Signed-off-by: Yixun Lan <dlan@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add one secondary optional bus clock for the PWM PXA driver, also keep it
compatible with old single clock.

The SpacemiT K3 SoC require a bus clock for PWM controller, acquire and
enable it during probe phase.

Signed-off-by: Yixun Lan <dlan@kernel.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] dt-bindings: pwm: marvell,pxa-pwm: Add SpacemiT K3 PWM support"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 116.27 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] dt-bindings: pwm: marvell,pxa-pwm: Add SpacemiT K3 PWM support"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 952.05 seconds
Result: ERROR
Output:

Redirect to /build/tmp.xiCGgjZRQg and /build/tmp.0hJBWJXLZe
Tree base:
01805bc4f902e ("Adding CI files")
Building the whole tree with the patch
error:
Warning: /build/tmp5bk00hfs/drivers/pmdomain/mediatek/mtk-mfg-pmdomain.c:244 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!
ld.lld: error: relocation R_RISCV_32 cannot be used against symbol '__kcfi_typeid___riscv_copy_words_unaligned'; recompile with -fPIC
ld.lld: error: relocation R_RISCV_32 cannot be used against symbol '__kcfi_typeid___riscv_copy_bytes_unaligned'; recompile with -fPIC
ld.lld: error: relocation R_RISCV_32 cannot be used against symbol '__kcfi_typeid___riscv_copy_vec_words_unaligned'; recompile with -fPIC
ld.lld: error: relocation R_RISCV_32 cannot be used against symbol '__kcfi_typeid___riscv_copy_vec_bytes_unaligned'; recompile with -fPIC



real	15m43.533s
user	578m47.987s
sys	129m56.526s

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/2] dt-bindings: pwm: marvell,pxa-pwm: Add SpacemiT K3 PWM support"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1364.03 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1086780 branch April 29, 2026 00:22
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.

1 participant