From patchwork Wed Jan 10 10:46:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugues Fruchet X-Patchwork-Id: 186783 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp708596dyi; Wed, 10 Jan 2024 02:49:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IEv9tWioA0iM6ekMPtlOfcJfUWMq92yK5AfY5JU6iAEac3qTE1L9t/2Q/69A7p/I0c1lBwo X-Received: by 2002:ac8:7e84:0:b0:427:905f:94dc with SMTP id w4-20020ac87e84000000b00427905f94dcmr1200698qtj.131.1704883750809; Wed, 10 Jan 2024 02:49:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704883750; cv=none; d=google.com; s=arc-20160816; b=hsFcZWWddv3bq7YB8er5NS4+uQE2NNyQ9/Z8qr9ktwCnT4eU/YTeefxwcSIZ7fQAnp m8hgVsBxt3QNPiI0ZZtf8oRpZPXEXIp9ATlcPRkIhpt9u/lh/6p9TOLFya0VZcKkTaY5 K3/3Z63QTZoEG6uKBdzJiLwLDka9OIT7pkMf18S8jGWueQpasy/68mVx5SsEersh3/bD yjuXxQtQmaVE9TpnQNyzPvAS6ErZgyzk8jnKqcVIxnc5H3irI0qvmkAglUC4jHsCnTOv l+0bNXLJCD4aLYplQrOC/ib/7XsZIjqFmvoBNuvGu0pE5lQ2b7aNM9Nk6ojKuDX6fZz4 qgAg== 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22012-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id g22-20020ac87d16000000b004283bbb0cd7si4046305qtb.100.2024.01.10.02.49.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 02:49:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22012-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22012-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 97AF31C21D09 for ; Wed, 10 Jan 2024 10:49:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E938C47F7D; Wed, 10 Jan 2024 10:47:50 +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 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: 1787700183945173513 X-GMAIL-MSGID: 1787700183945173513 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>; + };