Skip to content

[PW_SID:991198] Introduce SpacemiT K1 PCIe phy and host controller - #773

Closed
linux-riscv-bot wants to merge 6 commits into
workflow__riscv__fixesfrom
pw991198
Closed

[PW_SID:991198] Introduce SpacemiT K1 PCIe phy and host controller#773
linux-riscv-bot wants to merge 6 commits into
workflow__riscv__fixesfrom
pw991198

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 991198 applied to workflow__riscv__fixes

Name: Introduce SpacemiT K1 PCIe phy and host controller
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=991198
Version: 1

Add the Device Tree binding for the PCIe/USB 3.0 combo PHY found in
the SpacemiT K1 SoC.  This is one of three PCIe PHYs, and is unusual
in that only the combo PHY can perform a calibration step needed to
determine settings used by the other two PCIe PHYs.

Calibration must be done with the combo PHY in PCIe mode, and to allow
this to occur independent of the eventual use for the PHY (PCIe or USB)
some PCIe-related properties must be supplied: clocks; resets; and a
syscon phandle.

Signed-off-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add the Device Tree binding for two PCIe PHYs present on the SpacemiT
K1 SoC.  These PHYs are dependent on a separate combo PHY, which
determines at probe time the calibration values used by the PCIe-only
PHYs.

Signed-off-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add the Device Tree binding for the PCIe root complex found on the
SpacemiT K1 SoC.  This device is derived from the Synopsys Designware
PCIe IP.  It supports up to three PCIe ports operating at PCIe gen 2
link speeds (5 GT/sec).  One of the ports uses a combo PHY, which is
typically used to support a USB 3 port.

Signed-off-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Introduce a driver that supports three PHYs found on the SpacemiT
K1 SoC.  The first PHY is a combo PHY that can be configured for
use for either USB 3 or PCIe.  The other two PHYs support PCIe
only.

All three PHYs must be programmed with an 8 bit receiver termination
value, which must be determined dynamically; only the combo PHY is
able to determine this value.  The combo PHY performs a special
calibration step at probe time to discover this, and that value is
used to program each PHY that operates in PCIe mode.  The combo
PHY must therefore be probed--first--if either of the PCIe-only
PHYs will be used.

During normal operation, the USB or PCIe driver using the PHY must
ensure clocks and resets are set up properly.  However clocks are
enabled and resets are de-asserted temporarily by this driver to
perform the calibration step on the combo PHY.

Tested-by: Junzhong Pan <panjunzhong@linux.spacemit.com>
Signed-off-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Introduce a driver for the PCIe root complex found in the SpacemiT
K1 SoC.  The hardware is derived from the Synopsys DesignWare PCIe IP.
The driver supports three PCIe ports that operate at PCIe v2 transfer
rates (5 GT/sec).  The first port uses a combo PHY, which may be
configured for use for USB 3 instead.

Signed-off-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Define PCIe and PHY-related Device Tree nodes for the SpacemiT K1 SoC.

Enable the combo PHY and the two PCIe-only PHYs on the Banana Pi BPI-F3
board.  The combo PHY is used for USB on this board, and that will be
enabled when USB 3 support is accepted.

Signed-off-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 102.30 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1020.38 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1315.93 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 21.14 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.92 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.72 seconds
Result: WARNING
Output:

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

total: 0 errors, 1 warnings, 0 checks, 110 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 dc6df5b981e4 ("dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY") 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, 110 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 73.60 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
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: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
kdoc
Desc: Detects for kdoc errors
Duration: 0.85 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[1/6] dt-bindings: phy: spacemit: add SpacemiT PCIe/combo PHY"
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/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 102.87 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1020.74 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1324.80 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.33 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.63 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.72 seconds
Result: WARNING
Output:

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

total: 0 errors, 1 warnings, 0 checks, 49 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 59be08f3cd88 ("dt-bindings: phy: spacemit: introduce PCIe PHY") 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, 49 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 73.49 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
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: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
kdoc
Desc: Detects for kdoc errors
Duration: 0.84 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 2: "[2/6] dt-bindings: phy: spacemit: introduce PCIe PHY"
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/6] phy: spacemit: introduce PCIe/combo PHY"
kdoc
Desc: Detects for kdoc errors
Duration: 0.84 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[4/6] phy: spacemit: introduce PCIe/combo PHY"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[4/6] phy: spacemit: introduce PCIe/combo PHY"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 4: "[4/6] phy: spacemit: introduce PCIe/combo PHY"
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 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 103.61 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1122.78 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1575.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.74 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.69 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.54 seconds
Result: WARNING
Output:

WARNING: please write a help paragraph that fully describes the config symbol with at least 4 lines
#29: FILE: drivers/pci/controller/dwc/Kconfig:495:
+config PCIE_K1
+	bool "SpacemiT K1 host mode PCIe controller"
+	depends on ARCH_SPACEMIT || COMPILE_TEST
+	depends on PCI && OF && HAS_IOMEM
+	select PCIE_DW_HOST
+	default ARCH_SPACEMIT
+	help
+	  Enables support for the PCIe controller in the K1 SoC operating
+	  in host mode.
+

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

total: 0 errors, 2 warnings, 0 checks, 376 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 a3931e896620 ("PCI: spacemit: introduce SpacemiT PCIe host driver") 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, 2 warnings, 0 checks, 376 lines checked
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
WARNING: please write a help paragraph that fully describes the config symbol with at least 4 lines


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 74.32 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
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 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
kdoc
Desc: Detects for kdoc errors
Duration: 0.83 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 5: "[5/6] PCI: spacemit: introduce SpacemiT PCIe host driver"
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 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 103.45 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1072.79 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1382.41 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
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 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.83 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 1.40 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 75.23 seconds
Result: ERROR
Output:

Redirect to /build/tmp.68dCylxAt2 and /build/tmp.5BvdOXSJHK
Tree base:
a3931e8966203 ("PCI: spacemit: introduce SpacemiT PCIe host driver")
Building the tree before the patch
make: Entering directory '/build/tmpx0lmcprq'
make[1]: Entering directory '/build/tmp.036neQ67ae'
  GEN     Makefile
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/menu.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
*** Default configuration is based on 'defconfig'
#
# configuration written to .config
#
make[1]: Leaving directory '/build/tmp.036neQ67ae'
make: Leaving directory '/build/tmpx0lmcprq'
make: Entering directory '/build/tmpx0lmcprq'
make[1]: Entering directory '/build/tmp.036neQ67ae'
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.[ch]
  HOSTCC  scripts/dtc/libfdt/fdt.o
  HOSTCC  scripts/dtc/libfdt/fdt_ro.o
  HOSTCC  scripts/dtc/libfdt/fdt_wip.o
  HOSTCC  scripts/dtc/libfdt/fdt_sw.o
  HOSTCC  scripts/dtc/libfdt/fdt_rw.o
  HOSTCC  scripts/dtc/libfdt/fdt_strerror.o
  HOSTCC  scripts/dtc/libfdt/fdt_empty_tree.o
  HOSTCC  scripts/dtc/libfdt/fdt_addresses.o
  HOSTCC  scripts/dtc/libfdt/fdt_overlay.o
  HOSTCC  scripts/dtc/fdtoverlay.o
  UPD     include/config/kernel.release
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/fdtoverlay
  SCHEMA  Documentation/devicetree/bindings/processed-schema.json
  HOSTLD  scripts/dtc/dtc
  DTC [C] arch/riscv/boot/dts/canaan/canaan_kd233.dtb
  DTC [C] arch/riscv/boot/dts/canaan/k210_generic.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_bit.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_go.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-clockworkpi-v3.14.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_dock.dtb
  DTC [C] arch/riscv/boot/dts/andes/qilai-voyager.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maixduino.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-devterm-v3.14.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-dongshan-nezha-stu.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-480p.dtb
  DTC [C] arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dtb
  DTC [C] arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-m100pfsevp.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-dock.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb
  DTC [C] arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-mangopi-mq-pro.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-polarberry.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dtb
  DTC [C] arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-sev-kit.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-tysom-m.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-evb-v1.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-nezha.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-evb-v2.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1s-mangopi-mq.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.2a.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
/build/tmp.036neQ67ae/arch/riscv/boot/dts/andes/qilai-voyager.dtb: cache-controller@200000: cache-sets: 1024 was expected
	from schema $id: http://devicetree.org/schemas/cache/andestech,ax45mp-cache.yaml#
/build/tmp.036neQ67ae/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: serial@f0612000: 'clocks' is a required property
	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
/build/tmp.036neQ67ae/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: serial@f0612000: 'clock-names' is a required property
	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
/build/tmp.036neQ67ae/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: serial@f0612000: 'clocks' is a required property
	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
/build/tmp.036neQ67ae/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: serial@f0612000: 'clock-names' is a required property
	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
make[1]: Leaving directory '/build/tmp.036neQ67ae'
make: Leaving directory '/build/tmpx0lmcprq'
Building the tree with the patch
make: Entering directory '/build/tmpx0lmcprq'
make[1]: Entering directory '/build/tmp.C7n156rDeS'
  GEN     Makefile
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/menu.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
*** Default configuration is based on 'defconfig'
#
# configuration written to .config
#
make[1]: Leaving directory '/build/tmp.C7n156rDeS'
make: Leaving directory '/build/tmpx0lmcprq'
make: Entering directory '/build/tmpx0lmcprq'
make[1]: Entering directory '/build/tmp.C7n156rDeS'
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.[ch]
  HOSTCC  scripts/dtc/libfdt/fdt.o
  HOSTCC  scripts/dtc/libfdt/fdt_ro.o
  HOSTCC  scripts/dtc/libfdt/fdt_wip.o
  HOSTCC  scripts/dtc/libfdt/fdt_sw.o
  HOSTCC  scripts/dtc/libfdt/fdt_rw.o
  HOSTCC  scripts/dtc/libfdt/fdt_strerror.o
  HOSTCC  scripts/dtc/libfdt/fdt_empty_tree.o
  HOSTCC  scripts/dtc/libfdt/fdt_addresses.o
  HOSTCC  scripts/dtc/libfdt/fdt_overlay.o
  HOSTCC  scripts/dtc/fdtoverlay.o
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  UPD     include/config/kernel.release
  HOSTLD  scripts/dtc/fdtoverlay
  SCHEMA  Documentation/devicetree/bindings/processed-schema.json
  HOSTLD  scripts/dtc/dtc
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-clockworkpi-v3.14.dtb
  DTC [C] arch/riscv/boot/dts/andes/qilai-voyager.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-devterm-v3.14.dtb
  DTC [C] arch/riscv/boot/dts/canaan/canaan_kd233.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-dongshan-nezha-stu.dtb
  DTC [C] arch/riscv/boot/dts/canaan/k210_generic.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dtb
  DTC [C] arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dtb
  DTC [C] arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-480p.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_bit.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb
  DTC [C] arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-720p.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-m100pfsevp.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/cv1800b-milkv-duo.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_dock.dtb
  DTC [C] arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb
  DTC [C] arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-dock.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-polarberry.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/cv1812h-huashan-pi.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maix_go.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2002-licheerv-nano-b.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-sev-kit.dtb
  DTC [C] arch/riscv/boot/dts/canaan/sipeed_maixduino.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-mangopi-mq-pro.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dtb
  DTC [C] arch/riscv/boot/dts/microchip/mpfs-tysom-m.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1-nezha.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-evb-v1.dtb
  DTC [C] arch/riscv/boot/dts/allwinner/sun20i-d1s-mangopi-mq.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2042-evb-v2.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.2a.dtb
  DTC [C] arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dtb
  DTC [C] arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2-v1.3b.dtb
/build/tmp.C7n156rDeS/arch/riscv/boot/dts/andes/qilai-voyager.dtb: cache-controller@200000: cache-sets: 1024 was expected
	from schema $id: http://devicetree.org/schemas/cache/andestech,ax45mp-cache.yaml#
/build/tmp.C7n156rDeS/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: serial@f0612000: 'clocks' is a required property
	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
/build/tmp.C7n156rDeS/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: serial@f0612000: 'clock-names' is a required property
	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: /soc/pcie-bus/pcie@ca000000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: /soc/pcie-bus/pcie@ca400000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: /soc/pcie-bus/pcie@ca800000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
/build/tmp.C7n156rDeS/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: serial@f0612000: 'clocks' is a required property
	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
/build/tmp.C7n156rDeS/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: serial@f0612000: 'clock-names' is a required property
	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: /soc/pcie-bus/pcie@ca000000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: /soc/pcie-bus/pcie@ca400000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: /soc/pcie-bus/pcie@ca800000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
make[1]: Leaving directory '/build/tmp.C7n156rDeS'
make: Leaving directory '/build/tmpx0lmcprq'
Errors and warnings before: 10 this patch: 16
New errors added
--- /build/tmp.68dCylxAt2	2025-08-14 03:55:22.461897179 +0000
+++ /build/tmp.5BvdOXSJHK	2025-08-14 03:55:22.463897174 +0000
@@ -3,4 +2,0 @@
-arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: serial@f0612000: 'clocks' is a required property
-	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
-arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: serial@f0612000: 'clock-names' is a required property
-	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
@@ -10,0 +7,10 @@
+arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: /soc/pcie-bus/pcie@ca000000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
+arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: /soc/pcie-bus/pcie@ca400000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
+arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dtb: /soc/pcie-bus/pcie@ca800000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
+arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: serial@f0612000: 'clocks' is a required property
+	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
+arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: serial@f0612000: 'clock-names' is a required property
+	from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
+arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: /soc/pcie-bus/pcie@ca000000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
+arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: /soc/pcie-bus/pcie@ca400000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']
+arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dtb: /soc/pcie-bus/pcie@ca800000: failed to match any schema with compatible: ['spacemit,k1-pcie-rc']


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
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 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 6: "[6/6] riscv: dts: spacemit: PCIe and PHY-related updates"
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 pw991198 branch August 14, 2025 23:19
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