Re: [PATCH 1/3] dt-bindings: vdec: Add binding document of Amlogic decoder accelerator

From: Zhentao Guo

Date: Tue Oct 28 2025 - 08:23:52 EST



在 2025/10/28 19:33, Krzysztof Kozlowski 写道:
[ EXTERNAL EMAIL ]

On 28/10/2025 12:14, Zhentao Guo wrote:
+properties:
+ compatible:
+ const: amlogic,s4-vcodec-dec
+
+ reg:
+ maxItems: 2
+
+ reg-names:
+ items:
+ - const: dosbus
+ - const: dmcbus
Is "bus" really name of this in datasheet?
No, it is not from the datasheet, in fact it was inherited from the
older SOCs. Do you have any suggestions about this?
dos, dmc
Got it, thanks!

+
+ interrupts:
+ maxItems: 3
+
+ interrupt-names:
+ items:
+ - const: mailbox_0
+ - const: mailbox_1
+ - const: mailbox_2
Useless names, so just drop interrupt-names property.
Yes, we don't need the interrupt names. I'll drop them.
+
+ clocks:
+ maxItems: 3
+
+ clock-names:
+ items:
+ - const: vdec
+ - const: clk_vdec_mux
+ - const: clk_hevcf_mux
+
+ power-domains:
+ maxItems: 2
+
+ power-domain-names:
+ items:
+ - const: pwrc-vdec
Drop pwrc

+ - const: pwrc-hevc
Drop pwrc
Ok, I'll drop the two pwrc(s) above.
Missing iommus. I really doubt hardware works without IOMMU.
IOMMU is not supported by Amlogic SOCs, the decoder hardware needs to
use contiguous memory.
I assume you speak about hardware, not drivers, so it is fine.
Yes, I mean the IOMMU hardware above.

Best regards,
Krzysztof

Thank you

Zhentao