Skip to content

Commit 313d109

Browse files
author
André Apitzsch
committed
arm64: dts: qcom: msm8939: Add venus node
Add DT entries for the msm8939 venus encoder/decoder. Signed-off-by: André Apitzsch <git@apitzsch.eu>
1 parent 7099a74 commit 313d109

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

arch/arm64/boot/dts/qcom/msm8939.dtsi

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,6 +1516,34 @@
15161516
};
15171517
};
15181518

1519+
venus: video-codec@1d00000 {
1520+
compatible = "qcom,msm8939-venus";
1521+
reg = <0x01d00000 0xff000>;
1522+
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
1523+
clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>,
1524+
<&gcc GCC_VENUS0_AHB_CLK>,
1525+
<&gcc GCC_VENUS0_AXI_CLK>;
1526+
clock-names = "core", "iface", "bus";
1527+
power-domains = <&gcc VENUS_GDSC>;
1528+
iommus = <&apps_iommu 5>;
1529+
memory-region = <&venus_mem>;
1530+
status = "disabled";
1531+
1532+
video-decoder {
1533+
compatible = "venus-decoder";
1534+
clocks = <&gcc GCC_VENUS0_CORE0_VCODEC0_CLK>;
1535+
clock-names = "core";
1536+
power-domains = <&gcc VENUS_CORE0_GDSC>;
1537+
};
1538+
1539+
video-encoder {
1540+
compatible = "venus-encoder";
1541+
clocks = <&gcc GCC_VENUS0_CORE1_VCODEC0_CLK>;
1542+
clock-names = "core";
1543+
power-domains = <&gcc VENUS_CORE1_GDSC>;
1544+
};
1545+
};
1546+
15191547
apps_iommu: iommu@1ef0000 {
15201548
compatible = "qcom,msm8916-iommu", "qcom,msm-iommu-v1";
15211549
reg = <0x01ef0000 0x3000>;

0 commit comments

Comments
 (0)