Skip to content

Commit 459997e

Browse files
0xB0Dhverkuil
authored andcommitted
media: dt-bindings: qcom-venus: Deprecate video-decoder and video-encoder where applicable
For the list of yaml files here the video-decoder and video-encoder nodes provide nothing more than configuration input for the driver. These entries do not in fact impart hardware specific data and should be deprecated. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
1 parent 354846c commit 459997e

File tree

5 files changed

+10
-50
lines changed

5 files changed

+10
-50
lines changed

Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ properties:
4545
required:
4646
- compatible
4747

48+
deprecated: true
4849
additionalProperties: false
4950

5051
video-encoder:
@@ -57,13 +58,12 @@ properties:
5758
required:
5859
- compatible
5960

61+
deprecated: true
6062
additionalProperties: false
6163

6264
required:
6365
- compatible
6466
- iommus
65-
- video-decoder
66-
- video-encoder
6767

6868
unevaluatedProperties: false
6969

@@ -83,12 +83,4 @@ examples:
8383
power-domains = <&gcc VENUS_GDSC>;
8484
iommus = <&apps_iommu 5>;
8585
memory-region = <&venus_mem>;
86-
87-
video-decoder {
88-
compatible = "venus-decoder";
89-
};
90-
91-
video-encoder {
92-
compatible = "venus-encoder";
93-
};
9486
};

Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ properties:
7070
required:
7171
- compatible
7272

73+
deprecated: true
7374
additionalProperties: false
7475

7576
video-encoder:
@@ -82,14 +83,13 @@ properties:
8283
required:
8384
- compatible
8485

86+
deprecated: true
8587
additionalProperties: false
8688

8789
required:
8890
- compatible
8991
- power-domain-names
9092
- iommus
91-
- video-decoder
92-
- video-encoder
9393

9494
unevaluatedProperties: false
9595

@@ -114,12 +114,4 @@ examples:
114114
"vcodec0_core", "vcodec0_bus";
115115
iommus = <&apps_smmu 0x0c00 0x60>;
116116
memory-region = <&venus_mem>;
117-
118-
video-decoder {
119-
compatible = "venus-decoder";
120-
};
121-
122-
video-encoder {
123-
compatible = "venus-encoder";
124-
};
125117
};

Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ properties:
6868
required:
6969
- compatible
7070

71+
deprecated: true
7172
additionalProperties: false
7273

7374
video-encoder:
@@ -80,14 +81,13 @@ properties:
8081
required:
8182
- compatible
8283

84+
deprecated: true
8385
additionalProperties: false
8486

8587
required:
8688
- compatible
8789
- power-domain-names
8890
- iommus
89-
- video-decoder
90-
- video-encoder
9191

9292
unevaluatedProperties: false
9393

@@ -125,14 +125,6 @@ examples:
125125
126126
memory-region = <&video_mem>;
127127
128-
video-decoder {
129-
compatible = "venus-decoder";
130-
};
131-
132-
video-encoder {
133-
compatible = "venus-encoder";
134-
};
135-
136128
video-firmware {
137129
iommus = <&apps_smmu 0x21a2 0x0>;
138130
};

Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ properties:
7070
required:
7171
- compatible
7272

73+
deprecated: true
7374
additionalProperties: false
7475

7576
video-core1:
@@ -82,14 +83,13 @@ properties:
8283
required:
8384
- compatible
8485

86+
deprecated: true
8587
additionalProperties: false
8688

8789
required:
8890
- compatible
8991
- power-domain-names
9092
- iommus
91-
- video-core0
92-
- video-core1
9393

9494
unevaluatedProperties: false
9595

@@ -119,12 +119,4 @@ examples:
119119
iommus = <&apps_smmu 0x10a0 0x8>,
120120
<&apps_smmu 0x10b0 0x0>;
121121
memory-region = <&venus_mem>;
122-
123-
video-core0 {
124-
compatible = "venus-decoder";
125-
};
126-
127-
video-core1 {
128-
compatible = "venus-encoder";
129-
};
130122
};

Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ properties:
7373
required:
7474
- compatible
7575

76+
deprecated: true
7677
additionalProperties: false
7778

7879
video-encoder:
@@ -85,6 +86,7 @@ properties:
8586
required:
8687
- compatible
8788

89+
deprecated: true
8890
additionalProperties: false
8991

9092
required:
@@ -95,8 +97,6 @@ required:
9597
- iommus
9698
- resets
9799
- reset-names
98-
- video-decoder
99-
- video-encoder
100100

101101
unevaluatedProperties: false
102102

@@ -132,12 +132,4 @@ examples:
132132
resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>,
133133
<&videocc VIDEO_CC_MVS0C_CLK_ARES>;
134134
reset-names = "bus", "core";
135-
136-
video-decoder {
137-
compatible = "venus-decoder";
138-
};
139-
140-
video-encoder {
141-
compatible = "venus-encoder";
142-
};
143135
};

0 commit comments

Comments
 (0)