On 26/11/2024 07:07, Renjiang Han wrote:
On 11/25/2024 11:55 PM, Krzysztof Kozlowski wrote:You just repeated the same sentences. Address my comment instead - empty
On 25/11/2024 16:49, Renjiang Han (QUIC) wrote:OK, I got it. I'll update like this. If video-decoder and video-encoder are
Yes, that's my suggestion.Do you mean I should remove video-decoder and video-encoder from here?+ video-decoder:Both nodes are useless - no resources here, nothing to control.
+ type: object
+
+ additionalProperties: false
+
+ properties:
+ compatible:
+ const: venus-decoder
+
+ required:
+ - compatible
+
+ video-encoder:
+ type: object
Do not add nodes just to instantiate Linux drivers. Drop them.
If so, do I also need to remove these two nodes from the dtsi file and addYes
them in the qcs615-ride.dts file?Well, no, how would it pass dtbs_check?
Don't add nodes purely for Linux driver instantiation.
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.
device nodes should not be used just to instantiate Linux device drivers.
Best regards,
Krzysztof