Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp902647rdd; Wed, 10 Jan 2024 03:07:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHG2EpFK4xGG/XzL5X+EpVx138ZKHraTusYLAnpl7cHqx6+fQwjjEMB1sT5qjnnytUgBDDa X-Received: by 2002:a05:6a21:78a2:b0:199:e678:281e with SMTP id bf34-20020a056a2178a200b00199e678281emr862902pzc.68.1704884855932; Wed, 10 Jan 2024 03:07:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704884855; cv=none; d=google.com; s=arc-20160816; b=ahnPRT8h2TbPVMf1Igi8VGZvLSVgnneRCLRYtCJYkTlfYa70j0b4hYFCX0WPrKf70f MsM9PnQ2UaVrWiS6wKQUhIataYJch4T9P8aA3EOE6+SRFilFuYHPre2PiDzZuq/7Q3F3 3vbT61SObZfNKtrV0bSFiDTfDy+FUsnHF/t/nOWsjTOGaLc9NWShrOd0m7vJbZ/yNWQi iaBEOdjmyBJnYsev9pvKYPp6TwYFR73quJiuHUjpDxwtUXYbb+zqJ7Nbiij6IlbeU9vi RIFepilIEdafpH71jxmtnMWPnTjXUezBmhhjIpuSU5rjD7imqqVA3TWGk/g98VTkLzIK DLlw== 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=YCw/3MDKLDz0ZsSrMiC21pWq+WlX/C/+Vvkhn43lg8M=; fh=ErwLDw9+98Mb4Q3i5RoHr7UOS7Ns3CK5YbB+qheGbUs=; b=iG0QlNv63fFEXiP60159QUcl75k/tKQ+UOKHhfQCBggdXWs9uhHyLycK68gwU9VKzF XJrZC0xxsnMxkiQqBvYQT16lW6XVrso1HrZmO3EdRVdzBQr4poLQTK/qmnw3uoTSqfjY QYaC4ixFy3OGbhHJivSlt+GYEt0FvcLBuL2CcI1wjLXWNr0+aDpQwT5BbvrmdLu/lDFn WIQKmmNLgWoi49wEAp1wYujnWLsjY0ybmoPzKm2Xggz/Y5CKVSGYqzNJHKRugZfpQhC4 QfPHhAAWh5BP1ElK8j6lpsw6iQ7A42lgfh4A3tAs5t1fSTGa/PfZH6HQEbOSggmlEtri oMEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=u+uxAaae; spf=pass (google.com: domain of linux-kernel+bounces-22012-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22012-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id cz5-20020a17090ad44500b0028c361ad251si565380pjb.1.2024.01.10.03.07.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 03:07:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22012-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=u+uxAaae; spf=pass (google.com: domain of linux-kernel+bounces-22012-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22012-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 64E1F28C565 for ; Wed, 10 Jan 2024 10:48:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F203C47A70; Wed, 10 Jan 2024 10:47:48 +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="u+uxAaae" Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (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 627154779A; Wed, 10 Jan 2024 10:47:45 +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 (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40A9dkwb009461; Wed, 10 Jan 2024 11:47:02 +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=YCw/3MDKLDz0ZsSrMiC21pWq+WlX/C/+Vvkhn43lg8M=; b=u+ uxAaaeSNosoyfNxsDdcAp5jgXA+wMnVER+I+kmMRX6bfXaoeo1DWjCmYmbyPdBeZ ro8ysFs6bl9WsmOVQm/x13BeNGs+XTHghTI1l+zEZ62DbDA5+Fq0s7NZQsx6jQj3 f97pmIsbWrc4oFciJn9q/PRK4/IczNWHp1KykyAzJaFANGXPbQiM+X3K0YQojLcS /qJTPHmjGi5WgINjHR/P1paYoPXLbdqbuXnSiv+aMJe7iP6ncT15djRnn/yVmUJd vSFT0V/ulcz9GJRSP3wy0E+kmOiij131x7mu5KVtlgPsCo/WhvyIZwWBgaHc32hP yEO5LbsdO8LILKv4XxFQ== 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 3vexmffv3v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 11:47:02 +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 9E5C110004A; Wed, 10 Jan 2024 11:47:01 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 9023426C048; Wed, 10 Jan 2024 11:47:01 +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; Wed, 10 Jan 2024 11:47:01 +0100 From: Hugues Fruchet To: Ezequiel Garcia , Philipp Zabel , Andrzej Pietrasiewicz , Nicolas Dufresne , Sakari Ailus , Benjamin Gaignard , Laurent Pinchart , Daniel Almeida , Benjamin Mugnier , Heiko Stuebner , Mauro Carvalho Chehab , Hans Verkuil , , Maxime Coquelin , Alexandre Torgue , , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , CC: Hugues Fruchet , Marco Felsch , Adam Ford Subject: [RESEND PATCH v6 1/5] dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs Date: Wed, 10 Jan 2024 11:46:38 +0100 Message-ID: <20240110104642.532011-2-hugues.fruchet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240110104642.532011-1-hugues.fruchet@foss.st.com> References: <20240110104642.532011-1-hugues.fruchet@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 Add STM32MP25 VDEC video decoder & VENC video encoder bindings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Hugues Fruchet --- .../media/st,stm32mp25-video-codec.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml 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..b8611bc8756c --- /dev/null +++ b/Documentation/devicetree/bindings/media/st,stm32mp25-video-codec.yaml @@ -0,0 +1,49 @@ +# 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 + +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 + video-codec@580d0000 { + compatible = "st,stm32mp25-vdec"; + reg = <0x580d0000 0x3c8>; + interrupts = ; + clocks = <&ck_icn_p_vdec>; + }; -- 2.25.1