Re: [PATCH v2 0/3] Add Luckfox Omni3576 Carrier Board support for RK3576

Rob Herring (Arm)
2025-05-05T14:50:19Z

On Sun, 04 May 2025 06:24:44 -0400, John Clark wrote:
> This series adds device tree support for the Luckfox Omni3576 Carrier Board
> with Core3576 Module, based on the Rockchip RK3576 SoC, enabling essential
> functionality for booting Linux and basic connectivity. v1 was posted at:
> https://lore.kernel.org/linux-rockchip/20250502205533.51744-1-inindev@gmail.com
>
> Tested features (on Linux 6.15-rc4):
> - UART: Serial console operational
> - SD card: Mounts and reads/writes successfully
> - PCIe: NVMe SSD detected, mounted, and fully functional
> - Ethernet 0: Functional with RGMII PHY
> - USB 2.0: Host ports
> - RTC: Timekeeping and wake-up tested
> - LED: Heartbeat trigger works
> - eMMC: Enabled, not populated on tested board
>
> The series includes the following patches:
> 1. dt-bindings: vendor-prefixes: Add Luckfox vendor prefix
> 2. dt-bindings: arm: rockchip: Add luckfox,omni3576 binding
> 3. arm64: dts: rockchip: Add Luckfox Omni3576 Board support
>
> The new DTS is covered by the existing ROCKCHIP ARCHITECTURE entry in MAINTAINERS.
>
> I am aware of ongoing RK3576 upstreaming efforts (e.g., by Collabora) and
> welcome feedback or collaboration to align with mainline driver development.
>
> Changes in v2:
> - Enabled HDMI node per feedback from Heiko and Nicolas; untested due to
> upstream driver issues
> - Enabled Ethernet 1 node per Heiko's DT philosophy; untested due to
> suspected PHY driver or configuration issues
> - Clarified eMMC remains enabled but unpopulated on tested board, per Heiko
>
> Signed-off-by: John Clark <inindev@gmail.com>
> ---
> John Clark (3):
> dt-bindings: vendor-prefixes: Add luckfox prefix
> dt-bindings: arm: rockchip: Add Luckfox Omni3576 board
> arm64: dts: rockchip: Add Luckfox Omni3576 Board support
>
> .../devicetree/bindings/arm/rockchip.yaml | 5 +
> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> arch/arm64/boot/dts/rockchip/Makefile | 1 +
> .../dts/rockchip/rk3576-luckfox-omni3576.dts | 779 ++++++++++++++++++
> 4 files changed, 787 insertions(+)
> create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts
>
> --
> 2.39.5
>
>
>

My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

pip3 install dtschema --upgrade

This patch series was applied (using b4) to base:
Base: attempting to guess base-commit...
Base: tags/v6.15-rc1-32-g2acfe31a8ce5 (exact match)

If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)

New warnings running 'make CHECK_DTBS=y for arch/arm64/boot/dts/rockchip/' for 20250504102447.153551-1-inindev@gmail.com:

arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: vop@27d00000 (rockchip,rk3576-vop): 'vop-supply' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/display/rockchip/rockchip-vop2.yaml#
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: pcie@2a200000 (rockchip,rk3576-pcie): interrupt-names:5: 'dma0' was expected
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: pcie@2a200000 (rockchip,rk3576-pcie): compatible: 'oneOf' conditional failed, one must be fixed:
['rockchip,rk3576-pcie', 'rockchip,rk3568-pcie'] is too long
'rockchip,rk3568-pcie' was expected
'rockchip,rk3576-pcie' is not one of ['rockchip,rk3588-pcie']
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: pcie@2a200000 (rockchip,rk3576-pcie): 'msi-map' is a required property
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: pcie@2a200000 (rockchip,rk3576-pcie): Unevaluated properties are not allowed ('compatible', 'power-domains' were unexpected)
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: /soc/pcie@2a200000: failed to match any schema with compatible: ['rockchip,rk3576-pcie', 'rockchip,rk3568-pcie']
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: pcie@2a210000 (rockchip,rk3576-pcie): interrupt-names:5: 'dma0' was expected
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: pcie@2a210000 (rockchip,rk3576-pcie): compatible: 'oneOf' conditional failed, one must be fixed:
['rockchip,rk3576-pcie', 'rockchip,rk3568-pcie'] is too long
'rockchip,rk3568-pcie' was expected
'rockchip,rk3576-pcie' is not one of ['rockchip,rk3588-pcie']
from schema $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie.yaml#
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: /soc/pcie@2a210000: failed to match any schema with compatible: ['rockchip,rk3576-pcie', 'rockchip,rk3568-pcie']
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: /soc/otp@2a580000: failed to match any schema with compatible: ['rockchip,rk3576-otp']
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: pmic@23 (rockchip,rk806): Unevaluated properties are not allowed ('pwrkey' was unexpected)
from schema $id: http://devicetree.org/schemas/mfd/rockchip,rk806.yaml#
arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dtb: hdmiphy@2b000000 (rockchip,rk3576-hdptx-phy): 'phy-supply' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/phy/rockchip,rk3588-hdptx-phy.yaml#