Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp425001rdb; Wed, 20 Dec 2023 00:48:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IENV0EIjHn1Jf+KWtdN4HbKoKnXE0h8lt09Lo+5I78fjNUVdnO+nzT3nVfr41Z9Iu422JA4 X-Received: by 2002:a05:6870:bb0a:b0:1fb:75a:6d18 with SMTP id nw10-20020a056870bb0a00b001fb075a6d18mr22269697oab.63.1703062116476; Wed, 20 Dec 2023 00:48:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703062116; cv=none; d=google.com; s=arc-20160816; b=qow7qnxx7fteeJ7F7c+xLO/zKOfQXgv5u4fnstPfO2igafAZXVzExpsU4y87hShzIR buVYZyhPNo5xLZZ34SXEpYUpLtsi40L3yePmJ3li2ZSelPrRhFjfGetKj8yvOpjfsXP3 uolm3lkDWrn0BprG4IC/bI5QCNG8wxBFj6HFRueRw/BkM6un/XsYYuXTmQ6LqdABwf6e xiH1UVvf03mLFOJN9A+YwHCf8Uu5NL7mElE1k3sLQQ+JX5/a4ak+8SyK1T5Hm6NJCvqb v3ByZwkLjZBT02rXmT7JMFBGm6sEImIjTY5GUILjPCT0vWyLtxtgwz5cTAdC2YvCm1tI Yqpw== 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=rZnOd4B42mvOQV94ATE0h5sN4ykaBRfj670cFTU+G9/orh2LQz/39tdAJPGaBtkSHB CUYQ2hux9M1vIjYh/6oT1MxpFIijoig0uF8cEdbU/On13CyW0XRNDI9jbQcoG4/rp+7L OP48+y1Rxv62e1CluPdMbb1sWSUdt3bCaV6uxa2ozXUud1RgxPKzxOcakDu1xt/XdiiS sWAzaDrG7Jjf7i6aVghQI8n8pUFhCM4mtF/iUoJTqbAPgq5Yc3CHcjBp+zw+J1QBnAh5 IaSLO5xR3tsETTtUkqHc3gOb9yDXnGWsa9fJAPegR/gWhR0hTLNNJgKfrCUfNtysfpP0 wBwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=2Z3PhHjk; spf=pass (google.com: domain of linux-kernel+bounces-6599-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6599-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h131-20020a636c89000000b005bd65d48d20si21437080pgc.560.2023.12.20.00.48.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 00:48:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6599-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=2Z3PhHjk; spf=pass (google.com: domain of linux-kernel+bounces-6599-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6599-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 209BB288DB8 for ; Wed, 20 Dec 2023 08:48:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B52D20326; Wed, 20 Dec 2023 08:47:32 +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="2Z3PhHjk" X-Original-To: linux-kernel@vger.kernel.org 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 5B0841CFB2; Wed, 20 Dec 2023 08:47:27 +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 (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BK8ZTqV029359; Wed, 20 Dec 2023 09:46:46 +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=2Z 3PhHjkANiNdjpAYsU2h6u8giiOGeLXIwagpHjincrbd8hns7hsqvg/1EpSk0k2vO fVNPHwWyNIqgw8+nNAiAgMhp9jTnxIzlADP6ZF+jVwE03Z+Ca4c+FAP0BOHU4wET TLgq71Yf19le5d5T8fyyuQeamzHd6djRs1S4lHmX2xVzgAeQR/shxVzVatBomnem cD7w3Ygs8ksXdglkKQKImqP4B9+wIKRnDesU+sIz+2Gq863FUfe8OLh6RLcLpNMi CEUecIPnF5AbmIF1HqTz9H9jQ12xC6qRujNL6g/BfC7EPx8u8KqhpxsZWEry7VL7 bX1N8WQcO0UR+q3j9kRA== 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 3v11w901xc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 09:46:46 +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 130B8100059; Wed, 20 Dec 2023 09:46:46 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 0990B20A76D; Wed, 20 Dec 2023 09:46:46 +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, 20 Dec 2023 09:46:45 +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 v3 1/5] dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs Date: Wed, 20 Dec 2023 09:46:37 +0100 Message-ID: <20231220084641.2076428-2-hugues.fruchet@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231220084641.2076428-1-hugues.fruchet@foss.st.com> References: <20231220084641.2076428-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: 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-20_02,2023-12-14_01,2023-05-22_02 Add STM32MP25 VDEC video decoder & VENC video encoder bindings. Signed-off-by: Hugues Fruchet --- .../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>; + }; -- 2.25.1