[RFC PATCH v6 0/2] Add rk3576 pcie dts nodes
Kever Yang
kever.yang at rock-chips.com
Fri Feb 21 02:43:55 PST 2025
The make dt_binding_check test has pass.
But I got error for make CHECK_DTBS=y as below
DTC [C] arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dtb
DTC [C] arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dtb
/home/kever/src/kernel-mainline/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dtb: pcie at 2a200000: interrupt-names: ['sys', 'pmc', 'msg', 'legacy', 'err', 'msi'] is too long
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
/home/kever/src/kernel-mainline/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dtb: pcie at 2a210000: interrupt-names: ['sys', 'pmc', 'msg', 'legacy', 'err', 'msi'] is too long
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
DTC [C] arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dtb
/home/kever/src/kernel-mainline/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dtb: pcie at 2a200000: interrupt-names: ['sys', 'pmc', 'msg', 'legacy', 'err', 'msi'] is too long
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
/home/kever/src/kernel-mainline/arch/arm64/boot/dts/rockchip/rk3576-evb1-v10.dtb: pcie at 2a210000: interrupt-names: ['sys', 'pmc', 'msg', 'legacy', 'err', 'msi'] is too long
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
DTC [C] arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dtb
/home/kever/src/kernel-mainline/arch/arm64/boot/dts/rockchip/rk3588-evb1-v10.dtb: pcie-ep at fe150000: interrupt-names: ['sys', 'pmc', 'msg', 'legacy', 'err', 'dma0', 'dma1', 'dma2', 'dma3'] is too long
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie-ep.yaml#
Could anyone told me why, the rk3568 has pass the test, but the rk3572
and rk3588 failed.
How can I debug the yaml check failure? Why the check rule does not go to
the if branch I defined for rk3572 and rk3588?
Changes in v6:
- Fix make dt_binding_check and make CHECK_DTBS=y
Changes in v5:
- Add constraints per device for interrupt-names due to the interrupt is
different from rk3588.
Changes in v4:
- Fix wrong indentation in dt_binding_check report by Rob
Changes in v3:
- Fix dtb check broken on rk3588
- Update commit message
- Update the subject
Changes in v2:
- remove required 'msi-map'
- add interrupt name 'msi'
- Update clock and reset names and sequence to pass DTB check
Kever Yang (2):
dt-bindings: PCI: dw: rockchip: Add rk3576 support
arm64: dts: rockchip: Add rk3576 pcie nodes
.../bindings/pci/rockchip-dw-pcie-common.yaml | 59 ++++++++--
.../bindings/pci/rockchip-dw-pcie.yaml | 4 +-
arch/arm64/boot/dts/rockchip/rk3576.dtsi | 109 ++++++++++++++++++
3 files changed, 159 insertions(+), 13 deletions(-)
--
2.25.1
More information about the linux-arm-kernel
mailing list