Skip to content

[PW_SID:990053] clk: spacemit: fix sspax_clk - #751

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

[PW_SID:990053] clk: spacemit: fix sspax_clk#751
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw990053

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 990053 applied to workflow__riscv__fixes

Name: clk: spacemit: fix sspax_clk
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=990053
Version: 5

In order to use the virtual clock SSPAx_I2S_BCLK in the device tree and
register it in the driver, this patch introduces the macro definition.

Fixes: 1b72c59 ("clk: spacemit: Add clock support for SpacemiT K1 SoC")
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Hardware Requirement:

BIT[3] of this register must be set if need to select i2s_bclk as
SSPA parent clock, to solve this, introduces a new SSPAx_I2S_BCLK
clock as the virtual gate clock.

Fixes: 1b72c59 ("clk: spacemit: Add clock support for SpacemiT K1 SoC")
Suggested-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Haylen Chu <heylenay@4d2.org>
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 106.39 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1127.55 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1447.72 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.94 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.11 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.78 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 74.47 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
kdoc
Desc: Detects for kdoc errors
Duration: 0.86 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v5,1/2] dt-bindings: clock: spacemit: CLK_SSPA_I2S_BCLK for SSPA"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 104.07 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1054.78 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1362.29 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 21.17 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.43 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.56 seconds
Result: WARNING
Output:

CHECK: Please use a blank line after function/struct/union/enum declarations
#50: FILE: drivers/clk/spacemit/ccu-k1.c:267:
 };
+CCU_MUX_GATE_DEFINE(sspa0_clk, sspa0_parents, APBC_SSPA0_CLK_RST, 4, 3, BIT(1), 0);

CHECK: Please use a blank line after function/struct/union/enum declarations
#62: FILE: drivers/clk/spacemit/ccu-k1.c:279:
+};
+CCU_MUX_GATE_DEFINE(sspa1_clk, sspa1_parents, APBC_SSPA1_CLK_RST, 4, 3, BIT(1), 0);

total: 0 errors, 0 warnings, 2 checks, 48 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 4a0cddb04b1e ("clk: spacemit: fix sspax_clk") 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, 0 warnings, 2 checks, 48 lines checked
CHECK: Please use a blank line after function/struct/union/enum declarations


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 74.69 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
kdoc
Desc: Detects for kdoc errors
Duration: 0.87 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.27 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[v5,2/2] clk: spacemit: fix sspax_clk"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot deleted the pw990053 branch August 11, 2025 22:48
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