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

dt-bindings: media: qcom,sm8550-iris: Do not reference legacy venus properties

The Qualcomm SoC Iris video codec is an evolution of previous Venus and
it comes with its own Iris Linux drivers. These new drivers were
accepted under condition they actually improve state of afairs, instead
of duplicating old, legacy solutions.

Unfortunately binding still references common parts of Venus without
actual need and benefit. For example Iris does not use fake
"video-firmware" device node (fake because there is no actual device
underlying it and it was added only to work around some Linux issues
with IOMMU mappings).

Stop referencing venus-common schema in the new Qualcomm Iris bindings
and move all necessary properties, except unused "video-firmware" (no
driver usage, no DTS).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Vikash Garodia <quic_vgarodia@quicinc.com>
Reviewed-by: Bryan O'Donoghue <bod@kernel.org>
[bod: Changed title order to dt-bindings: media]
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mauro Carvalho Chehab
6d3926a2 49b5feb5

+12 -1
+12 -1
Documentation/devicetree/bindings/media/qcom,sm8550-iris.yaml
··· 27 27 - qcom,sm8550-iris 28 28 - qcom,sm8650-iris 29 29 30 + reg: 31 + maxItems: 1 32 + 30 33 power-domains: 31 34 maxItems: 4 32 35 ··· 48 45 - const: iface 49 46 - const: core 50 47 - const: vcodec0_core 48 + 49 + firmware-name: 50 + maxItems: 1 51 + 52 + interrupts: 53 + maxItems: 1 51 54 52 55 interconnects: 53 56 maxItems: 2 ··· 79 70 80 71 dma-coherent: true 81 72 73 + memory-region: 74 + maxItems: 1 75 + 82 76 operating-points-v2: true 83 77 84 78 opp-table: ··· 98 86 - dma-coherent 99 87 100 88 allOf: 101 - - $ref: qcom,venus-common.yaml# 102 89 - if: 103 90 properties: 104 91 compatible: