From: Abel Vesa <abel.vesa@linaro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
Amol Maheshwari <amahesh@qti.qualcomm.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@somainline.org>,
Rob Herring <robh@kernel.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-remoteproc@vger.kernel.org,
David Heidelberg <david@ixit.cz>
Subject: Re: [PATCH v11] dt-bindings: misc: fastrpc convert bindings to yaml
Date: Tue, 6 Sep 2022 22:14:52 +0300 [thread overview]
Message-ID: <YxecLFC9HTye4FPP@linaro.org> (raw)
In-Reply-To: <67657fa4-4b15-da4c-db3a-907b2a5b6d92@linaro.org>
On 22-09-06 18:12:51, Krzysztof Kozlowski wrote:
> On 06/09/2022 17:01, Abel Vesa wrote:
> > Convert Qualcomm FastRPC bindings to yaml format, so that we could validate
> > dt-entries correctly and any future additions can go into yaml format.
> >
>
> Thank you for your patch. There is something to discuss/improve.
>
> > +
> > +patternProperties:
> > + "(compute-)?cb@[0-9]*$":
> > + type: object
> > +
> > + description: >
> > + Each subnode of the Fastrpc represents compute context banks available on the dsp.
> > +
> > + properties:
> > + compatible:
> > + const: qcom,fastrpc-compute-cb
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + qcom,nsession:
> > + $ref: /schemas/types.yaml#/definitions/uint32
> > + default: 1
> > + description: >
> > + A value indicating how many sessions can share this context bank.
> > +
> > + required:
> > + - compatible
> > + - reg
>
> I think this was pointed previously by Rob in v4 - you need here
> additionalProperties: false (on that level of indentation).
Ugh, I thought if the check doesn't complain, it is not necessary to add
it as false.
Will resend.
>
> > +
> > +required:
> > + - compatible
> > + - label
> > + - "#address-cells"
> > + - "#size-cells"
> > +
>
>
> Best regards,
> Krzysztof
prev parent reply other threads:[~2022-09-06 19:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-06 15:01 [PATCH v11] dt-bindings: misc: fastrpc convert bindings to yaml Abel Vesa
2022-09-06 16:12 ` Krzysztof Kozlowski
2022-09-06 19:14 ` Abel Vesa [this message]
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=YxecLFC9HTye4FPP@linaro.org \
--to=abel.vesa@linaro.org \
--cc=agross@kernel.org \
--cc=amahesh@qti.qualcomm.com \
--cc=andersson@kernel.org \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@somainline.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=robh@kernel.org \
--cc=srinivas.kandagatla@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).