Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bryan O'Donoghue and committed by
Hans Verkuil
459997e8 354846c3

+10 -50
+2 -10
Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml
··· 45 45 required: 46 46 - compatible 47 47 48 + deprecated: true 48 49 additionalProperties: false 49 50 50 51 video-encoder: ··· 58 57 required: 59 58 - compatible 60 59 60 + deprecated: true 61 61 additionalProperties: false 62 62 63 63 required: 64 64 - compatible 65 65 - iommus 66 - - video-decoder 67 - - video-encoder 68 66 69 67 unevaluatedProperties: false 70 68 ··· 83 83 power-domains = <&gcc VENUS_GDSC>; 84 84 iommus = <&apps_iommu 5>; 85 85 memory-region = <&venus_mem>; 86 - 87 - video-decoder { 88 - compatible = "venus-decoder"; 89 - }; 90 - 91 - video-encoder { 92 - compatible = "venus-encoder"; 93 - }; 94 86 };
+2 -10
Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
··· 70 70 required: 71 71 - compatible 72 72 73 + deprecated: true 73 74 additionalProperties: false 74 75 75 76 video-encoder: ··· 83 82 required: 84 83 - compatible 85 84 85 + deprecated: true 86 86 additionalProperties: false 87 87 88 88 required: 89 89 - compatible 90 90 - power-domain-names 91 91 - iommus 92 - - video-decoder 93 - - video-encoder 94 92 95 93 unevaluatedProperties: false 96 94 ··· 114 114 "vcodec0_core", "vcodec0_bus"; 115 115 iommus = <&apps_smmu 0x0c00 0x60>; 116 116 memory-region = <&venus_mem>; 117 - 118 - video-decoder { 119 - compatible = "venus-decoder"; 120 - }; 121 - 122 - video-encoder { 123 - compatible = "venus-encoder"; 124 - }; 125 117 };
+2 -10
Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml
··· 68 68 required: 69 69 - compatible 70 70 71 + deprecated: true 71 72 additionalProperties: false 72 73 73 74 video-encoder: ··· 81 80 required: 82 81 - compatible 83 82 83 + deprecated: true 84 84 additionalProperties: false 85 85 86 86 required: 87 87 - compatible 88 88 - power-domain-names 89 89 - iommus 90 - - video-decoder 91 - - video-encoder 92 90 93 91 unevaluatedProperties: false 94 92 ··· 124 124 <&apps_smmu 0x2184 0x20>; 125 125 126 126 memory-region = <&video_mem>; 127 - 128 - video-decoder { 129 - compatible = "venus-decoder"; 130 - }; 131 - 132 - video-encoder { 133 - compatible = "venus-encoder"; 134 - }; 135 127 136 128 video-firmware { 137 129 iommus = <&apps_smmu 0x21a2 0x0>;
+2 -10
Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
··· 70 70 required: 71 71 - compatible 72 72 73 + deprecated: true 73 74 additionalProperties: false 74 75 75 76 video-core1: ··· 83 82 required: 84 83 - compatible 85 84 85 + deprecated: true 86 86 additionalProperties: false 87 87 88 88 required: 89 89 - compatible 90 90 - power-domain-names 91 91 - iommus 92 - - video-core0 93 - - video-core1 94 92 95 93 unevaluatedProperties: false 96 94 ··· 119 119 iommus = <&apps_smmu 0x10a0 0x8>, 120 120 <&apps_smmu 0x10b0 0x0>; 121 121 memory-region = <&venus_mem>; 122 - 123 - video-core0 { 124 - compatible = "venus-decoder"; 125 - }; 126 - 127 - video-core1 { 128 - compatible = "venus-encoder"; 129 - }; 130 122 };
+2 -10
Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml
··· 73 73 required: 74 74 - compatible 75 75 76 + deprecated: true 76 77 additionalProperties: false 77 78 78 79 video-encoder: ··· 86 85 required: 87 86 - compatible 88 87 88 + deprecated: true 89 89 additionalProperties: false 90 90 91 91 required: ··· 97 95 - iommus 98 96 - resets 99 97 - reset-names 100 - - video-decoder 101 - - video-encoder 102 98 103 99 unevaluatedProperties: false 104 100 ··· 132 132 resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>, 133 133 <&videocc VIDEO_CC_MVS0C_CLK_ARES>; 134 134 reset-names = "bus", "core"; 135 - 136 - video-decoder { 137 - compatible = "venus-decoder"; 138 - }; 139 - 140 - video-encoder { 141 - compatible = "venus-encoder"; 142 - }; 143 135 };