From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4BD9D28684; Fri, 6 Dec 2024 10:03:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733479407; cv=none; b=TVOEwblqB/cCgoQFNNvMsS13yutxjeRH51CDmoeVFTloqX07NXL14y2SD6GdYIRLAl/FfUD9EpBwVUOJYNyYMHYIFgVJAQloDllX1YORhHF9Lm0EttdqG0ln67pKleIk/eIMJx8FTyZVJzFxwC2Av2QI+dF19Kni0vKZwtBrd7I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733479407; c=relaxed/simple; bh=NuKXcBvVrsigPdVTcyeGYfowk1rbjZM9c9NH3bBlkYQ=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=mWp/uXjY+G74S3oS7LhTKBeSuR08iWyW9lG3Syqtd1ybCeM1jIF1NixDbbNmlaR8MXb2mJRYrvlkuVzZH0VEmUJe1E5OGURO/fwp9wipenj7kyif4IIJRyQNNfWL3zKpx3ArFwLeIIANcRmm1FJWPxagDG4xKrQa6h6iVhqQOVU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=Yzh+rj2B; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Yzh+rj2B" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4B67lkIA005269; Fri, 6 Dec 2024 10:03:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= s5CCRsYoQnK8cuXtQOsZAQ0Rud5UbE35efXt8t0o+I4=; b=Yzh+rj2BlTda5r9H y2tbfd67DP4Sf1KYaK8pFYQgChzzu0HNZFk3HJUF6G2FeXUHiQQmje2br/5lGK04 fjonj29C9qTy5A1ht6VtZ/jqDxhP2o1eFBmzpEf4IlYsLWqtkaDy3hKe3K82NZl3 odPmM1EucaSxJ2kESkVMGrphm4N8dCLR5xbqJj9SzxMoi0yRx0pZcYmJV+MYPHaj foiUeKvOZyZZ7PTSNUZW5DE7/SwaTO7cuGbaw8l3kBsMfVPA/KGF4aK1SWfODzci 5TF/3+Ozk3NxVTUj8PtQYujmnfg626bRdRshv+UgpWtDyGLAKL1avzMryz0eTpIM KiO+aA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43bbqm36d1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Dec 2024 10:03:21 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4B6A3KUj008343 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Dec 2024 10:03:20 GMT Received: from [10.204.101.50] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Fri, 6 Dec 2024 02:03:15 -0800 Message-ID: Date: Fri, 6 Dec 2024 15:33:12 +0530 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v4 3/3] media: dt-bindings: qcom-venus: Deprecate video-decoder and video-encoder where applicable Content-Language: en-US To: Bryan O'Donoghue , Stanimir Varbanov , Vikash Garodia , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , , , , Krzysztof Kozlowski References: <20241128-media-staging-24-11-25-rb3-hw-compat-string-v4-0-fd062b399374@linaro.org> <20241128-media-staging-24-11-25-rb3-hw-compat-string-v4-3-fd062b399374@linaro.org> From: Dikshita Agarwal In-Reply-To: <20241128-media-staging-24-11-25-rb3-hw-compat-string-v4-3-fd062b399374@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: SeOtIOieL2fz3aNzlgT0pXh1A1-t01pM X-Proofpoint-ORIG-GUID: SeOtIOieL2fz3aNzlgT0pXh1A1-t01pM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 lowpriorityscore=0 mlxlogscore=999 spamscore=0 adultscore=0 suspectscore=0 malwarescore=0 mlxscore=0 impostorscore=0 bulkscore=0 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412060072 On 11/28/2024 9:51 PM, Bryan O'Donoghue wrote: > 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(-) > A general query, this change is not done for 8996-venus, sdm660-venus and sdm845-venus, was that intentional? may be because these are not active SOCs in upstream? Thanks, Dikshita > diff --git a/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml b/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml > index 9410f13ca97c181973c62fe62d0399fc9e82f05d..da140c2e3d3f3c3e886496e3e2303eda1df99bb4 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 > > + deprecated: true > additionalProperties: false > > video-encoder: > @@ -57,13 +58,12 @@ properties: > required: > - compatible > > + deprecated: true > additionalProperties: false > > required: > - compatible > - iommus > - - video-decoder > - - video-encoder > > unevaluatedProperties: false > > @@ -83,12 +83,4 @@ examples: > power-domains = <&gcc VENUS_GDSC>; > iommus = <&apps_iommu 5>; > memory-region = <&venus_mem>; > - > - video-decoder { > - compatible = "venus-decoder"; > - }; > - > - video-encoder { > - compatible = "venus-encoder"; > - }; > }; > diff --git a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml > index 5cec1d077cda77817f6d876109defcb0abbfeb2c..83c4a5d95f020437bd160d6456850bc84a2cf5ff 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 > > + deprecated: true > additionalProperties: false > > video-encoder: > @@ -82,14 +83,13 @@ properties: > required: > - compatible > > + deprecated: true > additionalProperties: false > > required: > - compatible > - power-domain-names > - iommus > - - video-decoder > - - video-encoder > > unevaluatedProperties: false > > @@ -114,12 +114,4 @@ examples: > "vcodec0_core", "vcodec0_bus"; > iommus = <&apps_smmu 0x0c00 0x60>; > memory-region = <&venus_mem>; > - > - video-decoder { > - compatible = "venus-decoder"; > - }; > - > - video-encoder { > - compatible = "venus-encoder"; > - }; > }; > diff --git a/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml > index 10c334e6b3dcf25967fa438f8e6e5035448af1b9..413c5b4ee6504ba1d5fe9f74d5be04ad8c90c318 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 > > + deprecated: true > additionalProperties: false > > video-encoder: > @@ -80,14 +81,13 @@ properties: > required: > - compatible > > + deprecated: true > additionalProperties: false > > required: > - compatible > - power-domain-names > - iommus > - - video-decoder > - - video-encoder > > unevaluatedProperties: false > > @@ -125,14 +125,6 @@ examples: > > memory-region = <&video_mem>; > > - video-decoder { > - compatible = "venus-decoder"; > - }; > - > - video-encoder { > - compatible = "venus-encoder"; > - }; > - > video-firmware { > iommus = <&apps_smmu 0x21a2 0x0>; > }; > diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml > index 6228fd2b324631f3138e128c918266da58f6b544..c839cb1ebc0999e10b865f4bb43ea76ffa2bf46d 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 > > + deprecated: true > additionalProperties: false > > video-core1: > @@ -82,14 +83,13 @@ properties: > required: > - compatible > > + deprecated: true > additionalProperties: false > > required: > - compatible > - power-domain-names > - iommus > - - video-core0 > - - video-core1 > > unevaluatedProperties: false > > @@ -119,12 +119,4 @@ examples: > iommus = <&apps_smmu 0x10a0 0x8>, > <&apps_smmu 0x10b0 0x0>; > memory-region = <&venus_mem>; > - > - video-core0 { > - compatible = "venus-decoder"; > - }; > - > - video-core1 { > - compatible = "venus-encoder"; > - }; > }; > diff --git a/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sm8250-venus.yaml > index f66033ae8b590e7b6f1e344c368994744411aca2..da54493220c9dc90e7d9f5fcfce7590acb241c85 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 > > + deprecated: true > additionalProperties: false > > video-encoder: > @@ -85,6 +86,7 @@ properties: > required: > - compatible > > + deprecated: true > additionalProperties: false > > required: > @@ -95,8 +97,6 @@ required: > - iommus > - resets > - reset-names > - - video-decoder > - - video-encoder > > unevaluatedProperties: false > > @@ -132,12 +132,4 @@ examples: > resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>, > <&videocc VIDEO_CC_MVS0C_CLK_ARES>; > reset-names = "bus", "core"; > - > - video-decoder { > - compatible = "venus-decoder"; > - }; > - > - video-encoder { > - compatible = "venus-encoder"; > - }; > }; >