From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Brandon Brnich <b-brnich@ti.com>,
Nas Chung <nas.chung@chipsnmedia.com>,
Jackson Lee <jackson.lee@chipsnmedia.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, Nishanth Menon <nm@ti.com>,
Vignesh Raghavendra <vigneshr@ti.com>
Cc: Darren Etheridge <detheridge@ti.com>
Subject: Re: [PATCH v2] dt-bindings: media: Add sram-size Property for Wave5
Date: Fri, 2 Feb 2024 11:47:34 +0100 [thread overview]
Message-ID: <1209b7cf-5be2-4107-aa6b-d67a32ea3737@linaro.org> (raw)
In-Reply-To: <20240201184238.2542695-1-b-brnich@ti.com>
On 01/02/2024 19:42, Brandon Brnich wrote:
> Wave521c has capability to use SRAM carveout to store reference data with
> purpose of reducing memory bandwidth. To properly use this pool, the driver
> expects to have an sram and sram-size node. Without sram-size node, driver
> will default value to zero, making sram node irrelevant.
I am sorry, but what driver expects should not be rationale for new
property. This justification suggests clearly it is not a property for DT.
>
> Signed-off-by: Brandon Brnich <b-brnich@ti.com>
> ---
This is v2, so where is the changelog?
> Documentation/devicetree/bindings/media/cnm,wave521c.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/media/cnm,wave521c.yaml b/Documentation/devicetree/bindings/media/cnm,wave521c.yaml
> index 6a11c1d11fb5..ea5469eb38f9 100644
> --- a/Documentation/devicetree/bindings/media/cnm,wave521c.yaml
> +++ b/Documentation/devicetree/bindings/media/cnm,wave521c.yaml
> @@ -43,6 +43,12 @@ properties:
> storing it on DMA memory. It is mainly used for the purpose of reducing
> bandwidth.
>
> + sram-size:
Does not look like standard property. You would need vendor prefix or is
it documented anywhere already?
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + SRAM size reserved for VPU operations. If not specified, size will default
> + to zero.
Lack of sram property means 0, doesn't it?
> +
> required:
> - compatible
> - reg
> @@ -58,4 +64,5 @@ examples:
> clocks = <&clks 42>;
> interrupts = <42>;
> sram = <&sram>;
> + sram-size = <0x1234>;
Was this patch tested? Since nothing changed from v1, I assume it also
fails.
> };
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-02-02 10:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-01 18:42 Brandon Brnich
2024-02-02 10:47 ` Krzysztof Kozlowski [this message]
2024-02-02 12:52 ` Nishanth Menon
2024-02-02 13:56 ` Krzysztof Kozlowski
2024-02-02 15:58 ` Nishanth Menon
2024-02-02 16:08 ` Krzysztof Kozlowski
2024-02-05 14:12 ` Nishanth Menon
2024-02-05 18:51 ` Andrew Davis
2024-02-05 19:20 ` Brandon Brnich
2024-02-08 6:22 ` Devarsh Thakkar
2024-02-09 17:42 ` Nicolas Dufresne
2024-02-12 10:57 ` Devarsh Thakkar
2024-02-09 17:33 ` Nicolas Dufresne
2024-02-09 17:22 ` Nicolas Dufresne
2024-02-02 21:06 ` Rob Herring
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=1209b7cf-5be2-4107-aa6b-d67a32ea3737@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=b-brnich@ti.com \
--cc=conor+dt@kernel.org \
--cc=detheridge@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=jackson.lee@chipsnmedia.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=nas.chung@chipsnmedia.com \
--cc=nm@ti.com \
--cc=robh+dt@kernel.org \
--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®