From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BFE553B6366; Wed, 6 May 2026 07:33:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778052821; cv=none; b=cDiGwZvu5ms/l/GR6d/GwZSkMXinwrlz/Y1zBANvn+TVya39UTM2IOkRfZXd3Yvyh2pYWRUVl56pa1aoBtThvk5BBuzxhigzYNTZNm6lNvx7sSR/+2csBob7N3ocso+09vYaVpivN54GQ6QdhJC5ld2XI4UoC2sPVem0RrYE84A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778052821; c=relaxed/simple; bh=F2Y0rkFfu8WpYJn2WFscZsjiOa2h76q/1wFRyrGfSi8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pB8w63Sh9CnIWhzWu5jvOHof2iq0R4FMKAJlg/R/YS8bHITBc+yOU3G0DROldstK9Agcao7GVjHAjRBDNmrpPkAYwJzsvmawM89EMN1xnXXM9g9/Q3A78+Wrkm9YuEbGrYZUK1MEIykSFp5Wyregy8l6OjnPbUcEDQBIHBResMI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HCGrX+GH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HCGrX+GH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D310CC2BCB8; Wed, 6 May 2026 07:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778052821; bh=F2Y0rkFfu8WpYJn2WFscZsjiOa2h76q/1wFRyrGfSi8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HCGrX+GHCUYy+ayJnjE8RaOFP8GmHrTBXZ5dOScZTUNJK3S5URWnzKRucVzda7Ai+ YmeFXEXyLK8f6jabvhnXTpckMgSHiZJVj+rwhgnR1ag6s0Tjzkl0koSGg9qSiAYWJ/ 3M6MLiBK0bO9z+xL09iF3XYSHE+3ZaU46vxo0ys6agLBjN+2TZgVqo2pUr4CcG0vjJ +QhJ0cR3F6cC9LHjVLhoCsAEL4tkuKSixFw6ZaiHmjeL83+KcnyAFxB0iOcA71E6J3 Jye9koB3/Jd3IKeWPXiLP5YrjqzU6u18/GR0c7Ahw3bmPiAxGh3LOrNxinJANfIOL2 pYJlJFsZPXmgg== Date: Wed, 6 May 2026 09:33:38 +0200 From: Krzysztof Kozlowski To: Erikas Bitovtas Cc: Bryan O'Donoghue , Vikash Garodia , Dikshita Agarwal , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , =?utf-8?B?QW5kcsOp?= Apitzsch , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Brian Masney , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org Subject: Re: [PATCH v4 1/9] media: dt-bindings: venus: Add qcom,msm8939 schema Message-ID: <20260506-magic-greedy-caterpillar-ea5ad8@quoll> References: <20260506-msm8939-venus-rfc-v4-0-994f5eb22acb@gmail.com> <20260506-msm8939-venus-rfc-v4-1-994f5eb22acb@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20260506-msm8939-venus-rfc-v4-1-994f5eb22acb@gmail.com> On Wed, May 06, 2026 at 12:44:38AM +0300, Erikas Bitovtas wrote: > From: Andr=C3=A9 Apitzsch >=20 > Add a schema description for the Venus video decoder/encoder IP in > MSM8939. >=20 > Signed-off-by: Andr=C3=A9 Apitzsch > Signed-off-by: Erikas Bitovtas > --- > .../bindings/media/qcom,msm8939-venus.yaml | 75 ++++++++++++++++= ++++++ > 1 file changed, 75 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/media/qcom,msm8939-venus.y= aml b/Documentation/devicetree/bindings/media/qcom,msm8939-venus.yaml > new file mode 100644 > index 000000000000..5bbc7cfb61c0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/qcom,msm8939-venus.yaml > @@ -0,0 +1,75 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/qcom,msm8939-venus.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Qualcomm MSM8939 Venus video encode and decode accelerators > + > +maintainers: > + - Andr=C3=A9 Apitzsch > + - Erikas Bitovtas > + > +description: | Do not need '|' unless you need to preserve formatting. > + The Venus IP is a video encode and decode accelerator present > + on Qualcomm platforms > + > +allOf: > + - $ref: qcom,venus-common.yaml# > + > +properties: > + compatible: > + const: qcom,msm8939-venus > + > + power-domains: > + maxItems: 3 > + > + power-domain-names: > + items: > + - const: venus > + - const: core0 vcodec0 > + - const: core1 vcodec1 > + > + clocks: > + maxItems: 5 > + > + clock-names: > + items: > + - const: core > + - const: iface > + - const: bus > + - const: core0 vcodec0_core > + - const: core1 vcodec1_core To match other bindings. > + > + iommus: > + maxItems: 1 > + > +required: > + - compatible > + - iommus > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + > + video-codec@1d00000 { > + compatible =3D "qcom,msm8939-venus"; > + reg =3D <0x01d00000 0xff000>; > + interrupts =3D ; > + clocks =3D <&gcc GCC_VENUS0_VCODEC0_CLK>, > + <&gcc GCC_VENUS0_AHB_CLK>, > + <&gcc GCC_VENUS0_AXI_CLK>, > + <&gcc GCC_VENUS0_CORE0_VCODEC0_CLK>, > + <&gcc GCC_VENUS0_CORE1_VCODEC0_CLK>; > + clock-names =3D "core", "iface", "bus", "core0", "core1"; > + power-domains =3D <&gcc VENUS_GDSC>, > + <&gcc VENUS_CORE0_GDSC>, > + <&gcc VENUS_CORE1_GDSC>; > + power-domain-names =3D "venus", "core0", "core1"; > + iommus =3D <&apps_iommu 5>; > + memory-region =3D <&venus_mem>; > + status =3D "disabled"; Examples cannot be disabled. Please add here complete example. Best regards, Krzysztof