devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Martina Krasteva <martinax.krasteva@linux.intel.com>,
	gjorgjix.rosikopulos@linux.intel.com, devicetree@vger.kernel.org,
	Daniele Alessandrelli <daniele.alessandrelli@linux.intel.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	paul.j.murphy@linux.intel.com
Subject: Re: [PATCH v7 1/2] dt-bindings: media: Add bindings for imx334
Date: Thu, 4 Feb 2021 17:06:04 -0600	[thread overview]
Message-ID: <CAL_JsqJDwtUQEe7RTaNsCkbLr+WO-RS5QuGsQwtAmmm5nkcw_Q@mail.gmail.com> (raw)
In-Reply-To: <20210204161654.GC32460@paasikivi.fi.intel.com>

On Thu, Feb 4, 2021 at 10:17 AM Sakari Ailus
<sakari.ailus@linux.intel.com> wrote:
>
> Hi Rob,
>
> On Thu, Feb 04, 2021 at 09:20:57AM -0600, Rob Herring wrote:
> > On Wed, 03 Feb 2021 13:54:40 +0000, Martina Krasteva wrote:
> > > From: Martina Krasteva <martinax.krasteva@intel.com>
> > >
> > > - Add dt-bindings documentation for Sony imx334 sensor driver.
> > > - Add MAINTAINERS entry for Sony imx334 binding documentation.
> > >
> > > Signed-off-by: Martina Krasteva <martinax.krasteva@intel.com>
> > > Reviewed-by: Gjorgji Rosikopulos <gjorgjix.rosikopulos@intel.com>
> > > Acked-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>
> > > Acked-by: Paul J. Murphy <paul.j.murphy@intel.com>
> > > Reviewed-by: Rob Herring <robh@kernel.org>
> > > ---
> > >  .../devicetree/bindings/media/i2c/sony,imx334.yaml | 90 ++++++++++++++++++++++
> > >  MAINTAINERS                                        |  8 ++
> > >  2 files changed, 98 insertions(+)
> > >  create mode 100644 Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml
> > >
> >
> > My bot found errors running 'make dt_binding_check' on your patch:
> >
> > yamllint warnings/errors:
> >
> > dtschema/dtc warnings/errors:
> > Error: Documentation/devicetree/bindings/media/i2c/sony,imx334.example.dts:28.17-18 syntax error
> > FATAL ERROR: Unable to parse input tree

That's usually a missing header for #defines.

> > make[1]: *** [scripts/Makefile.lib:344: Documentation/devicetree/bindings/media/i2c/sony,imx334.example.dt.yaml] Error 1
> > make[1]: *** Waiting for unfinished jobs....
> > make: *** [Makefile:1370: dt_binding_check] Error 2
> >
> > See https://patchwork.ozlabs.org/patch/1435383
> >
> > This check can fail if there are any dependencies. The base for a patch
> > series is generally the most recent rc1.
> >
> > 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.
>
> Thanks for reporting this. The example was apparently missing the
> assigned-clock-parents property. I'll squash the following change to the
> patch:

Doubtful. That would be a more specific schema error.

>
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml
> index 3145e94d043e7..4217fbea0735a 100644
> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml
> @@ -76,6 +76,7 @@ examples:
>              clocks = <&imx334_clk>
>
>              assigned-clocks = <&imx334_clk>;
> +            assigned-clock-parents = <&imx334_clk_parent>;
>              assigned-clock-rates = <24000000>;
>
>              port {
>
> --
> Kind regards,
>
> Sakari Ailus

  reply	other threads:[~2021-02-04 23:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-03 13:54 [PATCH v7 0/2] IMX334 Camera Sensor Driver Martina Krasteva
2021-02-03 13:54 ` [PATCH v7 1/2] dt-bindings: media: Add bindings for imx334 Martina Krasteva
2021-02-04 15:20   ` Rob Herring
2021-02-04 16:16     ` Sakari Ailus
2021-02-04 23:06       ` Rob Herring [this message]
2021-02-05  8:35         ` Sakari Ailus
2021-02-09 22:14   ` Krzysztof Kozlowski
2021-02-03 13:54 ` [PATCH v7 2/2] media: i2c: Add imx334 camera sensor driver Martina Krasteva

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=CAL_JsqJDwtUQEe7RTaNsCkbLr+WO-RS5QuGsQwtAmmm5nkcw_Q@mail.gmail.com \
    --to=robh@kernel.org \
    --cc=daniele.alessandrelli@linux.intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gjorgjix.rosikopulos@linux.intel.com \
    --cc=linux-media@vger.kernel.org \
    --cc=martinax.krasteva@linux.intel.com \
    --cc=mchehab@kernel.org \
    --cc=paul.j.murphy@linux.intel.com \
    --cc=sakari.ailus@linux.intel.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;
as well as URLs for NNTP newsgroup(s).