mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Md Danish Anwar <a0501179@ti.com>
To: Rob Herring <robh@kernel.org>, MD Danish Anwar <danishanwar@ti.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
	Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-remoteproc@vger.kernel.org>, <srk@ti.com>,
	Suman Anna <s-anna@ti.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>, <nm@ti.com>,
	Mathieu Poirier <mathieu.poirier@linaro.org>,
	Roger Quadros <rogerq@kernel.org>, Tero Kristo <t-kristo@ti.com>,
	<vigneshr@ti.com>
Subject: Re: [EXTERNAL] Re: [PATCH v6 1/5] dt-bindings: remoteproc: Add PRU consumer bindings
Date: Thu, 13 Oct 2022 14:16:21 +0530	[thread overview]
Message-ID: <531c3974-d4db-c2eb-62b6-0e74eee5f0c4@ti.com> (raw)
In-Reply-To: <166558063092.1936865.1773120279875751081.robh@kernel.org>

Hi Rob,

On 12/10/22 18:49, Rob Herring wrote:
> On Wed, 12 Oct 2022 17:14:25 +0530, MD Danish Anwar wrote:
>> From: Suman Anna <s-anna@ti.com>
>>
>> Add a YAML binding document for PRU consumers. The binding includes
>> all the common properties that can be used by different PRU consumer
>> or application nodes and supported by the PRU remoteproc driver.
>> These are used to configure the PRU hardware for specific user
>> applications.
>>
>> The application nodes themselves should define their own bindings.
>>
>> Co-developed-by: Tero Kristo <t-kristo@ti.com>
>> Signed-off-by: Tero Kristo <t-kristo@ti.com>
>> Signed-off-by: Suman Anna <s-anna@ti.com>
>> Co-developed-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
>> Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
>> Signed-off-by: Puranjay Mohan <p-mohan@ti.com>
>> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
>> ---
>>  .../bindings/remoteproc/ti,pru-consumer.yaml  | 132 ++++++++++++++++++
>>  1 file changed, 132 insertions(+)
>>  create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,pru-consumer.yaml
>>
> 
> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
> on your patch (DT_CHECKER_FLAGS is new in v5.13):
> 
> yamllint warnings/errors:
> 
> dtschema/dtc warnings/errors:
> Documentation/devicetree/bindings/remoteproc/ti,pru-consumer.example.dtb:0:0: /example-0/icssg2-eth: failed to match any schema with compatible: ['ti,am654-icssg-prueth']
> 
> doc reference errors (make refcheckdocs):
> 
> See https://patchwork.ozlabs.org/patch/
> 
> This check can fail if there are any dependencies. The base for a patch
> series is generally the most recent rc1.
> 

This error is coming as this dt-schema has 'ti,am654-icssg-prueth' as
compatible in the example section, which is introduced in [1] patch series.
Including the full example section in this dt schema binding is causing this error.

In v5 [2] of this series, only the 'ti,prus', 'firmware-name' and
'ti,pruss-gp-mux-sel' properties were included in the example section. Mathieu
had asked to include full example in the dt binding document.

So I added full example section. But in full example I included compatible
property as well which is not introduced in this series thus creating dt check
binding error.

I will remove the example section from here and add it to dt-schema binding of
icssg-prueth.

[1] https://lore.kernel.org/all/20220531095108.21757-2-p-mohan@ti.com/
[2] https://lore.kernel.org/all/20220607045650.4999-2-p-mohan@ti.com/

> 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.
> 

  reply	other threads:[~2022-10-13  8:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-12 11:44 [PATCH v6 0/6] Introduce PRU remoteproc consumer API MD Danish Anwar
2022-10-12 11:44 ` [PATCH v6 1/5] dt-bindings: remoteproc: Add PRU consumer bindings MD Danish Anwar
2022-10-12 13:19   ` Rob Herring
2022-10-13  8:46     ` Md Danish Anwar [this message]
2022-10-12 15:24   ` Krzysztof Kozlowski
2022-10-13 10:37     ` [EXTERNAL] " Md Danish Anwar
2022-10-12 11:44 ` [PATCH v6 2/5] remoteproc: pru: Add APIs to get and put the PRU cores MD Danish Anwar
2022-10-12 11:44 ` [PATCH v6 3/5] remoteproc: pru: Make sysfs entries read-only for PRU client driven boots MD Danish Anwar
2022-10-12 11:44 ` [PATCH v6 4/5] remoteproc: pru: Add pru_rproc_set_ctable() function MD Danish Anwar
2022-10-12 11:44 ` [PATCH v6 5/5] remoteproc: pru: Configure firmware based on client setup MD Danish Anwar

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=531c3974-d4db-c2eb-62b6-0e74eee5f0c4@ti.com \
    --to=a0501179@ti.com \
    --cc=bjorn.andersson@linaro.org \
    --cc=danishanwar@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=grzegorz.jaszczyk@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=nm@ti.com \
    --cc=robh@kernel.org \
    --cc=rogerq@kernel.org \
    --cc=s-anna@ti.com \
    --cc=srk@ti.com \
    --cc=t-kristo@ti.com \
    --cc=vigneshr@ti.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®