Qualcomm QCM2290 Venus video encode and decode accelerators
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,qcm2290-venus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>"
The Venus AR50_LITE IP is a video encode and decode accelerator present on Qualcomm platforms.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,qcm2290-venus"
power-domains — not listed as required here #
Maximum number of items (maxItems): 3
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"venus"
Item 2
Exact value (
const):"vcodec0"
Item 3
Exact value (
const):"cx"
clocks — not listed as required here #
Maximum number of items (maxItems): 6
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"iface"
Item 3
Exact value (
const):"bus"
Item 4
Exact value (
const):"throttle"
Item 5
Exact value (
const):"vcodec0_core"
Item 6
Exact value (
const):"vcodec0_bus"
iommus — required here #
Maximum number of items (maxItems): 2
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"video-mem"
Item 2
Exact value (
const):"cpu-cfg"
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
Required in this object (required): "compatible", "power-domain-names", "iommus"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-qcm2290.h>
#include <dt-bindings/interconnect/qcom,qcm2290.h>
#include <dt-bindings/interconnect/qcom,rpm-icc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
venus: video-codec@5a00000 {
compatible = "qcom,qcm2290-venus";
reg = <0x5a00000 0xf0000>;
interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&gcc GCC_VENUS_GDSC>,
<&gcc GCC_VCODEC0_GDSC>,
<&rpmpd QCM2290_VDDCX>;
power-domain-names = "venus",
"vcodec0",
"cx";
operating-points-v2 = <&venus_opp_table>;
clocks = <&gcc GCC_VIDEO_VENUS_CTL_CLK>,
<&gcc GCC_VIDEO_AHB_CLK>,
<&gcc GCC_VENUS_CTL_AXI_CLK>,
<&gcc GCC_VIDEO_THROTTLE_CORE_CLK>,
<&gcc GCC_VIDEO_VCODEC0_SYS_CLK>,
<&gcc GCC_VCODEC0_AXI_CLK>;
clock-names = "core",
"iface",
"bus",
"throttle",
"vcodec0_core",
"vcodec0_bus";
memory-region = <&pil_video_mem>;
iommus = <&apps_smmu 0x860 0x0>,
<&apps_smmu 0x880 0x0>;
interconnects = <&mmnrt_virt MASTER_VIDEO_P0 RPM_ALWAYS_TAG
&bimc SLAVE_EBI1 RPM_ALWAYS_TAG>,
<&bimc MASTER_APPSS_PROC RPM_ACTIVE_TAG
&config_noc SLAVE_VENUS_CFG RPM_ACTIVE_TAG>;
interconnect-names = "video-mem",
"cpu-cfg";
venus_opp_table: opp-table {
compatible = "operating-points-v2";
opp-133333333 {
opp-hz = /bits/ 64 <133333333>;
required-opps = <&rpmpd_opp_low_svs>;
};
opp-240000000 {
opp-hz = /bits/ 64 <240000000>;
required-opps = <&rpmpd_opp_svs>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)