From: "Renjiang Han (QUIC)" <quic_renjiang@quicinc.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>,
"Vikash Garodia (QUIC)" <quic_vgarodia@quicinc.com>,
"bryan.odonoghue@linaro.org" <bryan.odonoghue@linaro.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
"Rob Herring" <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
"linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH v3 1/4] dt-bindings: qcom,qcs615-venus: add support for video hardware
Date: Mon, 25 Nov 2024 15:49:31 +0000 [thread overview]
Message-ID: <18cc654b4377463e8783de0b4659a27d@quicinc.com> (raw)
In-Reply-To: <jovwobfcbc344eqrcgxeaxlz2mzgolxqaldvxzmvp5p3rxj3se@fudhzbx5hf2e>
On Mon 11/25/2024 3:50 PM, Krzysztof Kozlowski wrote:
> On Mon, Nov 25, 2024 at 11:04:49AM +0530, Renjiang Han wrote:
> > Add support for Qualcomm video acceleration hardware used for video
> > stream decoding and encoding on QCOM QCS615.
> >
> > Signed-off-by: Renjiang Han <quic_renjiang@quicinc.com> >
> > ---
> > .../bindings/media/qcom,qcs615-venus.yaml | 182 +++++++++++++++++++++
> > 1 file changed, 182 insertions(+)
> >
> > diff --git
> > a/Documentation/devicetree/bindings/media/qcom,qcs615-venus.yaml
> > b/Documentation/devicetree/bindings/media/qcom,qcs615-venus.yaml
> Dependency for this patch must be mentioned here.
> Amount of dependencies make it unmergeable and untesteable.
> I suggest decoupling dependencies by removing clock constants.
Thanks for your comment, I will try to remove the clock constants
and use clock id instead.
> > new file mode 100644
> > index
> > 0000000000000000000000000000000000000000..7a3a01ff06d8b62bc2424a0a2485
> > 7c86c6865f89
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/media/qcom,qcs615-venus.yaml
> > @@ -0,0 +1,182 @@
> > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/media/qcom,qcs615-venus.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Qualcomm QCS615 Venus video encode and decode accelerators
> > +
> > +maintainers:
> > + - Stanimir Varbanov <stanimir.k.varbanov@gmail.com> >
> > + - Vikash Garodia <quic_vgarodia@quicinc.com> >
> > +
> > +description:
> > + The Venus IP is a video encode and decode accelerator present
> > + on Qualcomm platforms
> > +
> > +allOf:
> > + - $ref: qcom,venus-common.yaml#
> > +
> > +properties:
> > + compatible:
> > + const: qcom,qcs615-venus
> > +
> > + power-domains:
> > + minItems: 2
> > + maxItems: 3
> > +
> > + power-domain-names:
> > + minItems: 2
> > + items:
> > + - const: venus
> > + - const: vcodec0
> > + - const: cx
> > +
> > + clocks:
> > + maxItems: 5
> > +
> > + clock-names:
> > + items:
> > + - const: core
> > + - const: iface
> > + - const: bus
> > + - const: vcodec0_core
> > + - const: vcodec0_bus
> > +
> > + iommus:
> > + maxItems: 1
> > +
> > + memory-region:
> > + maxItems: 1
> > +
> > + interconnects:
> > + maxItems: 2
> > +
> > + interconnect-names:
> > + items:
> > + - const: video-mem
> > + - const: cpu-cfg
> > +
> > + operating-points-v2: true
> > +
> > + opp-table:
> > + type: object
> > +
> > + video-decoder:
> > + type: object
> > +
> > + additionalProperties: false
> > +
> > + properties:
> > + compatible:
> > + const: venus-decoder
> > +
> > + required:
> > + - compatible
> > +
> > + video-encoder:
> > + type: object
> Both nodes are useless - no resources here, nothing to control.
> Do not add nodes just to instantiate Linux drivers. Drop them.
Do you mean I should remove video-decoder and video-encoder from here?
If so, do I also need to remove these two nodes from the dtsi file and add
them in the qcs615-ride.dts file?
> Best regards,
> Krzysztof
next prev parent reply other threads:[~2024-11-25 15:49 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-25 5:34 [PATCH v3 0/4] media: venus: enable venus on qcs615 Renjiang Han
2024-11-25 5:34 ` [PATCH v3 1/4] dt-bindings: qcom,qcs615-venus: add support for video hardware Renjiang Han
2024-11-25 6:37 ` Rob Herring (Arm)
2024-11-25 8:06 ` Renjiang Han (QUIC)
2024-11-25 8:16 ` Krzysztof Kozlowski
2024-11-25 7:50 ` Krzysztof Kozlowski
2024-11-25 15:49 ` Renjiang Han (QUIC) [this message]
2024-11-25 15:55 ` Krzysztof Kozlowski
2024-11-26 6:07 ` Renjiang Han
2024-11-26 6:42 ` Krzysztof Kozlowski
2024-11-26 9:39 ` Renjiang Han
2024-11-26 9:42 ` Krzysztof Kozlowski
2024-11-25 16:12 ` Dmitry Baryshkov
2024-11-26 8:57 ` Renjiang Han
2024-11-26 9:34 ` Krzysztof Kozlowski
2024-11-26 9:58 ` Renjiang Han
2024-11-26 10:07 ` Krzysztof Kozlowski
2024-11-26 12:00 ` Dmitry Baryshkov
2024-11-27 8:09 ` Vikash Garodia
2024-11-25 5:34 ` [PATCH v3 2/4] media: venus: core: add qcs615 platform data Renjiang Han
2024-11-25 8:44 ` Renjiang Han (QUIC)
2024-11-25 8:56 ` Krzysztof Kozlowski
2024-11-25 9:06 ` Renjiang Han (QUIC)
2024-11-25 13:35 ` Dmitry Baryshkov
2024-11-25 15:34 ` Renjiang Han (QUIC)
2024-11-25 16:20 ` Dmitry Baryshkov
2024-11-26 7:40 ` Renjiang Han
2024-11-26 12:03 ` Dmitry Baryshkov
2024-11-27 8:07 ` Vikash Garodia
2024-11-25 5:34 ` [PATCH v3 3/4] arm64: dts: qcom: add venus node for the qcs615 Renjiang Han
2024-11-25 8:50 ` Renjiang Han (QUIC)
2024-11-30 22:00 ` Bryan O'Donoghue
2024-11-30 13:34 ` Konrad Dybcio
2024-11-25 5:34 ` [PATCH v3 4/4] arm64: dts: qcom: qcs615-ride: enable venus node Renjiang Han
2024-11-25 8:53 ` Renjiang Han (QUIC)
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=18cc654b4377463e8783de0b4659a27d@quicinc.com \
--to=quic_renjiang@quicinc.com \
--cc=andersson@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=quic_vgarodia@quicinc.com \
--cc=robh@kernel.org \
--cc=stanimir.k.varbanov@gmail.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