From nobody Wed Dec 17 17:59:38 2025 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B36951B0433 for ; Mon, 30 Dec 2024 17:00:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735578051; cv=none; b=uMFVj7y8OddGTcInktDsC42yFqpxOPKt2fIAQN1HfCXdiT6mPj2rKCOAKB+dkXqEDB3vwZryaUY+1LbNq6xddbraRkJaXsV2SWrsQBwlOHeBFLOJZMDTL9L/oe7/BdWrFCo5lOmhJqVLb+pyv56cAua7fo8uQz4rd4inRMGuRV8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735578051; c=relaxed/simple; bh=lveT01XJFbPiCHFrg6nSo0zlm6T0yWAAHdtlgddNXio=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=njN1UotNJNw52mF9jhG1YSIZCBZUlpJrWJj0AAw42A4/XI3AHN4IdPhQR6Ptg1Qy216S1WIudUho9iFsmph6d97FpYMUL9qakVBxIW5vezd/u8O7AMEeqmAVTokqL8wEwGn5NPoKLPjdJNOTFVdAhM5WAnEOVHZA0OYnpvtCVGI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=W5AVc4rG; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="W5AVc4rG" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-3862d161947so4487093f8f.3 for ; Mon, 30 Dec 2024 09:00:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735578046; x=1736182846; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=t3dDvW0+Cz6kszp6aCIpBOpaxsGIqiTVCAZVfI6Gurs=; b=W5AVc4rG2MH4lbUskBbmtjaiyUOjnwZ8oEpA4A8X+of9iwLhLQ+ypGyjJ6pLD1m05E ObL+QIVrUcKtjEt3Jb4daGxcghJLBt69UgSLaf1km0EdZgazjs+//fkMlET4olH3l+gd GSGIPM2qsgYxtIq+X+ScsejvqFF0mnYwVwSfiB3LKo7h4tOo5Hw+5woWlkMTa5UyloCo R3vaGVff1adUK4UmtE2cIwW7pTacaxzGrO0LdK/AP50H28MfSBAEtEuLbLcjCwjNDG8Q gWzLX/aN4vvp/Z6sR9PT5j4UBMQNhED1DnEUkabm1ZVP+QHDtoDbOEaEuz4d7tX8Jz6Z cOlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735578046; x=1736182846; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t3dDvW0+Cz6kszp6aCIpBOpaxsGIqiTVCAZVfI6Gurs=; b=sXRBE9u8FQKDVjdYBvRrllVz9EKWBLzI1Ea4FlNA8D4QzwJ+g3xnDAh7f1ty5iVsuT 9N5QiSxdYUMxNYtiTKHUGgbEWrJzoOeJFkUQaereqClqfFhV+xly3wG/QsHtj3sAWHhT lRuHiKjSAxoxUgZYUGyNH/U8daMngP22AAg/7VWAYqTCgiRY3NbgaO7QSeRHJAqM470G 0qXQC2ONGyTAHfOBW7CmtfT0E/GB/RUmS04ur3/nykyOEPo5QJCrXXFk0fYloZL83wY/ bYCXwtz++mNcE01KXC4TV/Z2ihq9GQYjY5YHPNUcyM3qpagdM2V88z0RJ7Eng4U+HncG iZWg== X-Forwarded-Encrypted: i=1; AJvYcCWedov8d7NJBkSuBbCW2quxpb2AY9G3ZWX4rdA4CwNdzXXY7UjSk3+P19GQoWMZOEZxnDew10AX6dqIU7k=@vger.kernel.org X-Gm-Message-State: AOJu0YxTGKio79Haf9+0XBQC67VS2FnIZUvhGyZh2xRe/voWYB9RVgN9 h+EwRosTl+kMk7kMR8ydsHudAXX3ho0LBo7rx4AEqFtRRGzejMVlugy2tTJKE74= X-Gm-Gg: ASbGncs4vgmCMXwoOBxOHP/ybOlYz2LW4iyy5B7KUPbB1gKfBy+aQ4Giw1cc5OEBf9e K+lFVUyPdDLosr8Cd12CueqBFImyNtOQZtGsVUvBR5tojrchUPPhq59+5X8b25PvHVd6P3FrAig /Zl4qXt49oUXKL0X0bchTname0627FpXh7KwJpw63xelyzldXGJyte074NxSqclqhgOM0646ZLP /1tSwlIrBcKMxjM9ni0ZVATTZJP5n16+wFAO447pQiF5K7UEHA03aJl7N56a586GA== X-Google-Smtp-Source: AGHT+IFoQuecmMEqmlM8wzWMcChbvuztNzebTrloFvz2r4fCOv6EyW/iVu2r8l0AOzhM8x6DgdV2Tg== X-Received: by 2002:a05:6000:4913:b0:385:f1f2:13ee with SMTP id ffacd0b85a97d-38a223f71bamr30161080f8f.46.1735578046024; Mon, 30 Dec 2024 09:00:46 -0800 (PST) Received: from [127.0.0.1] ([176.61.106.227]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611fc161sm359757955e9.10.2024.12.30.09.00.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Dec 2024 09:00:44 -0800 (PST) From: Bryan O'Donoghue Date: Mon, 30 Dec 2024 17:00:35 +0000 Subject: [PATCH v6 3/3] media: dt-bindings: qcom-venus: Deprecate video-decoder and video-encoder where applicable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241230-media-staging-24-11-25-rb3-hw-compat-string-v6-3-a4d5070d3aaa@linaro.org> References: <20241230-media-staging-24-11-25-rb3-hw-compat-string-v6-0-a4d5070d3aaa@linaro.org> In-Reply-To: <20241230-media-staging-24-11-25-rb3-hw-compat-string-v6-0-a4d5070d3aaa@linaro.org> To: Stanimir Varbanov , Vikash Garodia , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: quic_renjiang@quicinc.com, quic_vnagar@quicinc.com, quic_dikshita@quicinc.com, konradybcio@kernel.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Stanimir Varbanov , Bryan O'Donoghue , Krzysztof Kozlowski X-Mailer: b4 0.15-dev-dedf8 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 Signed-off-by: Bryan O'Donoghue --- .../devicetree/bindings/media/qcom,msm8916-venus.yaml | 12 ++------= ---- .../devicetree/bindings/media/qcom,sc7180-venus.yaml | 12 ++------= ---- .../devicetree/bindings/media/qcom,sc7280-venus.yaml | 12 ++------= ---- .../devicetree/bindings/media/qcom,sdm845-venus-v2.yaml | 12 ++------= ---- .../devicetree/bindings/media/qcom,sm8250-venus.yaml | 12 ++------= ---- 5 files changed, 10 insertions(+), 50 deletions(-) diff --git a/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yam= l b/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml index 9410f13ca97c181973c62fe62d0399fc9e82f05d..da140c2e3d3f3c3e886496e3e23= 03eda1df99bb4 100644 --- a/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml @@ -45,6 +45,7 @@ properties: required: - compatible =20 + deprecated: true additionalProperties: false =20 video-encoder: @@ -57,13 +58,12 @@ properties: required: - compatible =20 + deprecated: true additionalProperties: false =20 required: - compatible - iommus - - video-decoder - - video-encoder =20 unevaluatedProperties: false =20 @@ -83,12 +83,4 @@ examples: power-domains =3D <&gcc VENUS_GDSC>; iommus =3D <&apps_iommu 5>; memory-region =3D <&venus_mem>; - - video-decoder { - compatible =3D "venus-decoder"; - }; - - video-encoder { - compatible =3D "venus-encoder"; - }; }; diff --git a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml= b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml index 5cec1d077cda77817f6d876109defcb0abbfeb2c..83c4a5d95f020437bd160d64568= 50bc84a2cf5ff 100644 --- a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml @@ -70,6 +70,7 @@ properties: required: - compatible =20 + deprecated: true additionalProperties: false =20 video-encoder: @@ -82,14 +83,13 @@ properties: required: - compatible =20 + deprecated: true additionalProperties: false =20 required: - compatible - power-domain-names - iommus - - video-decoder - - video-encoder =20 unevaluatedProperties: false =20 @@ -114,12 +114,4 @@ examples: "vcodec0_core", "vcodec0_bus"; iommus =3D <&apps_smmu 0x0c00 0x60>; memory-region =3D <&venus_mem>; - - video-decoder { - compatible =3D "venus-decoder"; - }; - - video-encoder { - compatible =3D "venus-encoder"; - }; }; diff --git a/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml= b/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml index 10c334e6b3dcf25967fa438f8e6e5035448af1b9..413c5b4ee6504ba1d5fe9f74d5b= e04ad8c90c318 100644 --- a/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml @@ -68,6 +68,7 @@ properties: required: - compatible =20 + deprecated: true additionalProperties: false =20 video-encoder: @@ -80,14 +81,13 @@ properties: required: - compatible =20 + deprecated: true additionalProperties: false =20 required: - compatible - power-domain-names - iommus - - video-decoder - - video-encoder =20 unevaluatedProperties: false =20 @@ -125,14 +125,6 @@ examples: =20 memory-region =3D <&video_mem>; =20 - video-decoder { - compatible =3D "venus-decoder"; - }; - - video-encoder { - compatible =3D "venus-encoder"; - }; - video-firmware { iommus =3D <&apps_smmu 0x21a2 0x0>; }; diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.y= aml b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml index 6228fd2b324631f3138e128c918266da58f6b544..c839cb1ebc0999e10b865f4bb43= ea76ffa2bf46d 100644 --- a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml @@ -70,6 +70,7 @@ properties: required: - compatible =20 + deprecated: true additionalProperties: false =20 video-core1: @@ -82,14 +83,13 @@ properties: required: - compatible =20 + deprecated: true additionalProperties: false =20 required: - compatible - power-domain-names - iommus - - video-core0 - - video-core1 =20 unevaluatedProperties: false =20 @@ -119,12 +119,4 @@ examples: iommus =3D <&apps_smmu 0x10a0 0x8>, <&apps_smmu 0x10b0 0x0>; memory-region =3D <&venus_mem>; - - video-core0 { - compatible =3D "venus-decoder"; - }; - - video-core1 { - compatible =3D "venus-encoder"; - }; }; diff --git a/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml= b/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml index f66033ae8b590e7b6f1e344c368994744411aca2..da54493220c9dc90e7d9f5fcfce= 7590acb241c85 100644 --- a/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml +++ b/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml @@ -73,6 +73,7 @@ properties: required: - compatible =20 + deprecated: true additionalProperties: false =20 video-encoder: @@ -85,6 +86,7 @@ properties: required: - compatible =20 + deprecated: true additionalProperties: false =20 required: @@ -95,8 +97,6 @@ required: - iommus - resets - reset-names - - video-decoder - - video-encoder =20 unevaluatedProperties: false =20 @@ -132,12 +132,4 @@ examples: resets =3D <&gcc GCC_VIDEO_AXI0_CLK_ARES>, <&videocc VIDEO_CC_MVS0C_CLK_ARES>; reset-names =3D "bus", "core"; - - video-decoder { - compatible =3D "venus-decoder"; - }; - - video-encoder { - compatible =3D "venus-encoder"; - }; }; --=20 2.47.1