Message ID | 20240109085155.252358-2-hugues.fruchet@foss.st.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-20619-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp1522004dyq; Tue, 9 Jan 2024 00:53:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgkgL+NKsBNkawbl4U030xzA76YT/onuBn6IX17XWaC2psKfgKQlIZCKbEq/cNuQvLquYs X-Received: by 2002:a50:8715:0:b0:558:15c3:44a6 with SMTP id i21-20020a508715000000b0055815c344a6mr188640edb.31.1704790430012; Tue, 09 Jan 2024 00:53:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704790429; cv=none; d=google.com; s=arc-20160816; b=xoaPY6NLahDeAhuM1M40AppPMdCRV5aYFvA01wv/lE/BWO0xAsBscS3mt3sHPIgO30 SyNm4vF/eTQjc3SK2wBfpKeHhIAAqyoynZ479OVZ3FLPL/o1PJ7rw/NJ8L7FGDbfN3hX HE3dl5ZmvkYOdO9+wH0m1vHansTFx5GU1GEqVEqYZfVrcsyGq/SdfjPo74u3mnvmWXVy LOq5E7kyytCVn0VR+GIc2vbMJqHPHXubjG9TtTdl26PQ83j4K1PDNfTgEZ1TXnuo1qFQ 9d5xXNq8Z34fh5Z6fjU/OO3Lr1NNh/kD8HFBFeqNQJnpPykMDskSu7/4gYYvjoozfH+Q WWpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=5Oo8wwDF2ot9543kBHex9kqdtoI0Sa/P3KlWaqM2WfM=; fh=d3+8QaZL5Q12BYNNjvgOop8BJQqBBykIHDvrQ47QtiM=; b=GJ1ZD6cLiJQUAPM8oa5LcE+XkQ2MrbiPJsfBoj31hCGrDFektJJBwa0Q1DbypGP2JI TOqzsswOzJmOazJK28j+MrVJ42PxpcPev5FuS1Y0W8iPBrw/4N/vtBhfv/4G/e4vnd9d QhEOtMA7BTm/c559HNTKlGrWV/oEQRI8KGH9NSs74yftvVVdkkydPBN+9CNnU+ZuirdF gOh7I/N8MEh/oC7XFz8dNsWjpRc8fuM7f6Rgd3GMh1n4otGeIrhp3+L3obk+muADYZnZ MPaTa9YjDjtkEzvVJkIBwyk93HTb6i7vvDc+cgIWNsB2OxIMdj1YdiX0BaoetA7fvidB GFrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=EzGvmRZ2; spf=pass (google.com: domain of linux-kernel+bounces-20619-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20619-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cn20-20020a0564020cb400b0054cba06cd8esi573871edb.542.2024.01.09.00.53.49 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 00:53:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20619-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=EzGvmRZ2; spf=pass (google.com: domain of linux-kernel+bounces-20619-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20619-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9B0E81F2595D for <ouuuleilei@gmail.com>; Tue, 9 Jan 2024 08:53:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85742364B3; Tue, 9 Jan 2024 08:52:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="EzGvmRZ2" Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) (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 AF34A2E634; Tue, 9 Jan 2024 08:52:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4091jq4w024217; Tue, 9 Jan 2024 09:52:03 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=5Oo8wwDF2ot9543kBHex9kqdtoI0Sa/P3KlWaqM2WfM=; b=Ez GvmRZ2U6sXI42Rh25eXsB00p7BAqhlq4RllDTlNQG5zeviNIXU5rYGqqQzp5Ev19 f2lKWDzziB2yVfrLfc3bO4glDPWcqbblGJI78e3C/d+v5dlARr3//qWO7b3bzUU2 lEH0MJAD6/KF0f/IAid9+us8+cjfSHLHIxXaaWrFJwMYbalBN1fa9aQ8EsfuRP9/ /Npd2N9VP4kfz01YR9HVBE7UupJ8FjjOU5znofphGWWMEwT1VIH+AFpBterrGhDO KDrsU92pjJG4G8PVNsmm/d4nWZ00wpwm99mHftWZIbw6AptdeSAeR5Uu79af8AbQ c70AyS/f9bcT/LjJ3MVw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3vfha4ghaq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Jan 2024 09:52:03 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B3DFC100049; Tue, 9 Jan 2024 09:52:00 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A875722FA49; Tue, 9 Jan 2024 09:52:00 +0100 (CET) Received: from localhost (10.201.20.120) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 9 Jan 2024 09:52:00 +0100 From: Hugues Fruchet <hugues.fruchet@foss.st.com> To: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>, Philipp Zabel <p.zabel@pengutronix.de>, Andrzej Pietrasiewicz <andrzej.p@collabora.com>, Nicolas Dufresne <nicolas.dufresne@collabora.com>, Sakari Ailus <sakari.ailus@linux.intel.com>, Benjamin Gaignard <benjamin.gaignard@collabora.com>, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, Daniel Almeida <daniel.almeida@collabora.com>, Benjamin Mugnier <benjamin.mugnier@foss.st.com>, Heiko Stuebner <heiko@sntech.de>, Mauro Carvalho Chehab <mchehab@kernel.org>, Hans Verkuil <hverkuil@xs4all.nl>, <linux-media@vger.kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-rockchip@lists.infradead.org> CC: Hugues Fruchet <hugues.fruchet@foss.st.com>, Marco Felsch <m.felsch@pengutronix.de>, Adam Ford <aford173@gmail.com> Subject: [PATCH v6 1/5] dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs Date: Tue, 9 Jan 2024 09:51:51 +0100 Message-ID: <20240109085155.252358-2-hugues.fruchet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240109085155.252358-1-hugues.fruchet@foss.st.com> References: <20240109085155.252358-1-hugues.fruchet@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-05_08,2024-01-05_01,2023-05-22_02 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787602329791671751 X-GMAIL-MSGID: 1787602329791671751 |
Series |
Add support for video hardware codec of STMicroelectronics STM32 SoC series
|
|
Commit Message
Hugues Fruchet
Jan. 9, 2024, 8:51 a.m. UTC
Add STM32MP25 VDEC video decoder & VENC video encoder bindings. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com> --- .../media/st,stm32mp25-video-codec.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml
Comments
On 09/01/2024 09:51, Hugues Fruchet wrote: > Add STM32MP25 VDEC video decoder & VENC video encoder bindings. > > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com> Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. You missed at least devicetree list (maybe more), so this won't be tested by automated tooling. Please kindly resend and include all necessary To/Cc entries. While resending drop redundant blank line after SPDX. See all other bindings and example-schema. Best regards, Krzysztof
Hi Krzysztof, On 1/9/24 22:49, Krzysztof Kozlowski wrote: > On 09/01/2024 09:51, Hugues Fruchet wrote: >> Add STM32MP25 VDEC video decoder & VENC video encoder bindings. >> >> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com> > > Please use scripts/get_maintainers.pl to get a list of necessary people > and lists to CC. It might happen, that command when run on an older > kernel, gives you outdated entries. Therefore please be sure you base > your patches on recent Linux kernel. > > You missed at least devicetree list (maybe more), so this won't be > tested by automated tooling. > > Please kindly resend and include all necessary To/Cc entries. My fault when sending this exact v6, sorry for that.. It was done the right way for previous versions and no issues raised by automated tools. > > While resending drop redundant blank line after SPDX. See all other > bindings and example-schema. I have double checked and I don't see any problem related to redundant blank lines in yaml after SPDX: +++ b/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) + +%YAML 1.2 Could you point me out what is the exact issue ? > > Best regards, > Krzysztof >
On 10/01/2024 10:15, Hugues FRUCHET wrote: >> You missed at least devicetree list (maybe more), so this won't be >> tested by automated tooling. >> >> Please kindly resend and include all necessary To/Cc entries. > > My fault when sending this exact v6, sorry for that.. It was done the > right way for previous versions and no issues raised by automated tools. > >> >> While resending drop redundant blank line after SPDX. See all other >> bindings and example-schema. > I have double checked and I don't see any problem related to redundant > blank lines in yaml after SPDX: I wonder how did you check worked... Open existing other file, open your file. Look at yours. Then look at others. Then again look at yours. > > +++ b/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml > @@ -0,0 +1,50 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > + > +%YAML 1.2 > > Could you point me out what is the exact issue ? You have a redundant blank line after SPDX. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml b/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml new file mode 100644 index 000000000000..e167e3b1bec3 --- /dev/null +++ b/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/st,stm32mp25-video-codec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32MP25 VDEC video decoder & VENC video encoder + +maintainers: + - Hugues Fruchet <hugues.fruchet@foss.st.com> + +description: + The STMicroelectronics STM32MP25 SOCs embeds a VDEC video hardware + decoder peripheral based on Verisilicon VC8000NanoD IP (former Hantro G1) + and a VENC video hardware encoder peripheral based on Verisilicon + VC8000NanoE IP (former Hantro H1). + +properties: + compatible: + enum: + - st,stm32mp25-vdec + - st,stm32mp25-venc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + video-codec@580d0000 { + compatible = "st,stm32mp25-vdec"; + reg = <0x580d0000 0x3c8>; + interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ck_icn_p_vdec>; + };