Skip to content

[PW_SID:1067063] riscv: spacemit: Add ethernet support for K3#1614

Closed
linux-riscv-bot wants to merge 4 commits into
workflow__riscv__fixesfrom
pw1067063
Closed

[PW_SID:1067063] riscv: spacemit: Add ethernet support for K3#1614
linux-riscv-bot wants to merge 4 commits into
workflow__riscv__fixesfrom
pw1067063

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1067063 applied to workflow__riscv__fixes

Name: riscv: spacemit: Add ethernet support for K3
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1067063
Version: 10

The GMAC IP on Spacemit K3 is almost a standard Synopsys DesignWare
MAC (version 5.40a) with some extra clock.

Add necessary compatible string for this device.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add compatible string for 5.40a version that can avoid to define some
platform data in the glue layer.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The ethernet controller on Spacemit K3 SoC is Synopsys DesignWare
MAC (version 5.40a), with the following special points:
1. The rate of the tx clock line is auto changed when the mac speed
   rate is changed, and no need for changing the input tx clock.
2. This controller require a extra syscon device to configure the
   interface type, enable wake up interrupt and delay configuration
   if needed.

Add Spacemit dwmac driver support on the Spacemit K3 SoC.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add a MAINTAINERS entry for the SpacemiT DWMAC glue layer driver and
its DT binding.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 139.97 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1004.51 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1362.67 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 27.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.13 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.89 seconds
Result: WARNING
Output:

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

total: 0 errors, 1 warnings, 0 checks, 116 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 b66c4db3ea2b ("dt-bindings: net: Add support for Spacemit K3 dwmac") 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, 116 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 85.43 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
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: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
kdoc
Desc: Detects for kdoc errors
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[net-next,v10,1/4] dt-bindings: net: Add support for Spacemit K3 dwmac"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 139.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1041.18 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1396.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.96 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.28 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.72 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.84 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
kdoc
Desc: Detects for kdoc errors
Duration: 0.83 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[net-next,v10,2/4] net: stmmac: platform: Add snps,dwmac-5.40a IP compatible string"
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 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 136.50 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1036.97 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1399.08 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.57 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.04 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.46 seconds
Result: WARNING
Output:

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

total: 0 errors, 1 warnings, 0 checks, 252 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 bbec69d49cda ("net: stmmac: Add glue layer for Spacemit K3 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, 252 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 82.94 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
kdoc
Desc: Detects for kdoc errors
Duration: 0.87 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
module-param
Desc: Detect module_param changes
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[net-next,v10,3/4] net: stmmac: Add glue layer for Spacemit K3 SoC"
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 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 137.68 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 997.99 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1345.39 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.95 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.04 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.73 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.06 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
kdoc
Desc: Detects for kdoc errors
Duration: 0.93 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
module-param
Desc: Detect module_param changes
Duration: 0.53 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[net-next,v10,4/4] MAINTAINERS: add entry for SpacemiT DWMAC glue layer"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1067063 branch March 18, 2026 01:28
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