From: Lorenzo Bianconi <lorenzo@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: Introduce more nodes to EN7581 SoC evaluation board
Date: Tue, 4 Feb 2025 17:15:35 +0100 [thread overview]
Message-ID: <Z6I9JzAVv3VjKOiE@lore-desk> (raw)
In-Reply-To: <231c1f01-dea1-4c39-bbe1-cb629f7c109d@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]
> On 03/02/2025 17:04, Krzysztof Kozlowski wrote:
> >> +
> >> + rng@1faa1000 {
> >> + compatible = "airoha,en7581-trng";
> >> + reg = <0x0 0x1faa1000 0x0 0xc04>;
> >> + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
> >> + };
> >> +
> >> + system-controller@1fbf0200 {
> >> + compatible = "syscon", "simple-mfd";
> >
> > These are never allowed alone. I am pretty sure I added proper checks
> > which should point it out, so I think you did not really test your DTS.
> >
> > It does not look like you tested the DTS against bindings. Please run
> > `make dtbs_check W=1` (see
> > Documentation/devicetree/bindings/writing-schema.rst or
> > https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/
> > for instructions).
> > Maybe you need to update your dtschema and yamllint. Don't rely on
> > distro packages for dtschema and be sure you are using the latest
> > released dtschema.
> >
>
> Now I see Rob's report:
> arch/arm64/boot/dts/airoha/en7581-evb.dtb: system-controller@1fbf0200:
> compatible: ['syscon', 'simple-mfd'] is too short
> which confirms untested code. Schema is there for a reason. :(
actually I have tested them with the following command (but without W=1).
make CHECK_DTBS=y DT_SCHEMA_FILES=airoha airoha/en7581-evb.dtb
- dtschema 2024.11
- yamllint 1.35.1
With W=1 I can see more issues, I will fix issues in v2.
Regards,
Lorenzo
>
> Best regards,
> Krzysztof
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-02-04 16:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-01 14:39 [PATCH] arm64: dts: Introduce more nodes to EN7581 SoC evaluation board Lorenzo Bianconi
2025-02-03 15:37 ` Rob Herring (Arm)
2025-02-03 16:04 ` Krzysztof Kozlowski
2025-02-03 16:06 ` Krzysztof Kozlowski
2025-02-04 16:15 ` Lorenzo Bianconi [this message]
2025-02-05 7:34 ` Krzysztof Kozlowski
2025-02-05 8:22 ` Lorenzo Bianconi
2025-02-03 18:41 ` Rob Herring
-- strict thread matches above, loose matches on Subject: below --
2025-02-01 17:18 kernel test robot
2025-02-02 6:12 kernel test robot
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=Z6I9JzAVv3VjKOiE@lore-desk \
--to=lorenzo@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=robh@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.