From: Nicolas Dufresne <nicolas@ndufresne.ca>
To: "Rob Herring (Arm)" <robh@kernel.org>,
Tomeu Vizoso <tomeu@tomeuvizoso.net>
Cc: "David Airlie" <airlied@gmail.com>,
devicetree@vger.kernel.org,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"Maxime Ripard" <mripard@kernel.org>,
linux-kernel@vger.kernel.org,
"Conor Dooley" <conor+dt@kernel.org>,
"Oded Gabbay" <ogabbay@kernel.org>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Jonathan Corbet" <corbet@lwn.net>,
"Sebastian Reichel" <sebastian.reichel@collabora.com>,
dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org,
linux-arm-kernel@lists.infradead.org,
linux-media@vger.kernel.org,
"Christian König" <christian.koenig@amd.com>,
"Jeff Hugo" <jeff.hugo@oss.qualcomm.com>,
"Sumit Semwal" <sumit.semwal@linaro.org>,
"Heiko Stuebner" <heiko@sntech.de>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Nicolas Frattaroli" <nicolas.frattaroli@collabora.com>,
"Simona Vetter" <simona@ffwll.ch>,
linux-rockchip@lists.infradead.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH v3 01/10] dt-bindings: npu: rockchip,rknn: Add bindings
Date: Thu, 22 May 2025 14:03:00 -0400 [thread overview]
Message-ID: <0c261c9aad759d791e0a576a47bbd064f28148e9.camel@ndufresne.ca> (raw)
In-Reply-To: <174742024812.3649303.12389396177218408388.robh@kernel.org>
Hi Rob,
Le lundi 19 mai 2025 à 06:35 -0500, Rob Herring (Arm) a écrit :
>
> On Fri, 16 May 2025 18:53:15 +0200, Tomeu Vizoso wrote:
> > Add the bindings for the Neural Processing Unit IP from Rockchip.
> >
> > v2:
> > - Adapt to new node structure (one node per core, each with its own
> > IOMMU)
> > - Several misc. fixes from Sebastian Reichel
> >
> > v3:
> > - Split register block in its constituent subblocks, and only require
> > the ones that the kernel would ever use (Nicolas Frattaroli)
> > - Group supplies (Rob Herring)
> > - Explain the way in which the top core is special (Rob Herring)
> >
> > Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
> > Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
> > ---
> > .../bindings/npu/rockchip,rknn-core.yaml | 162 +++++++++++++++++++++
> > 1 file changed, 162 insertions(+)
> >
>
> My bot found errors running 'make dt_binding_check' on your patch:
Yes, and it found and reported it 25 times, can you fix it please ?
Nicolas
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/npu/rockchip,rknn-core.yaml: properties:reg-
> names: 'oneOf' conditional failed, one must be fixed:
> [{'const': 'pc'}, {'const': 'cna'}, {'const': 'core'}] is too long
> [{'const': 'pc'}, {'const': 'cna'}, {'const': 'core'}] is too short
> False schema does not allow 3
> 1 was expected
> 3 is greater than the maximum of 2
> hint: "minItems" is only needed if less than the "items" list length
> from schema $id: http://devicetree.org/meta-schemas/items.yaml#
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/npu/rockchip,rknn-core.example.dtb:
> npu-core@fdab0000 (rockchip,rk3588-rknn-core-top): compatible: 'oneOf' conditional failed, one must be fixed:
> ['rockchip,rk3588-rknn-core-top', 'rockchip,rknn-core-top'] is too long
> 'rockchip,rk3588-rknn-core-top' is not one of ['rockchip,rk3588-rknn-core']
> from schema $id: http://devicetree.org/schemas/npu/rockchip,rknn-core.yaml#
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/npu/rockchip,rknn-core.example.dtb:
> npu-core@fdab0000 (rockchip,rk3588-rknn-core-top): reg: [[0, 4255842304, 0, 36864]] is too short
> from schema $id: http://devicetree.org/schemas/npu/rockchip,rknn-core.yaml#
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/npu/rockchip,rknn-core.example.dtb:
> npu-core@fdac0000 (rockchip,rk3588-rknn-core): compatible: 'oneOf' conditional failed, one must be fixed:
> ['rockchip,rk3588-rknn-core', 'rockchip,rknn-core'] is too long
> 'rockchip,rk3588-rknn-core' is not one of ['rockchip,rk3588-rknn-core-top']
> from schema $id: http://devicetree.org/schemas/npu/rockchip,rknn-core.yaml#
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/npu/rockchip,rknn-core.example.dtb:
> npu-core@fdac0000 (rockchip,rk3588-rknn-core): reg: [[0, 4255907840, 0, 36864]] is too short
> from schema $id: http://devicetree.org/schemas/npu/rockchip,rknn-core.yaml#
>
> doc reference errors (make refcheckdocs):
>
> See
> https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250516-6-10-rocket-v3-1-7051ac9225db@tomeuvizoso.net
>
> The base for the series is generally the latest rc1. A different dependency
> should be noted in *this* patch.
>
> If you already ran 'make dt_binding_check' and didn't see the above
> error(s), then make sure 'yamllint' is installed and dt-schema is up to
> date:
>
> pip3 install dtschema --upgrade
>
> Please check and re-submit after running the above command yourself. Note
> that DT_SCHEMA_FILES can be set to your schema file to speed up checking
> your schema. However, it must be unset to test all examples with your schema.
>
next prev parent reply other threads:[~2025-05-22 18:03 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-16 16:53 [PATCH v3 00/10] New DRM accel driver for Rockchip's RKNN NPU Tomeu Vizoso
2025-05-16 16:53 ` [PATCH v3 01/10] dt-bindings: npu: rockchip,rknn: Add bindings Tomeu Vizoso
2025-05-16 18:30 ` Rob Herring (Arm)
2025-05-16 19:31 ` Rob Herring (Arm)
2025-05-17 3:33 ` Rob Herring (Arm)
2025-05-17 18:22 ` Rob Herring (Arm)
2025-05-17 20:22 ` Rob Herring (Arm)
2025-05-18 5:25 ` Rob Herring (Arm)
2025-05-18 7:25 ` Rob Herring (Arm)
2025-05-18 8:26 ` Rob Herring (Arm)
2025-05-18 9:26 ` Rob Herring (Arm)
2025-05-18 19:29 ` Rob Herring (Arm)
2025-05-19 0:00 ` Rob Herring (Arm)
2025-05-19 0:31 ` Rob Herring (Arm)
2025-05-19 3:16 ` Rob Herring (Arm)
2025-05-19 4:32 ` Rob Herring (Arm)
2025-05-19 6:32 ` Rob Herring (Arm)
2025-05-19 7:18 ` Rob Herring (Arm)
2025-05-19 8:18 ` Rob Herring (Arm)
2025-05-19 9:18 ` Rob Herring (Arm)
2025-05-19 9:34 ` Rob Herring (Arm)
2025-05-19 9:49 ` Rob Herring (Arm)
2025-05-19 10:34 ` Rob Herring (Arm)
2025-05-19 11:19 ` Rob Herring (Arm)
2025-05-19 11:35 ` Rob Herring (Arm)
2025-05-22 18:03 ` Nicolas Dufresne [this message]
2025-05-19 6:07 ` Krzysztof Kozlowski
2025-05-16 16:53 ` [PATCH v3 02/10] arm64: dts: rockchip: Add nodes for NPU and its MMU to rk3588s Tomeu Vizoso
2025-05-19 6:08 ` Krzysztof Kozlowski
2025-05-19 8:27 ` Tomeu Vizoso
2025-05-19 8:47 ` Krzysztof Kozlowski
2025-05-19 10:06 ` Tomeu Vizoso
2025-05-16 16:53 ` [PATCH v3 03/10] arm64: dts: rockchip: Enable the NPU on quartzpro64 Tomeu Vizoso
2025-05-16 16:53 ` [PATCH v3 04/10] accel/rocket: Add registers header Tomeu Vizoso
2025-05-16 16:53 ` [PATCH v3 05/10] accel/rocket: Add a new driver for Rockchip's NPU Tomeu Vizoso
2025-05-16 16:53 ` [PATCH v3 06/10] accel/rocket: Add IOCTL for BO creation Tomeu Vizoso
2025-05-16 16:53 ` [PATCH v3 07/10] accel/rocket: Add job submission IOCTL Tomeu Vizoso
2025-05-16 16:53 ` [PATCH v3 08/10] accel/rocket: Add IOCTLs for synchronizing memory accesses Tomeu Vizoso
2025-05-16 16:53 ` [PATCH v3 09/10] arm64: dts: rockchip: add pd_npu label for RK3588 power domains Tomeu Vizoso
2025-05-16 16:53 ` [PATCH v3 10/10] arm64: dts: rockchip: enable NPU on ROCK 5B Tomeu Vizoso
2025-05-17 13:18 ` [PATCH v3 00/10] New DRM accel driver for Rockchip's RKNN NPU Rob Herring (Arm)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0c261c9aad759d791e0a576a47bbd064f28148e9.camel@ndufresne.ca \
--to=nicolas@ndufresne.ca \
--cc=airlied@gmail.com \
--cc=christian.koenig@amd.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=jeff.hugo@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=linaro-mm-sig@lists.linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=nicolas.frattaroli@collabora.com \
--cc=ogabbay@kernel.org \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
--cc=simona@ffwll.ch \
--cc=sumit.semwal@linaro.org \
--cc=tomeu@tomeuvizoso.net \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®