[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a9c40b7d-d70d-48fb-b4a0-deb773969936@linaro.org>
Date: Thu, 28 Aug 2025 16:24:39 +0200
From: Bryan O'Donoghue <bryan.odonoghue@...aro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
Vikash Garodia <quic_vgarodia@...cinc.com>,
Dikshita Agarwal <quic_dikshita@...cinc.com>,
Abhinav Kumar <abhinav.kumar@...ux.dev>,
Mauro Carvalho Chehab <mchehab@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, linux-arm-msm@...r.kernel.org,
linux-media@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: dt-bindings: qcom,sm8550-iris: Do not reference
legacy venus properties
On 23/08/2025 17:53, Krzysztof Kozlowski wrote:
> 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@...aro.org>
> ---
> .../devicetree/bindings/media/qcom,sm8550-iris.yaml | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/media/qcom,sm8550-iris.yaml b/Documentation/devicetree/bindings/media/qcom,sm8550-iris.yaml
> index c79bf2101812..320227f437a1 100644
> --- a/Documentation/devicetree/bindings/media/qcom,sm8550-iris.yaml
> +++ b/Documentation/devicetree/bindings/media/qcom,sm8550-iris.yaml
> @@ -26,6 +26,9 @@ properties:
> - qcom,sm8550-iris
> - qcom,sm8650-iris
>
> + reg:
> + maxItems: 1
> +
> power-domains:
> maxItems: 4
>
> @@ -45,6 +48,12 @@ properties:
> - const: core
> - const: vcodec0_core
>
> + firmware-name:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> interconnects:
> maxItems: 2
>
> @@ -69,6 +78,9 @@ properties:
>
> dma-coherent: true
>
> + memory-region:
> + maxItems: 1
> +
> operating-points-v2: true
>
> opp-table:
> @@ -85,7 +97,6 @@ required:
> - dma-coherent
>
> allOf:
> - - $ref: qcom,venus-common.yaml#
> - if:
> properties:
> compatible:
Reviewed-by: Bryan O'Donoghue <bod@...nel.org>
Powered by blists - more mailing lists