Skip to content

[PW_SID:958328] riscv: sophgo: cv18xx: dts rework, part 1#355

Closed
linux-riscv-bot wants to merge 5 commits into
workflow__riscv__fixesfrom
pw958328
Closed

[PW_SID:958328] riscv: sophgo: cv18xx: dts rework, part 1#355
linux-riscv-bot wants to merge 5 commits into
workflow__riscv__fixesfrom
pw958328

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 958328 applied to workflow__riscv__fixes

Name: riscv: sophgo: cv18xx: dts rework, part 1
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=958328
Version: 1

Linux RISC-V bot and others added 5 commits April 24, 2025 20:46
Although the cv1800b/cv1812h/sg2000/sg2002 share most peripherals,
some basic peripherals, like clock, pinctrl, clint and plint, are
not shared. These are caused by not only historical reason (plic,
clint), but also the fact the device is not the same (clock, pinctrl).

It is good to override device compatible when the soc number is small,
but now it is a burden for maintenance, and it is kind of annoyed to
explain why using override. So it is time to move this out of the
common peripheral header.

Move all soc related peripherla device from common peripheral header
to the soc specific header to get rid of most compatible override.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
As sg2000 and sg2002 can boot from an arm a53 core, it is not
suitable to left the riscv cpu definition in the common peripheral
header.

Move the riscv related device into a separate header file, so the
arm subsystem can reuse the common peripheral header.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
As the cv18xx.dtsi serves as a common peripheral header for all
riscv cv180x/cv181x/sg200x SoCs, it not cover the entire cv18xx
series as there is cv182x and cv183x. So rename the header file
to make it precise.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Since riscv and arm architecture use different interrupt definitions,
use a macro SOC_PERIPHERAL_IRQ mask this difference.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
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: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 111.42 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 950.79 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1224.74 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.91 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.08 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 70.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.64 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
kdoc
Desc: Detects for kdoc errors
Duration: 0.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
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: "[1/4] riscv: dts: sophgo: Move all soc specific device into soc dtsi file"
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: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 108.03 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 947.62 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1217.29 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 21.18 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.20 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.49 seconds
Result: WARNING
Output:

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

total: 0 errors, 1 warnings, 0 checks, 92 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 f5a71a57c4cd ("riscv: dts: sophgo: Move riscv cpu definition to a separate file") 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, 92 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 69.53 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
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: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
kdoc
Desc: Detects for kdoc errors
Duration: 0.91 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
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: "[2/4] riscv: dts: sophgo: Move riscv cpu definition to a separate file"
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 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 107.32 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 947.62 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1219.97 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.97 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
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 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.93 seconds
Result: WARNING
Output:

WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#16: 
 arch/riscv/boot/dts/sophgo/{cv18xx.dtsi => cv180x.dtsi} | 0

total: 0 errors, 1 warnings, 0 checks, 24 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 d5f96a467442 ("riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi") 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, 24 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 68.54 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
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 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
kdoc
Desc: Detects for kdoc errors
Duration: 0.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[3/4] riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi"
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 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 108.21 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 951.74 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1218.75 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.42 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.03 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.44 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 69.17 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
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 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
kdoc
Desc: Detects for kdoc errors
Duration: 0.90 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[4/4] riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt number"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow__riscv__fixes branch 2 times, most recently from 4d9ad71 to 625be03 Compare May 6, 2025 09:20
@linux-riscv-bot linux-riscv-bot deleted the pw958328 branch May 7, 2025 14:20
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