From patchwork Thu Dec 21 08:47:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugues Fruchet X-Patchwork-Id: 182056 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp273839dyi; Thu, 21 Dec 2023 00:49:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IFA9RTNJcNFWR0rB0TE3ab/pKtNXi2M1XH196l9inzIp9JBMgWCyEjZ4dgG5xhedMcoKxIm X-Received: by 2002:a05:622a:409:b0:425:4043:29cf with SMTP id n9-20020a05622a040900b00425404329cfmr24477768qtx.74.1703148587677; Thu, 21 Dec 2023 00:49:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703148587; cv=none; d=google.com; s=arc-20160816; b=VGIfuLr7OFB+ghViMRSM8xpBebwZiCwFFMzgkb/lEc2peemkkPZT4YnJF797u/4lNJ wQFFBY5b7meocSk/hoBhPNKovR9QLlPcYlZwBBQb8tycZH3Y+8KaYsqUv9lfsZsWIzqs WrFJhE4/B8op9JUO+JadvFCWUisEgONgbX1GDAsaiBYuyo0qxNIhG/FCGiVe8B7+7DMN wz0YnfnaRiX+RrCN3C6olHDBSJax56kBVDN2aXO5SjzH7YShvOk+tp2Gw/jIh4aXzSRL Lok1yUz1P3lKWa2T0vXOjC3B50+L1eigtaR7SBL3s7VqwzS2aKW7BR7pBBSrDj0IQv8C /hlQ== 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=sr+3zBBOyZ1rB6MCRzn+XuV35G6DJ6CNLI/Iw1vfcPM=; fh=ErwLDw9+98Mb4Q3i5RoHr7UOS7Ns3CK5YbB+qheGbUs=; b=Es+zJULQsqmzsnE0Qi6PJnzOmMf5ML/BL71cNUoIi10ycCZKXoFHcT3sD2x9qdvKkr 0P4qW2hebDSUcNI4BxyyujFLyM453YmkVl0nJ3QZIJZf6wIf/0n6p7+FfICWxxbWBYhu 6U9kXra8V6J0lY0BPPC/FIZ3geLkHNDS3pabacMklygTHIcCuVMlvTErghbFJU7Xv4XI +BPKiSNGojMzZWXs3UlC2mrVqKDm3ks1WSK9l83LR21NRW0xJ1/7jGmwr6rl2BUWw3MM iDW92YJghToEJ19C88r7IuBpGIE3MtKDQkDOEKCIPeTYCZ+IlU3xWh71VE0CmFhmQL96 eEKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Oc9TxNIe; spf=pass (google.com: domain of linux-kernel+bounces-8016-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8016-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. [147.75.199.223]) by mx.google.com with ESMTPS id v4-20020a05622a014400b004260da73b1asi1751442qtw.143.2023.12.21.00.49.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 00:49:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8016-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=Oc9TxNIe; spf=pass (google.com: domain of linux-kernel+bounces-8016-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8016-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 A66721C2370B for ; Thu, 21 Dec 2023 08:49:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E5581A591; Thu, 21 Dec 2023 08:48:17 +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="Oc9TxNIe" X-Original-To: linux-kernel@vger.kernel.org Received: from mx08-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 F23D21A712; Thu, 21 Dec 2023 08:48:11 +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 (m0369457.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3BL61MJ1025763; Thu, 21 Dec 2023 09:47:28 +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=sr+3zBBOyZ1rB6MCRzn+XuV35G6DJ6CNLI/Iw1vfcPM=; b=Oc 9TxNIeC4As88pJQ2xNRND83z4uh/b0FsmgM4bp9JbWBvvYCfOT/HFV5nGof3Fgxr tXnnN0SaCe4g1NDCiEDP8l9f9NHalEpTLZk3nw/PncZDGqSCJcrkxUz4lfMEYaxL e102eFSKxCbtFaGN8iwfSA/9u2KrtXiVkfieNNigGKKu+Z1QQ1y4qchNIttQm6Tr r6cK1CHDEq4WoSUvS74CvOuF/BMzycIrTdL/QcwHKS5rt1LGoPQh22VGNcUGEt+I NEV2Q84edIpI49+tbv+58uuQhsIXVa6sSLApHsNbnndno5G3ESHIFd9PfLHTXxtI /O2wXx+lgFcwU5Oqtp4A== 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 3v3q80yc66-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Dec 2023 09:47:28 +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 588E510005F; Thu, 21 Dec 2023 09:47:26 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 4CA7722A6D8; Thu, 21 Dec 2023 09:47:26 +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; Thu, 21 Dec 2023 09:47:26 +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: [PATCH v5 1/5] dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs Date: Thu, 21 Dec 2023 09:47:19 +0100 Message-ID: <20231221084723.2152034-2-hugues.fruchet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231221084723.2152034-1-hugues.fruchet@foss.st.com> References: <20231221084723.2152034-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: EQNCAS1NODE3.st.com (10.75.129.80) 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=2023-12-21_04,2023-12-20_01,2023-05-22_02 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785880733676631652 X-GMAIL-MSGID: 1785880733676631652 Add STM32MP25 VDEC video decoder & VENC video encoder bindings. Signed-off-by: Hugues Fruchet Reviewed-by: Krzysztof Kozlowski --- .../media/st,stm32mp25-video-codec.yaml | 50 +++++++++++++++++++ 1 file changed, 50 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..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 + +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>; + };