From: Conor Dooley <conor@kernel.org>
To: Rob Herring <robh@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor.dooley@microchip.com>,
Oleksii <oleksii.kurochko@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Anup Patel <apatel@ventanamicro.com>,
qemu-riscv@nongnu.org, u-boot@lists.denx.de,
Andrew Jones <ajones@ventanamicro.com>,
palmer@dabbelt.com, Atish Patra <atishp@atishpatra.org>,
Jessica Clarke <jrtc27@jrtc27.com>,
Paul Walmsley <paul.walmsley@sifive.com>,
Alistair Francis <alistair.francis@wdc.com>,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
Rick Chen <rick@andestech.com>,
linux-kernel@vger.kernel.org, Leo <ycliang@andestech.com>
Subject: Re: [PATCH v2] dt-bindings: riscv: deprecate riscv,isa
Date: Thu, 8 Jun 2023 19:05:52 +0100 [thread overview]
Message-ID: <20230608-unlucky-carpenter-b3a95f269712@spud> (raw)
In-Reply-To: <168624654839.3085745.9088493205796442132.robh@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 2042 bytes --]
On Thu, Jun 08, 2023 at 11:49:08AM -0600, Rob Herring wrote:
> On Thu, 08 Jun 2023 17:54:05 +0100, Conor Dooley wrote:
> > As a result of implementing Sean's suggestion, I believe I need to add
> > riscv,isa-extensions as an exception to the rules preventing vendor
> > properties being of object type, otherwise dt_binding_check is less than
> > happy with me.
> dtschema/dtc warnings/errors:
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/riscv/extensions.yaml: properties:riscv,isa-extensions: 'oneOf' conditional failed, one must be fixed:
> Additional properties are not allowed ('additionalProperties', 'properties' were unexpected)
> hint: A vendor boolean property can use "type: boolean"
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/riscv/extensions.yaml: properties:riscv,isa-extensions: 'oneOf' conditional failed, one must be fixed:
> 'enum' is a required property
> 'const' is a required property
> hint: A vendor string property with exact values has an implicit type
> from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml#
> Additional properties are not allowed ('additionalProperties', 'properties', 'type' were unexpected)
> hint: A vendor string property with exact values has an implicit type
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/riscv/extensions.yaml: properties:riscv,isa-extensions: 'oneOf' conditional failed, one must be fixed:
> '$ref' is a required property
> 'allOf' is a required property
> hint: A vendor property needs a $ref to types.yaml
> from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml#
> 'boolean' was expected
> hint: A vendor boolean property can use "type: boolean"
> hint: Vendor specific properties must have a type and description unless they have a defined, common suffix.
> from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml#
Yeah, expected. I think I need an exception in vendor-props for this to
pass the checks.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2023-06-08 18:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-08 16:54 Conor Dooley
2023-06-08 17:49 ` Rob Herring
2023-06-08 18:05 ` Conor Dooley [this message]
2023-06-09 14:03 ` Rob Herring
2023-06-09 14:20 ` Conor Dooley
2023-06-22 18:25 ` Palmer Dabbelt
2023-06-22 18:59 ` Conor Dooley
2023-06-22 19:43 ` Palmer Dabbelt
2023-07-03 15:02 ` Ben Dooks
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=20230608-unlucky-carpenter-b3a95f269712@spud \
--to=conor@kernel.org \
--cc=ajones@ventanamicro.com \
--cc=alistair.francis@wdc.com \
--cc=apatel@ventanamicro.com \
--cc=atishp@atishpatra.org \
--cc=conor.dooley@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=jrtc27@jrtc27.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=oleksii.kurochko@gmail.com \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=qemu-riscv@nongnu.org \
--cc=rick@andestech.com \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=u-boot@lists.denx.de \
--cc=ycliang@andestech.com \
/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®