From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Sebastian Fricke <sebastian.fricke@collabora.com>,
linux-media@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: kernel@collabora.com, bob.beckett@collabora.com,
hverkuil-cisco@xs4all.nl, nicolas.dufresne@collabora.com,
nas.chung@chipsnmedia.com, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v11 5/6] dt-bindings: media: wave5: add yaml devicetree bindings
Date: Wed, 7 Dec 2022 13:31:33 +0100 [thread overview]
Message-ID: <48d60bd0-4de1-4a5e-eca1-1f8a9303cce0@linaro.org> (raw)
In-Reply-To: <20221207121350.66217-6-sebastian.fricke@collabora.com>
On 07/12/2022 13:13, Sebastian Fricke wrote:
> From: Robert Beckett <bob.beckett@collabora.com>
>
> Add bindings for the wave5 chips&media codec driver
>
> Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
What's happening with this patch? Where is the changelog? Why it is v11
and first time I see it? And why it is v11 with basic mistakes and lack
of testing?!? I would assume that v11 was already seen and tested...
> ---
> .../devicetree/bindings/cnm,wave5.yml | 72 +++++++++++++++++++
> 1 file changed, 72 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/cnm,wave5.yml
Wrong directory. It wasn't here at all before, so I am really confused
how this could happen.
Subject: drop redundant pieces: yaml, devicetree and bindings.
>
> diff --git a/Documentation/devicetree/bindings/cnm,wave5.yml b/Documentation/devicetree/bindings/cnm,wave5.yml
> new file mode 100644
> index 000000000000..01dddebb162e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/cnm,wave5.yml
> @@ -0,0 +1,72 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/wave5.yaml#
You clearly did not test them before sending.
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Chips&Media Wave 5 Series multi-standard codec IP
> +
> +maintainers:
> + - Nas Chung <nas.chung@chipsnmedia.com>
> + - Robert Beckett <bob.beckett@collabora.com>
> + - Sebastian Fricke <sebastian.fricke@collabora.com>
> +
> +description: |-
> + The Chips&Media WAVE codec IP is a multi format video encoder/decoder
> +
> +properties:
> + compatible:
> + anyOf:
Please start from example-schema or other recently approved bindings. No
anyOf.
> + - items:
No items...
> + - enum:
> + - cnm,cm511-vpu
> + - cnm,cm517-vpu
> + - cnm,cm521-vpu
> + - cnm,cm521c-vpu
> + - cnm,cm521c-dual-vpu
What's the difference between this and one above?
> + - cnm,cm521e1-vpu
> + - cnm,cm537-vpu
> + reg:
> + maxItems: 1
> +
> + clocks:
> + minItems: 1
> + maxItems: 4
This has to be specific.
> +
> + clock-names:
> + minItems: 1
> + maxItems: 4
You need to list the names.
> +
> + interrupts:
> + maxItems: 1
> +
> + power-domains:
> + maxItems: 1
> +
> + resets:
> + maxItems: 1
> +
> + sram:
Missing vendor prefix.
> + $ref: /schemas/types.yaml#/definitions/phandle
> + description: phandle pointing to the SRAM device node
And what is it for? Why do you need SRAM?
> + maxItems: 1
Drop
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - clocks
> + - clock-names
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + vpu: video-codec@12345678 {
> + compatible = "cnm,cm521-vpu";
> + reg = <0x12345678 0x1000>;
> + interrupts = <42>;
> + clocks = <&clks 42>;
> + clock-names = "vcodec";
> + sram = <&sram>;
> + };
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-12-07 12:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20221207121350.66217-1-sebastian.fricke@collabora.com>
2022-12-07 12:13 ` [PATCH v11 5/6] dt-bindings: media: wave5: add yaml devicetree bindings Sebastian Fricke
2022-12-07 12:31 ` Krzysztof Kozlowski [this message]
2022-12-07 13:17 ` Krzysztof Kozlowski
2022-12-07 15:09 ` Sebastian Fricke
2022-12-07 15:27 ` Krzysztof Kozlowski
2022-12-12 11:32 ` Sebastian Fricke
2023-09-04 6:25 ` Sebastian Fricke
2023-09-04 7:53 ` Krzysztof Kozlowski
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=48d60bd0-4de1-4a5e-eca1-1f8a9303cce0@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=bob.beckett@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=kernel@collabora.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=nas.chung@chipsnmedia.com \
--cc=nicolas.dufresne@collabora.com \
--cc=robh+dt@kernel.org \
--cc=sebastian.fricke@collabora.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).