[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8c60696c-df14-4300-8a92-59eb134a96d2@quicinc.com>
Date: Tue, 26 Nov 2024 14:07:10 +0800
From: Renjiang Han <quic_renjiang@...cinc.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
CC: Stanimir Varbanov <stanimir.k.varbanov@...il.com>,
"Vikash Garodia (QUIC)"
<quic_vgarodia@...cinc.com>,
"bryan.odonoghue@...aro.org"
<bryan.odonoghue@...aro.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
"Rob Herring" <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
"Conor Dooley" <conor+dt@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
"Konrad Dybcio" <konradybcio@...nel.org>,
"linux-media@...r.kernel.org"
<linux-media@...r.kernel.org>,
"linux-arm-msm@...r.kernel.org"
<linux-arm-msm@...r.kernel.org>,
"devicetree@...r.kernel.org"
<devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>,
<quic_qiweil@...cinc.com>
Subject: Re: [PATCH v3 1/4] dt-bindings: qcom,qcs615-venus: add support for
video hardware
On 11/25/2024 11:55 PM, Krzysztof Kozlowski wrote:
> On 25/11/2024 16:49, Renjiang Han (QUIC) wrote:
>>>> + 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?
> Yes, that's my suggestion.
>
>> If so, do I also need to remove these two nodes from the dtsi file and add
> Yes
>
>> them in the qcs615-ride.dts file?
> Well, no, how would it pass dtbs_check?
>
> Don't add nodes purely for Linux driver instantiation.
OK, I got it. I'll update like this. If video-decoder and video-encoder are
removed from dtsi file and not added to qcs615-ride.dts file, then the
video decoder and encoder functions will not be available on the qcs615
platform. So I think these two nodes should be added to the
qcs615-ride.dts file to ensure that the qcs615 platform can enable the
video decoder and encoder functions.
> Best regards,
> Krzysztof
--
Best Regards,
Renjiang
Powered by blists - more mailing lists